Re: [PATCH] dt-bindings: leds: Convert LP8860 into YAML format

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

 



Hi Andrew!

On Mon, 2024-12-09 at 09:05 -0600, Andrew Davis wrote:
> > then some mapping between subnode and HW channel would be required.
> > We probably don't want to parse a node name in this case and carve out "-0"
> > part of it, in such case a well-defined property, such as "reg" would be
> > required.
> > 
> 
> We are not the only driver to do the "-#" method. Although yes just
> using reg is easier for the Linux driver.

After a quick grep over the bindings I'd say those led-X are using
"gpios" or "pwms" property to associate them with real HW and seems that
there is exactly one example of doing some implicit mapping: nxp,pca953x.yaml

It seems to me that using "reg" is much more widespread (if it's neither "gpios"
nor "pwms"). 

-- 
Alexander Sverdlin
Siemens AG
www.siemens.com




[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