All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx25-pinfunc: add MX25_PAD_KPP_ROW3__UART1_RI
@ 2016-03-04 10:00 Uwe Kleine-König
  2016-03-04 12:33 ` Lothar Waßmann
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Uwe Kleine-König @ 2016-03-04 10:00 UTC (permalink / raw)
  To: linux-arm-kernel

Funny side note: When uart1 is used in dte mode (where RI is an input)
the RIIN bit in uart1's USR2 register reflects the input level of
MX25_PAD_KPP_ROW3 even if this pad is muxed to a different function.
The same seems to hold for some other pads, too.

Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
---
Hello,

I think the appropriate action for the "funny" side note is that we must
introduce dt-properties like

	fsl,mask-ri;

or something similar (maybe positive logic?) that prevents an uart1 RI irq
whenever uart3.CTS toggles.

Best regards
Uwe

 arch/arm/boot/dts/imx25-pinfunc.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/imx25-pinfunc.h b/arch/arm/boot/dts/imx25-pinfunc.h
index 848ffa785b63..3c8c5e1bea9e 100644
--- a/arch/arm/boot/dts/imx25-pinfunc.h
+++ b/arch/arm/boot/dts/imx25-pinfunc.h
@@ -453,6 +453,7 @@
 
 #define MX25_PAD_KPP_ROW3__KPP_ROW3		0x1b4 0x3ac 0x000 0x10 0x000
 #define MX25_PAD_KPP_ROW3__CSI_D1		0x1b4 0x3ac 0x48c 0x13 0x002
+#define MX25_PAD_KPP_ROW3__UART1_RI		0x1b4 0x3ac 0x000 0x14 0x000
 #define MX25_PAD_KPP_ROW3__GPIO_3_0		0x1b4 0x3ac 0x000 0x15 0x000
 
 #define MX25_PAD_KPP_COL0__KPP_COL0		0x1b8 0x3b0 0x000 0x10 0x000
-- 
2.7.0

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

end of thread, other threads:[~2016-04-19  7:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-04 10:00 [PATCH] ARM: dts: imx25-pinfunc: add MX25_PAD_KPP_ROW3__UART1_RI Uwe Kleine-König
2016-03-04 12:33 ` Lothar Waßmann
2016-03-04 13:25   ` about the input paths in i.MX25 pinmuxing Uwe Kleine-König
2016-03-08 11:18 ` [PATCH 1/2] ARM: dts: imx25-pinfunc: add all UART mux modes Uwe Kleine-König
2016-03-08 11:18   ` [PATCH 2/2] ARM: dts: imx25-pinfunc: remove SION for pins with an UART handshaking input mode Uwe Kleine-König
2016-03-09 19:44 ` [PATCH v2 1/2] ARM: dts: imx25-pinfunc: add all UART mux modes Uwe Kleine-König
2016-03-09 19:44   ` [PATCH v2 2/2] ARM: dts: imx25-pinfunc: remove SION for pins with an UART handshaking input mode Uwe Kleine-König
2016-03-30 13:12   ` [PATCH v2 1/2] ARM: dts: imx25-pinfunc: add all UART mux modes Shawn Guo
2016-04-19  7:30     ` Uwe Kleine-König

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.