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:
committed by
Bjorn Andersson
parent
3a04cec9cb
commit
5e9bc1ba7a
@@ -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;
|
||||
|
@@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user