GPIO - marking individual pins (not) available in device tree

David Gibson david at gibson.dropbear.id.au
Fri Oct 24 15:45:11 EST 2008


On Thu, Oct 23, 2008 at 06:17:45PM -1000, Mitch Bradley wrote:
>>
>> No, no, no, no, no.  Making complex multi-level representations of
>> nested things for gpios is just insanity. 
>
>
> You know, I don't find this "argument" particularly compelling.  But it  
> certainly is strongly worded.
>
>>  Just use the same encoded
>> format as we already use for gpio descriptors in 'gpios' properties
>> (which is gpio controller specific, with length defined by
>> #gpio-cells).
>
> http://en.wikipedia.org/wiki/Proof_by_assertion

Don't be patronising.

There is an existing address space defined by the gpio binding.
Defining another one is pointless redundancy.  This is standard good
ideas in computer science, no further argument necessary.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson



More information about the Linuxppc-dev mailing list