ARM: dts: qcom: apq8064-ifc6410: pull SDCC pwrseq node up one level
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 30 Sep 2022 18:52:18 +0000 (21:52 +0300)
committerBjorn Andersson <andersson@kernel.org>
Mon, 17 Oct 2022 18:20:00 +0000 (13:20 -0500)
There are no need to add additional simple-bus nodes just to populate
a single pwrseq device. Pull it up one level into /. While we are at it
also fix node name replacing underscore with dash.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220930185236.867655-6-dmitry.baryshkov@linaro.org
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts

index 610fb8d652c37cf27a1e619bd74fff05bb653605..96307550523aa9532af32ed78fc498a2383dcd57 100644 (file)
                stdout-path = "serial0:115200n8";
        };
 
-       pwrseq {
-               compatible = "simple-bus";
-
-               sdcc4_pwrseq: sdcc4_pwrseq {
-                       pinctrl-names = "default";
-                       pinctrl-0 = <&wlan_default_gpios>;
-                       compatible = "mmc-pwrseq-simple";
-                       reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
-               };
-       };
-
        leds {
                compatible = "gpio-leds";
                pinctrl-names = "default";
                };
        };
 
+       sdcc4_pwrseq: pwrseq-sdcc4 {
+               pinctrl-names = "default";
+               pinctrl-0 = <&wlan_default_gpios>;
+               compatible = "mmc-pwrseq-simple";
+               reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>;
+       };
+
        ext_3p3v: regulator-ext-3p3v {
                compatible = "regulator-fixed";
                regulator-min-microvolt = <3300000>;