[U-Boot] [PATCH] mx6: gpio: read data register if direction is out

Klaus Goger klaus.goger at theobroma-systems.com
Tue Jun 24 16:17:20 CEST 2014


On Jun 24, 2014, at 3:13 PM, Fabio Estevam <festevam at gmail.com> wrote:

> On Tue, Jun 24, 2014 at 10:07 AM, Stefano Babic <sbabic at denx.de> wrote:
> 
>> What you are describing looks an issue in your pinmux configuration
>> because you do not set the SION bit, as requested to read back the value
>> of the GPIO from the Pad Register.
> 
> Yes, correct.
> 
> Klaus, please check this commit:
> 
> commit 7773fd196918826ebaab769e63a4775607f5256c
> Author: Otavio Salvador <otavio at ossystems.com.br>
> Date:   Mon Dec 16 20:44:00 2013 -0200
> 
>    imx: Easy enabling of SION per-pin using MUX_MODE_SION helper macro

Using the MUX_MODE_SION macro helped indeed.
Thank you Stefano and Fabio.

Best Regards,
Klaus


More information about the U-Boot mailing list