arm64: dts: qcom: sdm660-xiaomi-lavender: Add missing SD card detect GPIO
[ Upstream commit 2eca6af66709de0d1ba14cdf8b6d200a1337a3a2 ]
During initial porting these cd-gpios were missed. Having card detect is
beneficial because driver does not need to do polling every second and it
can just use IRQ. SD card detection in U-Boot is also fixed by this.
Fixes: cf85e9aee2
("arm64: dts: qcom: sdm660-xiaomi-lavender: Add eMMC and SD")
Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250415130101.1429281-1-alexeymin@postmarketos.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
62f142f9b8
commit
c8658f43df
@@ -404,6 +404,8 @@
|
|||||||
&sdhc_2 {
|
&sdhc_2 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
cd-gpios = <&tlmm 54 GPIO_ACTIVE_HIGH>;
|
||||||
|
|
||||||
vmmc-supply = <&vreg_l5b_2p95>;
|
vmmc-supply = <&vreg_l5b_2p95>;
|
||||||
vqmmc-supply = <&vreg_l2b_2p95>;
|
vqmmc-supply = <&vreg_l2b_2p95>;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user