ARM: dts: qcom: pm8058: reorder nodes
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 28 Sep 2023 11:02:53 +0000 (14:02 +0300)
committerBjorn Andersson <andersson@kernel.org>
Tue, 14 Nov 2023 17:25:59 +0000 (11:25 -0600)
Move pm8058 device nodes to follow the alphanumberic sorting order.

Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230928110309.1212221-21-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm/boot/dts/qcom/pm8058.dtsi

index ad581c3bcbd2e3fa5b8c997fff7dce40c7b2bf04..913a511719fa15a5c9544490dabe160f010a0fe7 100644 (file)
@@ -8,15 +8,24 @@
                #address-cells = <1>;
                #size-cells = <0>;
 
-               pm8058_gpio: gpio@150 {
-                       compatible = "qcom,pm8058-gpio",
-                                    "qcom,ssbi-gpio";
-                       reg = <0x150>;
-                       interrupt-controller;
-                       #interrupt-cells = <2>;
-                       gpio-controller;
-                       gpio-ranges = <&pm8058_gpio 0 0 44>;
-                       #gpio-cells = <2>;
+               pwrkey@1c {
+                       compatible = "qcom,pm8058-pwrkey";
+                       reg = <0x1c>;
+                       interrupt-parent = <&pm8058>;
+                       interrupts = <50 1>, <51 1>;
+                       debounce = <15625>;
+                       pull-up;
+               };
+
+               pm8058_led48: led@48 {
+                       compatible = "qcom,pm8058-keypad-led";
+                       reg = <0x48>;
+                       status = "disabled";
+               };
+
+               vibrator@4a {
+                       compatible = "qcom,pm8058-vib";
+                       reg = <0x4a>;
                };
 
                pm8058_mpps: mpps@50 {
                        #interrupt-cells = <2>;
                };
 
-               pwrkey@1c {
-                       compatible = "qcom,pm8058-pwrkey";
-                       reg = <0x1c>;
-                       interrupt-parent = <&pm8058>;
-                       interrupts = <50 1>, <51 1>;
-                       debounce = <15625>;
-                       pull-up;
+               pm8058_led131: led@131 {
+                       compatible = "qcom,pm8058-led";
+                       reg = <0x131>;
+                       status = "disabled";
+               };
+
+               pm8058_led132: led@132 {
+                       compatible = "qcom,pm8058-led";
+                       reg = <0x132>;
+                       status = "disabled";
+               };
+
+               pm8058_led133: led@133 {
+                       compatible = "qcom,pm8058-led";
+                       reg = <0x133>;
+                       status = "disabled";
                };
 
                pm8058_keypad: keypad@148 {
                        row-hold = <91500>;
                };
 
+               pm8058_gpio: gpio@150 {
+                       compatible = "qcom,pm8058-gpio",
+                                    "qcom,ssbi-gpio";
+                       reg = <0x150>;
+                       interrupt-controller;
+                       #interrupt-cells = <2>;
+                       gpio-controller;
+                       gpio-ranges = <&pm8058_gpio 0 0 44>;
+                       #gpio-cells = <2>;
+               };
+
                pm8058_xoadc: xoadc@197 {
                        compatible = "qcom,pm8058-adc";
                        reg = <0x197>;
                        interrupts = <39 1>;
                        allow-set-time;
                };
-
-               vibrator@4a {
-                       compatible = "qcom,pm8058-vib";
-                       reg = <0x4a>;
-               };
-
-               pm8058_led48: led@48 {
-                       compatible = "qcom,pm8058-keypad-led";
-                       reg = <0x48>;
-                       status = "disabled";
-               };
-
-               pm8058_led131: led@131 {
-                       compatible = "qcom,pm8058-led";
-                       reg = <0x131>;
-                       status = "disabled";
-               };
-
-               pm8058_led132: led@132 {
-                       compatible = "qcom,pm8058-led";
-                       reg = <0x132>;
-                       status = "disabled";
-               };
-
-               pm8058_led133: led@133 {
-                       compatible = "qcom,pm8058-led";
-                       reg = <0x133>;
-                       status = "disabled";
-               };
        };
 };