From 6c074a4b4ce981ae8a2b4034c6b60b5d436ddbcc Mon Sep 17 00:00:00 2001 From: Xubin Bai Date: Fri, 25 Aug 2023 21:11:16 -0700 Subject: [PATCH] ARM: dts: qcom: keep VDD_MMCX and VDD_MXC supplies always on for Sun RUMI Set regulator-always-on for VDD_MMCX and VDD_MXC on Sun RUMI. This ensures that clock controller register values are maintained since RUMI isn't simulating register retention across VDD_MMCX or VDD_MXC power collapse. Change-Id: I5adaa243066df64f6f04f569a05eb124734d7611 Signed-off-by: Xubin Bai --- qcom/sun-rumi.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/qcom/sun-rumi.dtsi b/qcom/sun-rumi.dtsi index 38c5d921..eab0c658 100644 --- a/qcom/sun-rumi.dtsi +++ b/qcom/sun-rumi.dtsi @@ -5,6 +5,7 @@ #include #include +#include &reserved_memory { spintable: spintable_region@90000000 { @@ -122,3 +123,12 @@ resets = <&gcc GCC_SDCC2_BCR>; reset-names = "core_reset"; }; + +&VDD_MMCX_LEVEL { + regulator-always-on; +}; + +&VDD_MXC_LEVEL { + regulator-always-on; + regulator-min-microvolt = ; +};