[patch 1/9] efikamx: read board id

Arnaud Patard (Rtp) arnaud.patard at rtp-net.org
Wed Oct 20 15:53:02 EDT 2010


Loïc Minier <loic.minier at linaro.org> writes:

> On Wed, Oct 20, 2010, Matt Sealey wrote:
>> Uwe, there is no way to tell if the pads have settled, it is entirely
>> a hardware problem, just like when GPIOs are at random input states if
>> they are not connected to anything: in this case, first of all the
>> IOMUX pull downs and then the GPIO change to input takes longer than
>> you can safely do it and then immediately read the pins or board
>> version 1.1 and below will not ID correctly.
>
>  Is there a strong need to distinguish between all the PCB ids?  You
>  could use the TO2 versus TO3 information to decide between 1.1 and 1.3
>  PCBs and stop supporting the other (rare) boards?

The TO2 and TO3 are very similar but there are important differencies :
- different reset pin
- mmc slot on mmc0 (esdhci1) vs mmc1 (esdhci2)

So you do need to know if you're either on TO2 or TO3 and you can't
guess this info without looking at the board id pins.

Arnaud



More information about the linux-arm-kernel mailing list