arm64: dts: qcom: sc7280: Move the SD CD GPIO pin out of the dtsi file
authorDouglas Anderson <dianders@chromium.org>
Mon, 30 Aug 2021 15:06:37 +0000 (08:06 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 21 Sep 2021 23:24:23 +0000 (18:24 -0500)
There's nothing magical about GPIO91 and boards could use different
GPIOs for card detect. Move the pin out of the dtsi file and to the
only existing board file.

Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210830080621.1.Ia15d97bc4a81f2916290e23a8fde9cbc66186159@changeid
arch/arm64/boot/dts/qcom/sc7280-idp.dtsi
arch/arm64/boot/dts/qcom/sc7280.dtsi

index 99f9ee5..3268f24 100644 (file)
        };
 
        sd-cd {
+               pins = "gpio91";
                bias-pull-up;
        };
 };
index a4b4277..7a2d68a 100644 (file)
                                data {
                                        pins = "sdc2_data";
                                };
-
-                               sd-cd {
-                                       pins = "gpio91";
-                               };
                        };
 
                        sdc2_off: sdc2-off {