[U-Boot] [PATCH imx6dl] Enable SION Bit for GPIO16 when ALT2 mode is selected

Markus Niebel list-09_u-boot at tqsc.de
Wed Jan 22 08:19:17 CET 2014


Am 19.01.2014 19:47, wrote Otavio Salvador:
> On Sun, Jan 19, 2014 at 4:03 PM, Fabio Estevam <festevam at gmail.com> wrote:
>> On Sun, Jan 19, 2014 at 3:55 PM, Otavio Salvador
>> <otavio at ossystems.com.br> wrote:
>>
>>> Personally I think when using the ALT 2 people are expecting it works
>>> out of box so I think this should be in the PAD declaration.
>>
>> This pin works out of the box in hummingboard, for example.
>>
>> IOMUX_CONFIG_SION is not used anywhere in the
>> mx6q_pins.h/mx6dl_pins.h, so why GPIO_16__ENET_
>> REF_CLK should be an exception?
> 
> Are you sure?
> 
> % git grep -c IOMUX_CONFIG_SION arch/arm/include/asm/arch-mx6/
> arch/arm/include/asm/arch-mx6/mx6dl_pins.h:31
> arch/arm/include/asm/arch-mx6/mx6q_pins.h:1
> 
> The q_pins is outdate it seems.
> 

IOMUX_CONFIG_SION is used everywhere for I2C dedicated pins - partly hard coded for
mx6q - so yes, should be used fro enet_clk, too

Markus


More information about the U-Boot mailing list