mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/3] fixes and sanity checks for mxs pinmuxing
@ 2014-10-23 22:45 Uwe Kleine-König
  2014-10-23 22:45 ` [PATCH 1/3] mxs: iomux-imx28: Fix keeper/pullup/drive strength/voltage flags Uwe Kleine-König
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Uwe Kleine-König @ 2014-10-23 22:45 UTC (permalink / raw)
  To: barebox

Hello,

this series helped me to find pinmuxing problems on an i.MX28 machine.

The pins either have a pull up, a bit keeper or neither. For example the pin
ENET0_RXD2 has a bit keeper, and so doing

	imx_gpio_mode(ENET0_RXD2 | VE_3_3V | STRENGTH(S8MA) | PULLUP(1))

obviously couldn't enable the pull up as requested. Instead it enabled the bit
keeper. With this series the above call results in a message that the mode is
invalid and the pullup and bitkeeper register settings are not touched.

Note that I didn't test on i.MX23 even though this SoC is affected, too. I
currently don't have an i.MX23 handy, so I couldn't test this part.

Uwe Kleine-König (3):
  mxs: iomux-imx28: Fix keeper/pullup/drive strength/voltage flags
  mxs: iomux-imx23/imx28: unify mode definition
  mxs: iomux-imx23/imx28: add additional checks on mode

 arch/arm/mach-mxs/include/mach/iomux-imx23.h |  61 ---------------
 arch/arm/mach-mxs/include/mach/iomux-imx28.h | 112 +++++++--------------------
 arch/arm/mach-mxs/include/mach/iomux.h       |  82 ++++++++++++++++++++
 arch/arm/mach-mxs/iomux-imx.c                |  23 +++++-
 4 files changed, 127 insertions(+), 151 deletions(-)

-- 
2.1.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2014-11-03 12:18 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-23 22:45 [PATCH 0/3] fixes and sanity checks for mxs pinmuxing Uwe Kleine-König
2014-10-23 22:45 ` [PATCH 1/3] mxs: iomux-imx28: Fix keeper/pullup/drive strength/voltage flags Uwe Kleine-König
2014-10-23 22:46 ` [PATCH 2/3] mxs: iomux-imx23/imx28: unify mode definition Uwe Kleine-König
2014-10-24  7:50   ` Juergen Borleis
2014-10-24  8:19     ` Uwe Kleine-König
2014-10-24  8:47       ` Juergen Borleis
2014-11-03 12:18   ` Sascha Hauer
2014-10-23 22:46 ` [PATCH 3/3] mxs: iomux-imx23/imx28: add additional checks on mode Uwe Kleine-König
2014-10-24  7:52 ` [PATCH 0/3] fixes and sanity checks for mxs pinmuxing Juergen Borleis
2014-10-27  5:14 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox