Re: [PATCH v2 1/2] dt-bindings: leds: Add leds-meter binding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2019年10月31日(木) 3:29 Rob Herring <robh@xxxxxxxxxx>:
>
> On Wed, Oct 30, 2019 at 10:27 AM Akinobu Mita <akinobu.mita@xxxxxxxxx> wrote:
> >
> > 2019年10月30日(水) 23:24 Rob Herring <robh@xxxxxxxxxx>:
> > >
> > > On Sun, Oct 27, 2019 at 11:09:38PM +0900, Akinobu Mita wrote:
> > > > Add DT binding for generic LED level meter which consists of multiple LED
> > > > devices by different drivers.
> > >
> > > Do you have some pointers to actual h/w?
> >
> > This doesn't require a specific hardware.
>
> But I do for my understanding. If I don't understand it, then my
> default answer is: no, we don't do "generic" bindings because the h/w
> is never generic.

For example, https://www.switch-science.com/catalog/2677/
The LEDs on this board are controlled by NXP PCA9956B.
The driver is under development by Bjorn Andersson.

But the LED level meter doesn't depend on the actual LED controller driver,
so I call it "generic" LED level meter driver.

> > If there are more than two LEDs that can be described by devicetree,
> > it can be an LED level meter by bundling them up with this binding.
>
> Depends on the physical locations too? If you just want to group any
> random LEDs, then do that from userspace because it's more flexible.

Yes.  I assume that the level meter's LEDs are mounted in a line, or matrix.
I plan to rename it to 'leds-array' because 'leds-meter' is unclear.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux