Thread (91 messages) 91 messages, 8 authors, 2015-02-09

Re: [PATCH/RFC v10 03/19] DT: leds: Add led-sources property

From: Mark Brown <broonie@kernel.org>
Date: 2015-01-12 17:07:03
Also in: linux-leds, linux-media, lkml

On Mon, Jan 12, 2015 at 10:55:29AM -0600, Rob Herring wrote:
On Mon, Jan 12, 2015 at 10:10 AM, Jacek Anaszewski
quoted
There are however devices that don't fall into this category, i.e. they
have many outputs, that can be connected to a single LED or to many LEDs
and the driver has to know what is the actual arrangement.
We may need to extend the regulator binding slightly and allow for
multiple phandles on a supply property, but wouldn't something like
this work:
led-supply = <&led-reg0>, <&led-reg1>, <&led-reg2>, <&led-reg3>;
The shared source is already supported by the regulator binding.
What is the reasoning for this?  If a single supply is being supplied by
multiple regulators then in general those regulators will all know about
each other at a hardware level and so from a functional and software
point of view will effectively be one regulator.  If they don't/aren't
then they tend to interfere with each other.

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