From: Marek Szyprowski Date: Tue, 15 Jul 2014 17:54:07 +0000 (+0900) Subject: ARM: dts: fix T-FLASH hotplug detection for exynos4412-odroid-common X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=78f54db13364b9622c8734c45f774d99536da819;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ARM: dts: fix T-FLASH hotplug detection for exynos4412-odroid-common TFLASH (SDHCI2 controller) uses internal card detect line, but it looks that the driver fails to operate it properly. Use GPIO interrupt on SD_CDn line for detecting SD card state. Signed-off-by: Marek Szyprowski Signed-off-by: Kukjin Kim --- diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi index d1b33a8efa9d..0bc1a9b94f47 100644 --- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi +++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi @@ -91,6 +91,8 @@ pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_cd &sd2_bus4>; pinctrl-names = "default"; vmmc-supply = <&ldo4_reg &ldo21_reg>; + cd-gpios = <&gpk2 2 0>; + cd-inverted; status = "okay"; };