All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: am335x-pdu001: Fix polarity of card detection input
@ 2018-11-30 14:54 Felix Brack
  2018-12-07 16:54 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Felix Brack @ 2018-11-30 14:54 UTC (permalink / raw)
  To: devicetree, linux-omap
  Cc: tony, bcousson, robh+dt, mark.rutland, linux-kernel, Felix Brack

When a micro SD card is inserted in the PDU001 card cage, the card
detection switch is opened and the corresponding GPIO input is driven
by a pull-up. Hence change the active level of the card detection
input from low to high.

Signed-off-by: Felix Brack <fb@ltec.ch>
---
 arch/arm/boot/dts/am335x-pdu001.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/am335x-pdu001.dts b/arch/arm/boot/dts/am335x-pdu001.dts
index 6dd9d487aaeb..ae43d61f4e8b 100644
--- a/arch/arm/boot/dts/am335x-pdu001.dts
+++ b/arch/arm/boot/dts/am335x-pdu001.dts
@@ -585,7 +585,7 @@
 	bus-width = <4>;
 	pinctrl-names = "default";
 	pinctrl-0 = <&mmc2_pins>;
-	cd-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
+	cd-gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
 };
 
 &sham {
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: am335x-pdu001: Fix polarity of card detection input
  2018-11-30 14:54 [PATCH] ARM: dts: am335x-pdu001: Fix polarity of card detection input Felix Brack
@ 2018-12-07 16:54 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2018-12-07 16:54 UTC (permalink / raw)
  To: Felix Brack
  Cc: devicetree, linux-omap, bcousson, robh+dt, mark.rutland, linux-kernel

* Felix Brack <fb@ltec.ch> [181130 07:30]:
> When a micro SD card is inserted in the PDU001 card cage, the card
> detection switch is opened and the corresponding GPIO input is driven
> by a pull-up. Hence change the active level of the card detection
> input from low to high.

Applying into omap-for-v4.20/fixes thanks,

Tony

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-07 16:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-30 14:54 [PATCH] ARM: dts: am335x-pdu001: Fix polarity of card detection input Felix Brack
2018-12-07 16:54 ` Tony Lindgren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.