ARM: dts: am571x-idk: Fix GPIO polarity for MMC1 card detect
Subsystems (2)
PATCH 1/2 ARM: dts: am571x-idk: Fix GPIO polarity for MMC1 card detect
The GPIO polarity for MMC1 card detect is set to '0' which means active-high. However the polarity should be active-low. Fix it here.
--- arch/arm/boot/dts/am571x-idk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/am571x-idk.dts +1 -1
@@ -68,7 +68,7 @@ status = "okay"; vmmc-supply = <&ldo1_reg>; bus-width = <4>; - cd-gpios = <&gpio6 27 0>; /* gpio 219 */ + cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */ }; &omap_dwc3_2 {
Signature · 1 line
2.11.0
PATCH 2/2 ARM: dts: am572x-idk: Fix GPIO polarity for MMC1 card detect
The GPIO polarity for MMC1 card detect is set to '0' which means active-high. However the polarity should be active-low. Fix it here.
--- arch/arm/boot/dts/am572x-idk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/am572x-idk.dts +1 -1
@@ -81,7 +81,7 @@ vmmc-supply = <&v3_3d>; vmmc_aux-supply = <&ldo1_reg>; bus-width = <4>; - cd-gpios = <&gpio6 27 0>; /* gpio 219 */ + cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */ }; &sn65hvs882 {
Signature · 1 line
2.11.0
Quoted 3 lines · Kishon Vijay Abraham I
The GPIO polarity for MMC1 card detect is set to '0' which means active-high. However the polarity should be active-low. Fix it here.
Can these wait for v4.14 merge window or do these fix known issues?
Regards,
Tony
Tony,
Quoted 7 lines · Tony Lindgren
Quoted 3 lines · Kishon Vijay Abraham I
The GPIO polarity for MMC1 card detect is set to '0' which means active-high. However the polarity should be active-low. Fix it here.
Can these wait for v4.14 merge window or do these fix known issues?
These can go in the next merge window. I didn't observe any issue without this in omap_hsmmc driver.
Thanks
Kishon
Quoted 8 lines · Kishon Vijay Abraham I
Tony,
Quoted 5 lines · Tony Lindgren
Quoted 3 lines · Kishon Vijay Abraham I
The GPIO polarity for MMC1 card detect is set to '0' which means active-high. However the polarity should be active-low. Fix it here.
Quoted 5 lines
Quoted 2 lines
Can these wait for v4.14 merge window or do these fix known issues?
These can go in the next merge window. I didn't observe any issue without this in
omap_hsmmcdriver.
OK applying both into omap-for-v4.14/dt thanks.
Tony