]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: qrb5165-rb5: Drop redundant non-controllable supplies
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Tue, 10 Mar 2026 13:08:48 +0000 (14:08 +0100)
committerBjorn Andersson <andersson@kernel.org>
Thu, 26 Mar 2026 14:40:56 +0000 (09:40 -0500)
Drop completely redundant non-controllable chain of "regulator-fixed"
supplies, which serve no purpose except growing DTS and kernel boot
time.  They represent no added value and because of being completely
transparent for any users of DTS (except the bloat), they should not be
represented in DTS, just like we do not represent every transistor
there.

For the few regulators being actively used and supplied by removed
dummies, change the supply to match the actual final source without
these dummy intermediaries.

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260310-qcom-dts-supplies-v1-5-5071a7052ea9@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qrb5165-rb5.dts

index 71b42e76f03d626ef8357ac66ef6c850344a479d..54da0d759a6710f511adc05b970654e8ae1cb62b 100644 (file)
                clock-frequency = <40000000>;
        };
 
-       dc12v: dc12v-regulator {
-               compatible = "regulator-fixed";
-               regulator-name = "DC12V";
-               regulator-min-microvolt = <12000000>;
-               regulator-max-microvolt = <12000000>;
-               regulator-always-on;
-       };
-
        hdmi-out {
                compatible = "hdmi-connector";
                type = "a";
@@ -92,7 +84,7 @@
                compatible = "regulator-fixed";
                regulator-name = "LT9611_1V2";
 
-               vin-supply = <&vdc_3v3>;
+               vin-supply = <&vreg_l11c_3p3>;
                regulator-min-microvolt = <1200000>;
                regulator-max-microvolt = <1200000>;
        };
                compatible = "regulator-fixed";
                regulator-name = "LT9611_3V3";
 
-               vin-supply = <&vdc_3v3>;
+               vin-supply = <&vreg_l11c_3p3>;
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                regulator-boot-on;
                };
        };
 
-       vbat: vbat-regulator {
-               compatible = "regulator-fixed";
-               regulator-name = "VBAT";
-               vin-supply = <&vreg_l11c_3p3>;
-               regulator-min-microvolt = <4200000>;
-               regulator-max-microvolt = <4200000>;
-               regulator-always-on;
-       };
-
-       vbat_som: vbat-som-regulator {
-               compatible = "regulator-fixed";
-               regulator-name = "VBAT_SOM";
-               vin-supply = <&dc12v>;
-               regulator-min-microvolt = <4200000>;
-               regulator-max-microvolt = <4200000>;
-               regulator-always-on;
-       };
-
-       vdc_3v3: vdc-3v3-regulator {
-               compatible = "regulator-fixed";
-               regulator-name = "VDC_3V3";
-               vin-supply = <&vreg_l11c_3p3>;
-               regulator-min-microvolt = <3300000>;
-               regulator-max-microvolt = <3300000>;
-               regulator-always-on;
-       };
-
        vdc_5v: vdc-5v-regulator {
                compatible = "regulator-fixed";
                regulator-name = "VDC_5V";