Skip to content

Commit

Permalink
arm64: dts: qcom: sc7280: Move the SD CD GPIO pin out of the dtsi file
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Reviewed-by: Matthias Kaehlcke <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/20210830080621.1.Ia15d97bc4a81f2916290e23a8fde9cbc66186159@changeid
  • Loading branch information
dianders authored and andersson committed Sep 21, 2021
1 parent 1c8bf39 commit 65751eb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/qcom/sc7280-idp.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@
};

sd-cd {
pins = "gpio91";
bias-pull-up;
};
};
4 changes: 0 additions & 4 deletions arch/arm64/boot/dts/qcom/sc7280.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -1605,10 +1605,6 @@
data {
pins = "sdc2_data";
};

sd-cd {
pins = "gpio91";
};
};

sdc2_off: sdc2-off {
Expand Down

0 comments on commit 65751eb

Please sign in to comment.