diff mbox series

[4/4] ARM: dts: qcom: msm8974-klte: Mark essential regulators

Message ID 20210124135610.1779295-4-iskren.chernev@gmail.com (mailing list archive)
State Superseded
Headers show
Series [1/4] ARM: dts: qcom: msm8974: add gpu support | expand

Commit Message

Iskren Chernev Jan. 24, 2021, 1:56 p.m. UTC
s1 and l12 regulators are used for the memory and cache on the Samsung
S5 (klte). If they are turned off the phone shuts down. So mark them as
always-on to prevent that from happening.

Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com>
Tested-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
---
 arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts | 2 ++
 1 file changed, 2 insertions(+)

Comments

Konrad Dybcio Jan. 24, 2021, 3:14 p.m. UTC | #1
On 24.01.2021 14:56, Iskren Chernev wrote:
> s1 and l12 regulators are used for the memory and cache on the Samsung
> S5 (klte). If they are turned off the phone shuts down. So mark them as
> always-on to prevent that from happening.
>
> Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com>
> Tested-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
> ---
>  arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts
> index 19c96b47a5dbd..27323403aa71d 100644
> --- a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts
> +++ b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts
> @@ -30,6 +30,7 @@ pma8084-regulators {
>  					pma8084_s1: s1 {
>  						regulator-min-microvolt = <675000>;
>  						regulator-max-microvolt = <1050000>;
> +						regulator-always-on;
>  					};
>  
>  					pma8084_s2: s2 {
> @@ -115,6 +116,7 @@ pma8084_l11: l11 {
>  					pma8084_l12: l12 {
>  						regulator-min-microvolt = <1800000>;
>  						regulator-max-microvolt = <1800000>;
> +						regulator-always-on;
>  					};
>  
>  					pma8084_l13: l13 {


Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>


Konrad
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts
index 19c96b47a5dbd..27323403aa71d 100644
--- a/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts
+++ b/arch/arm/boot/dts/qcom-msm8974-samsung-klte.dts
@@ -30,6 +30,7 @@  pma8084-regulators {
 					pma8084_s1: s1 {
 						regulator-min-microvolt = <675000>;
 						regulator-max-microvolt = <1050000>;
+						regulator-always-on;
 					};
 
 					pma8084_s2: s2 {
@@ -115,6 +116,7 @@  pma8084_l11: l11 {
 					pma8084_l12: l12 {
 						regulator-min-microvolt = <1800000>;
 						regulator-max-microvolt = <1800000>;
+						regulator-always-on;
 					};
 
 					pma8084_l13: l13 {