Thread (59 messages) 59 messages, 9 authors, 2008-08-29

Re: [PATCH] leds: implement OpenFirmare GPIO LED driver

From: Sean MacLennan <hidden>
Date: 2008-07-17 15:05:46
Also in: lkml

On Thu, 17 Jul 2008 15:07:30 +0400
"Anton Vorontsov" [off-list ref] wrote:
This is tricky question. Personally I place them inside the gpio
controller node that is responsible for the LED. But I think placing
the led nodes at top level would be also fine (maybe with "leds { }"
node as a parent for all board's LEDs. What would you suggest for a
"best practice"?
I also put the leds under the gpio controller for the Warp. It is then
very clear which gpio controller the leds belong to.

Putting them at the top level does not associate the leds with the
correct gpio controller.

Warning: I am *not* using the of gpio led driver, but I hope to move to
it once the dust settles and drop the current Warp specific driver ;)

Cheers,
   Sean
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help