Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: qcom: apq8064-ifc6410: pull SDCC pwrseq node up one level

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

authored by

Dmitry Baryshkov and committed by
Bjorn Andersson
36e9b342 5564d533

+7 -11
+7 -11
arch/arm/boot/dts/qcom-apq8064-ifc6410.dts
··· 22 22 stdout-path = "serial0:115200n8"; 23 23 }; 24 24 25 - pwrseq { 26 - compatible = "simple-bus"; 27 - 28 - sdcc4_pwrseq: sdcc4_pwrseq { 29 - pinctrl-names = "default"; 30 - pinctrl-0 = <&wlan_default_gpios>; 31 - compatible = "mmc-pwrseq-simple"; 32 - reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>; 33 - }; 34 - }; 35 - 36 25 leds { 37 26 compatible = "gpio-leds"; 38 27 pinctrl-names = "default"; ··· 44 55 remote-endpoint = <&hdmi_out>; 45 56 }; 46 57 }; 58 + }; 59 + 60 + sdcc4_pwrseq: pwrseq-sdcc4 { 61 + pinctrl-names = "default"; 62 + pinctrl-0 = <&wlan_default_gpios>; 63 + compatible = "mmc-pwrseq-simple"; 64 + reset-gpios = <&pm8921_gpio 43 GPIO_ACTIVE_LOW>; 47 65 }; 48 66 49 67 ext_3p3v: regulator-ext-3p3v {