[PATCH 0/3] fixes and sanity checks for mxs pinmuxing

Sascha Hauer s.hauer at pengutronix.de
Sun Oct 26 22:14:53 PDT 2014


On Fri, Oct 24, 2014 at 12:45:58AM +0200, Uwe Kleine-König wrote:
> 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

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list