Thread (24 messages) 24 messages, 4 authors, 2018-08-14

Re: [PATCH v2 1/2] dt: bindings: lm3697: Add bindings for lm3697 driver

From: Pavel Machek <hidden>
Date: 2018-08-08 21:58:47
Also in: linux-leds, lkml

Hi!
quoted
quoted
quoted
Yes, and LED strings are statically assigned to banks, right?

So why not simply forget about LED strings for sake of hw
abstractions, and work just with banks?
How would you set the control bank register for the correct LED string configuration?
Have property at each LED saying which which HVLEDs it controls?
Isn't that what I have already using the reg property?
Then we would have to aggregate the configuration and make a determination in the driver.
Yes.
But that does not follow the LED child node ideology.
Each output of the LED driver should have a child node.

In this case the outputs are the sinks(inputs) and there are only 2 sinks so having 3 LED child nodes would be confusing
and there are required properties for each child like label.
No, I don't want that.

I'd like 2 child nodes, each specifying which HVLEDs it controls.

Let me edit the original proposal.

									Pavel


-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachments

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