[4/8] arm64: dts: qcom: msm8939-sony-tulip: Allow disabling pm8916_l6

Message ID 20230530-msm8939-regulators-v1-4-a3c3ac833567@gerhold.net
State New
Headers
Series arm64: dts: qcom: msm8939: Rework regulator constraints |

Commit Message

Stephan Gerhold June 14, 2023, 7:16 a.m. UTC
  The vendor kernel from Sony does not have regulator-always-on for
pm8916_l6, so we should be able to disable it when setting up the
display properly. Since sony-tulip does not have display set up
currently it should be fine to let the regulator disable until then.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
---
 arch/arm64/boot/dts/qcom/msm8939-sony-xperia-kanuti-tulip.dts | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Bryan O'Donoghue June 14, 2023, 12:26 p.m. UTC | #1
On 14/06/2023 08:16, Stephan Gerhold wrote:
> The vendor kernel from Sony does not have regulator-always-on for
> pm8916_l6, so we should be able to disable it when setting up the
> display properly. Since sony-tulip does not have display set up
> currently it should be fine to let the regulator disable until then.
> 
> Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
> ---
>   arch/arm64/boot/dts/qcom/msm8939-sony-xperia-kanuti-tulip.dts | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/msm8939-sony-xperia-kanuti-tulip.dts b/arch/arm64/boot/dts/qcom/msm8939-sony-xperia-kanuti-tulip.dts
> index dc5b8cd5b9f4..509abcdad287 100644
> --- a/arch/arm64/boot/dts/qcom/msm8939-sony-xperia-kanuti-tulip.dts
> +++ b/arch/arm64/boot/dts/qcom/msm8939-sony-xperia-kanuti-tulip.dts
> @@ -91,7 +91,6 @@ pm8916_l5: l5 {
>   	pm8916_l6: l6 {
>   		regulator-min-microvolt = <1800000>;
>   		regulator-max-microvolt = <1800000>;
> -		regulator-always-on;
>   	};
>   
>   	pm8916_l7: l7 {
> 

Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
  

Patch

diff --git a/arch/arm64/boot/dts/qcom/msm8939-sony-xperia-kanuti-tulip.dts b/arch/arm64/boot/dts/qcom/msm8939-sony-xperia-kanuti-tulip.dts
index dc5b8cd5b9f4..509abcdad287 100644
--- a/arch/arm64/boot/dts/qcom/msm8939-sony-xperia-kanuti-tulip.dts
+++ b/arch/arm64/boot/dts/qcom/msm8939-sony-xperia-kanuti-tulip.dts
@@ -91,7 +91,6 @@  pm8916_l5: l5 {
 	pm8916_l6: l6 {
 		regulator-min-microvolt = <1800000>;
 		regulator-max-microvolt = <1800000>;
-		regulator-always-on;
 	};
 
 	pm8916_l7: l7 {