Re: [PATCH/RFC v10 03/19] DT: leds: Add led-sources property
From: Mark Brown
Date: Mon Jan 12 2015 - 12:07:07 EST
On Mon, Jan 12, 2015 at 10:55:29AM -0600, Rob Herring wrote:
> On Mon, Jan 12, 2015 at 10:10 AM, Jacek Anaszewski
> > 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.
Attachment:
signature.asc
Description: Digital signature