Re: [PATCH 2/2 v2] mmc: omap_hsmmc: Delete platform data GPIO CD and WP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sat, Dec 22, 2018 at 04:28:48PM +0200, Aaro Koskinen wrote:
> After this patch, the external MMC card is not getting detected on N900
> test/dev boards (different mechanics) unless I comment out the cd-gpios
> in the DTS.
> 
> It seems on N900 we had these GPIOs defined to 0 by accident in
> pdata-quicks, and that somehow allowed the external slot MMC work.
> 
> Anyway, do we have any other option than maintaining a different DTS for
> the test/dev boards? So far, the current DTS is intended to work on both
> (e.g. we have Ethernet in there too).

OK, found a solution. :-)

A.

diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index 182a53991c90..3ffb21d15882 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -813,7 +813,9 @@
 	bus-width = <4>;
 	/* For debugging, it is often good idea to remove this GPIO.
 	   It means you can remove back cover (to reboot by removing
-	   battery) and still use the MMC card. */
+	   battery) and still use the MMC card. NOTE: On the early development
+	   boards, this GPIO is controlled by the second switch behind the USB
+	   port. */
 	cd-gpios = <&gpio6 0 GPIO_ACTIVE_HIGH>; /* 160 */
 };
 



[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux