[GIT PULL] ARM: mvebu: DT changes for v3.17

Sebastian Hesselbarth sebastian.hesselbarth at gmail.com
Fri Jun 27 07:52:03 PDT 2014


On 06/27/2014 04:46 PM, Russell King - ARM Linux wrote:
> On Fri, Jun 27, 2014 at 04:13:56PM +0200, Sebastian Hesselbarth wrote:
>> On 06/27/2014 03:59 PM, Russell King - ARM Linux wrote:
>>> This is kind'a my point - you're confirming that you can't reliably
>>> tell which version you have by running something on the cubox itself.
>>> As Jason points out, there are those who need to choose the correct
>>> DT file when installing.
>>>
>>> So, this means that the user has to be asked.  If users have to be
>>> asked, users need some way to identify the hardware that they're
>>> running on.
>>
>> I get your point, but there is no way to automatically tell them apart.
>> IMHO, that is why cubox-dove.dts should represent the *production*
>> version.
>
> That's why I'm saying maybe there shouldn't be a distinction at DT
> level - AFAIK the GPIO-based detection also works on the production
> version.

No, it doesn't.

On Dove, mpp12 carries sdio*1* card detect.

ES has sdio*0* slot card detect routed to mpp12 and cannot rely on
SDHCI CARD_PRESENT bit. That is what the gpio workaround is for.

Production uses the correct mpp pin and cannot rely on gpio pin
value, as it is not connected to slot card detect.

So, use the wrong dts on either ES or production will break sdio card
detect.

Sebastian




More information about the linux-arm-kernel mailing list