arm64: dts: qcom: sm6125: Append -state suffix to pinctrl nodes
authorMarijn Suijten <marijn.suijten@somainline.org>
Sun, 8 May 2022 10:03:34 +0000 (12:03 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 6 Jul 2022 20:30:35 +0000 (15:30 -0500)
According to qcom,sm6125-pinctrl.yaml all nodes inside the tlmm must be
suffixed by -state:

    qcom/sm6125-sony-xperia-seine-pdx201.dtb: pinctrl@500000: 'sdc2-off', 'sdc2-on' do not match any of the regexes: '-state$', 'pinctrl-[0-9]+'

The label names have been updated to match, going from sdc2_state_X to
sdc2_X_state.

Fixes: cff4bbaf2a2d ("arm64: dts: qcom: Add support for SM6125")
Fixes: 82e1783890b7 ("arm64: dts: qcom: sm6125: Add support for Sony Xperia 10II")
Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220508100336.127176-2-marijn.suijten@somainline.org
arch/arm64/boot/dts/qcom/sm6125-sony-xperia-seine-pdx201.dts
arch/arm64/boot/dts/qcom/sm6125.dtsi

index 8c05528..0aad2e9 100644 (file)
@@ -86,7 +86,7 @@
        status = "okay";
 };
 
-&sdc2_state_off {
+&sdc2_off_state {
        sd-cd {
                pins = "gpio98";
                drive-strength = <2>;
@@ -94,7 +94,7 @@
        };
 };
 
-&sdc2_state_on {
+&sdc2_on_state {
        sd-cd {
                pins = "gpio98";
                drive-strength = <2>;
index 39b17d4..e8bc226 100644 (file)
                        interrupt-controller;
                        #interrupt-cells = <2>;
 
-                       sdc2_state_off: sdc2-off {
+                       sdc2_off_state: sdc2-off-state {
                                clk {
                                        pins = "sdc2_clk";
                                        drive-strength = <2>;
                                };
                        };
 
-                       sdc2_state_on: sdc2-on {
+                       sdc2_on_state: sdc2-on-state {
                                clk {
                                        pins = "sdc2_clk";
                                        drive-strength = <16>;
                                 <&xo_board>;
                        clock-names = "iface", "core", "xo";
 
-                       pinctrl-0 = <&sdc2_state_on>;
-                       pinctrl-1 = <&sdc2_state_off>;
+                       pinctrl-0 = <&sdc2_on_state>;
+                       pinctrl-1 = <&sdc2_off_state>;
                        pinctrl-names = "default", "sleep";
 
                        power-domains = <&rpmpd SM6125_VDDCX>;