mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 03:01:41 +02:00
arm64: dts: exynos850: Add syscon-poweroff node
Without poweroff node Exynos850-based board continue to draw current (around ~60 mA with my test setup) after poweroff. Kernel also reports different lockup problems and RCU stalls warnings continuosly after last kernel messages about hardware being switched off. Turns out we missed a write to PMU's PS_HOLD_CONTROL (PMU + 0x30c) register that actually switches the SoC off. Add poweroff node that implements this. With this change the current draw after power off is in range of few milliampers and lockup messages are no more. Signed-off-by: Alexey Klimov <alexey.klimov@linaro.org> Link: https://patch.msgid.link/20260325-exynos850-poweroff-v1-1-34c19c06e74d@linaro.org Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
This commit is contained in:
parent
254f49634e
commit
47d4dc9018
|
|
@ -215,6 +215,13 @@ pmu_system_controller: system-controller@11860000 {
|
|||
compatible = "samsung,exynos850-pmu", "syscon";
|
||||
reg = <0x11860000 0x10000>;
|
||||
|
||||
poweroff: syscon-poweroff {
|
||||
compatible = "syscon-poweroff";
|
||||
offset = <0x30c>; /* PS_HOLD_CONTROL */
|
||||
mask = <0x00000100>;
|
||||
value = <0x0>;
|
||||
};
|
||||
|
||||
reboot: syscon-reboot {
|
||||
compatible = "syscon-reboot";
|
||||
regmap = <&pmu_system_controller>;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user