]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: dra7xx: am57xx: fix cd-gpios definition as per hardware design and dt bindi...
authorMugunthan V N <mugunthanvnm@ti.com>
Mon, 12 Oct 2015 09:07:12 +0000 (14:37 +0530)
committerTony Lindgren <tony@atomide.com>
Mon, 12 Oct 2015 23:49:12 +0000 (16:49 -0700)
As per mmc device tree binding documentation card detect gpio has
to be active low signal. When a hardware is designed with active
high card detect, gpio polarity has to be changed with
cd-inverted dt property.

In DRA74x, DRA72x and AM57xx EVMs the card detect gpio is
designed as active low gpio. So correcting the dt card detect
gpio definition.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am57xx-beagle-x15.dts
arch/arm/boot/dts/dra7-evm.dts
arch/arm/boot/dts/dra72-evm.dts

index beee919f54a40b201dda9840bc972982d11cd2d0..341ec8825c5105f5b9365b5d13aee76cc711f76c 100644 (file)
@@ -665,7 +665,7 @@ &mmc1 {
 
        vmmc-supply = <&ldo1_reg>;
        bus-width = <4>;
-       cd-gpios = <&gpio6 27 0>; /* gpio 219 */
+       cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
 };
 
 &mmc2 {
index 4e796493a463ccf4d5f61e8e8b57a3f7ad67572e..864f60020124e44181a66706797c0c16c6970044 100644 (file)
@@ -634,7 +634,7 @@ &mmc1 {
         * SDCD signal is not being used here - using the fact that GPIO mode
         * is always hardwired.
         */
-       cd-gpios = <&gpio6 27 0>;
+       cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>;
 };
 
 &mmc2 {
index cc671187814a1f09c7b5cfacdd657ff6ea908966..27e414295accb01a6fd15c8812abe33518a25b13 100644 (file)
@@ -613,7 +613,7 @@ &mmc1 {
         * SDCD signal is not being used here - using the fact that GPIO mode
         * is a viable alternative
         */
-       cd-gpios = <&gpio6 27 0>;
+       cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>;
        max-frequency = <192000000>;
 };