Skip to content

Commit

Permalink
arm64: dts: exynos: Correct psci compatible used on Exynos7
Browse files Browse the repository at this point in the history
It's not possible to reboot or poweroff Exynos7420 using PSCI. Instead
we need to use syscon reboot/poweroff drivers, like it's done for other
Exynos SoCs. This was confirmed by checking vendor source and testing it
on Samsung Galaxy S6 device based on this SoC.

To be able to use custom restart/poweroff handlers instead of PSCI
functions, we need to correct psci compatible. This also requires us to
provide function ids for CPU_ON and CPU_OFF.

Fixes: fb026cb ("arm64: dts: Add reboot node for exynos7")
Fixes: b9024cb ("arm64: dts: Add initial device tree support for exynos7")
Signed-off-by: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Link: https://lore.kernel.org/r/20201107133926.37187-2-pawel.mikolaj.chmiel@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
  • Loading branch information
PabloPL authored and krzk committed Nov 8, 2020
1 parent 73bc751 commit e1e47fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/arm64/boot/dts/exynos/exynos7.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,10 @@
};

psci {
compatible = "arm,psci-0.2";
compatible = "arm,psci";
method = "smc";
cpu_off = <0x84000002>;
cpu_on = <0xC4000003>;
};

soc: soc@0 {
Expand Down

0 comments on commit e1e47fb

Please sign in to comment.