Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76e915e7 authored by Paweł Chmiel's avatar Paweł Chmiel Committed by Greg Kroah-Hartman
Browse files

arm64: dts: exynos: Correct psci compatible used on Exynos7



[ Upstream commit e1e47fbca668507a81bb388fcae044b89d112ecc ]

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: fb026cb6 ("arm64: dts: Add reboot node for exynos7")
Fixes: b9024cbc ("arm64: dts: Add initial device tree support for exynos7")
Signed-off-by: default avatarPaweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Link: https://lore.kernel.org/r/20201107133926.37187-2-pawel.mikolaj.chmiel@gmail.com


Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 97249e6e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -65,8 +65,10 @@
	};

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

	soc: soc {