arm64: dts: qcom: sdm660: move SDHC2 card detect pinconf to board files

This results in dts duplication, but per mutual agreement card detect
pin configuration belongs to the board files. Move it from the SoC
dtsi to the board DT files.

Suggested-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220521202708.1509308-10-dmitry.baryshkov@linaro.org
This commit is contained in:
Dmitry Baryshkov
2022-05-21 23:27:06 +03:00
committed by Bjorn Andersson
parent 3a04cec9cb
commit 5e9bc1ba7a
3 changed files with 32 additions and 12 deletions

View File

@@ -549,6 +549,22 @@
};
};
&sdc2_state_on {
sd-cd {
pins = "gpio54";
bias-pull-up;
drive-strength = <2>;
};
};
&sdc2_state_off {
sd-cd {
pins = "gpio54";
bias-disable;
drive-strength = <2>;
};
};
&sdhc_1 {
status = "okay";
supports-cqe;

View File

@@ -983,12 +983,6 @@
bias-pull-up;
drive-strength = <10>;
};
sd-cd {
pins = "gpio54";
bias-pull-up;
drive-strength = <2>;
};
};
sdc2_state_off: sdc2-off {
@@ -1009,12 +1003,6 @@
bias-pull-up;
drive-strength = <2>;
};
sd-cd {
pins = "gpio54";
bias-disable;
drive-strength = <2>;
};
};
};

View File

@@ -371,6 +371,22 @@
qcom,num-strings = <2>;
};
&sdc2_state_on {
sd-cd {
pins = "gpio54";
bias-pull-up;
drive-strength = <2>;
};
};
&sdc2_state_off {
sd-cd {
pins = "gpio54";
bias-disable;
drive-strength = <2>;
};
};
&sdhc_1 {
status = "okay";
supports-cqe;