[PATCH] leds: implement OpenFirmare GPIO LED driver

Grant Likely grant.likely at secretlab.ca
Fri Jul 18 14:44:20 EST 2008


On Fri, Jul 18, 2008 at 01:35:12PM +1000, David Gibson wrote:
> This brings us back to the issue we also have with DCR controlled
> devices.  Possibly we should have two ways of representing these
> connections: for "pure" GPIO-only or DCR-only devices, they appear
> under the relevant controller with the addresses encoded with 'reg'.
> For devices on other busses which also have a few GPIO lines / DCR
> registers, they would appear on the other bus with 'gpios' or
> 'dcr-reg' properties (or some new, generalized 'other-bus-reg'
> property).

On the other hand; it's just LEDs.  I think a single scheme is enough.

:-)

g.




More information about the Linuxppc-dev mailing list