arm64: dts: qcom: Add missing vio-supply for AW2013
authorStephan Gerhold <stephan@gerhold.net>
Mon, 4 Dec 2023 09:46:11 +0000 (10:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Feb 2024 00:18:53 +0000 (16:18 -0800)
commit cc1ec484f2d0f464ad11b56fe3de2589c23f73ec upstream.

Add the missing vio-supply to all usages of the AW2013 LED controller
to ensure that the regulator needed for pull-up of the interrupt and
I2C lines is really turned on. While this seems to have worked fine so
far some of these regulators are not guaranteed to be always-on. For
example, pm8916_l6 is typically turned off together with the display
if there aren't any other devices (e.g. sensors) keeping it always-on.

Cc: stable@vger.kernel.org # 6.6
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20231204-qcom-aw2013-vio-v1-1-5d264bb5c0b2@gerhold.net
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/qcom/msm8916-longcheer-l8150.dts
arch/arm64/boot/dts/qcom/msm8916-wingtech-wt88047.dts
arch/arm64/boot/dts/qcom/msm8953-xiaomi-mido.dts
arch/arm64/boot/dts/qcom/msm8953-xiaomi-tissot.dts
arch/arm64/boot/dts/qcom/msm8953-xiaomi-vince.dts

index 3892ad4..4efc534 100644 (file)
@@ -88,6 +88,7 @@
                #size-cells = <0>;
 
                vcc-supply = <&pm8916_l17>;
+               vio-supply = <&pm8916_l6>;
 
                led@0 {
                        reg = <0>;
index 8e23897..43078b8 100644 (file)
                #size-cells = <0>;
 
                vcc-supply = <&pm8916_l16>;
+               vio-supply = <&pm8916_l5>;
 
                led@0 {
                        reg = <0>;
index ed95d09..6b9245c 100644 (file)
                reg = <0x45>;
 
                vcc-supply = <&pm8953_l10>;
+               vio-supply = <&pm8953_l5>;
 
                #address-cells = <1>;
                #size-cells = <0>;
index 61ff629..9ac4f50 100644 (file)
                reg = <0x45>;
 
                vcc-supply = <&pm8953_l10>;
+               vio-supply = <&pm8953_l5>;
 
                #address-cells = <1>;
                #size-cells = <0>;
index 1a1d3f9..b0588f3 100644 (file)
                reg = <0x45>;
 
                vcc-supply = <&pm8953_l10>;
+               vio-supply = <&pm8953_l5>;
 
                #address-cells = <1>;
                #size-cells = <0>;