Handling of modular boards
Stephen Warren
swarren at wwwdotorg.org
Fri May 4 16:59:37 EDT 2012
On 05/04/2012 02:38 PM, Wolfgang Denk wrote:
> Dear Stephen,
>
> In message <4FA432E9.9050606 at wwwdotorg.org> you wrote:
>>
>> representation of how to identify the child boards, and then have the
>> kernel only use/parse certain chunks of the DT based on the ID results.
>
> I expect that this will quickly cause problems, for example in those
> many cases where pins and peripheral functions are multiplexed, or
> usable for different purposes. I would not want to maintain a DT that
> has to describe all combinations used by some boards - in a way that
> does not cause conflicts on either of them.
With the DT pinctrl bindings, you can define the pinctrl configuration
required to interact with particular child boards in the DT chunk for
that child board. So, I think this would work out fine; you wouldn't
have to represent a huge maze/array of conditional pinctrl settings in
the main board file.
More information about the linux-arm-kernel
mailing list