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