Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1457262
| From | Pavel Machek <pavel@ucw.cz> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC] User-defined leds |
| Date | 2016-08-05 22:00 +0200 |
| Message-ID | <s2TrI-3xr-19@gated-at.bofh.it> (permalink) |
| References | <rYSXg-7Yy-25@gated-at.bofh.it> <rYT6V-81R-3@gated-at.bofh.it> <s2TrI-3xr-13@gated-at.bofh.it> <s2TrH-3xr-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri 2016-08-05 14:54:33, David Lechner wrote: > On 08/05/2016 02:51 PM, Pavel Machek wrote: > > > >Could the device tree be used to bind LED driver to otherwise unused > >gpio? > > There is already a leds-gpio driver that does this. > > https://www.kernel.org/doc/Documentation/devicetree/bindings/leds/leds-gpio.txt Yeah, I know, that's why I suggested it :-). What might be missing: simple way to attach leds-gpio driver to hardware on non-devicetree machines, and perhaps teaching leds-gpio special gpio value "no gpio" meaning ... that hardware is not actually updated. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [RFC] User-defined leds Pavel Machek <pavel@ucw.cz> - 2016-08-05 22:00 +0200
Re: [RFC] User-defined leds David Lechner <david@lechnology.com> - 2016-08-05 22:00 +0200
Re: [RFC] User-defined leds Pavel Machek <pavel@ucw.cz> - 2016-08-05 22:00 +0200
csiph-web