Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bc87aa6b authored by Guoping Yu's avatar Guoping Yu
Browse files

ARM: dts: msm: Set SD card property for 8909 SKUA



There is no card-detect gpio in this hardware, but SD card can
still be removed without power-off the device.

1. set cd-gpio as pull down when suspend and resume to avoid
trigger QDSD debugger rescan process.
2. delete property cd-gpios and status_irq as SD card hot swap
is not support.
3. set qcom,nonhotplug to ensure device would not crash when
SD card is removed without power-off the device.

Change-Id: Ibc5fe7a44482097a5fd710fa524100c9e27061f7
Signed-off-by: default avatarGuoping Yu <guopingy@codeaurora.org>
parent 2d3171d7
Loading
Loading
Loading
Loading
+19 −0
Original line number Diff line number Diff line
@@ -79,3 +79,22 @@
	status = "okay";
	qcom,battery-data = <&qrd_batterydata>;
};

&sdc2_cd_on {
	/delete-property/ bias-pull-up;
	bias-pull-down;
};

&sdc2_cd_off {
	/delete-property/ bias-disable;
	bias-pull-down;
};

&sdhc_2 {
	qcom,nonhotplug;
	interrupts = <0 1>;
	interrupt-map = <0 &intc 0 125 0
		1 &intc 0 221 0>;
	interrupt-names = "hc_irq", "pwr_irq";
	/delete-property/ cd-gpios;
};