ARM: dts: qcom: msm8960: move vsdcc regulator out of simple-bus
authorDavid Heidelberg <david@ixit.cz>
Sat, 8 Jan 2022 20:25:58 +0000 (21:25 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 1 Feb 2022 00:15:43 +0000 (18:15 -0600)
It is not recommended to place regulator nodes inside simple-bus,
so move it out in order to fix the warnings generated by
dtschema/schemas/simple-bus.yaml schema.

Signed-off-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220108202558.82044-1-david@ixit.cz
arch/arm/boot/dts/qcom-msm8960.dtsi

index 4eba16c..6ef5eed 100644 (file)
                };
        };
 
+       /* Temporary fixed regulator */
+       vsdcc_fixed: vsdcc-regulator {
+               compatible = "regulator-fixed";
+               regulator-name = "SDCC Power";
+               regulator-min-microvolt = <2700000>;
+               regulator-max-microvolt = <2700000>;
+               regulator-always-on;
+       };
+
        soc: soc {
                #address-cells = <1>;
                #size-cells = <1>;
                        clock-names = "core";
                };
 
-               /* Temporary fixed regulator */
-               vsdcc_fixed: vsdcc-regulator {
-                       compatible = "regulator-fixed";
-                       regulator-name = "SDCC Power";
-                       regulator-min-microvolt = <2700000>;
-                       regulator-max-microvolt = <2700000>;
-                       regulator-always-on;
-               };
-
                amba {
                        compatible = "simple-bus";
                        #address-cells = <1>;