mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-30 20:30:32 -04:00
arm64: dts: qcom: sm6350-lena: Add SD Card Detect to sdc2 on/off pinctrl
In addition to the sdc2 pins, set the SD Card Detect pin in a sane state to be used as an interrupt when an SD Card is slotted in or removed. Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20221030073232.22726-4-marijn.suijten@somainline.org
This commit is contained in:
committed by
Bjorn Andersson
parent
a5d0314b9d
commit
edf070fcbc
@@ -30,6 +30,24 @@ framebuffer: framebuffer@a0000000 {
|
||||
};
|
||||
};
|
||||
|
||||
&sdc2_off_state {
|
||||
sd-cd-pins {
|
||||
pins = "gpio94";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
&sdc2_on_state {
|
||||
sd-cd-pins {
|
||||
pins = "gpio94";
|
||||
function = "gpio";
|
||||
drive-strength = <2>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
&sdhc_2 {
|
||||
status = "okay";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user