Re: AW: [PATCH v2 1/4] leds: lp50xx: add setting of default intensity from DT

2021-02-06 Thread Jacek Anaszewski
Sven, On 2/6/21 2:14 PM, Sven Schuchmann wrote: Hello Dan, Von: Jacek Anaszewski Gesendet: Freitag, 5. Februar 2021 19:37 Hi Pavel, On 2/5/21 11:23 AM, Pavel Machek wrote: Hi! patternProperties: "(^led-[0-9a-f]$|led)": @@ -99,6 +104,7 @@ examples: reg = <

AW: [PATCH v2 1/4] leds: lp50xx: add setting of default intensity from DT

2021-02-06 Thread Sven Schuchmann
Hello Dan, > Von: Jacek Anaszewski > Gesendet: Freitag, 5. Februar 2021 19:37 > Hi Pavel, > > On 2/5/21 11:23 AM, Pavel Machek wrote: > > Hi! > > > patternProperties: > "(^led-[0-9a-f]$|led)": > @@ -99,6 +104,7 @@ examples: > reg = <0x1>; >

AW: [PATCH v2 1/4] leds: lp50xx: add setting of default intensity from DT

2021-02-05 Thread Sven Schuchmann
Hello Pavel, hello Dan, > > diff --git a/Documentation/devicetree/bindings/leds/leds-lp50xx.yaml > > b/Documentation/devicetree/bindings/leds/leds- > lp50xx.yaml > > index c192b5feadc7..2bc25b2fc94d 100644 > > --- a/Documentation/devicetree/bindings/leds/leds-lp50xx.yaml > > +++ b/Documentation/d

Re: [PATCH v2 1/4] leds: lp50xx: add setting of default intensity from DT

2021-02-05 Thread Jacek Anaszewski
Hi Pavel, On 2/5/21 11:23 AM, Pavel Machek wrote: Hi! patternProperties: "(^led-[0-9a-f]$|led)": @@ -99,6 +104,7 @@ examples: reg = <0x1>; color = ; function = LED_FUNCTION_CHARGING; + default-intensity = <100 0 0>;

Re: [PATCH v2 1/4] leds: lp50xx: add setting of default intensity from DT

2021-02-05 Thread Pavel Machek
Hi! > > > patternProperties: > > >"(^led-[0-9a-f]$|led)": > > > @@ -99,6 +104,7 @@ examples: > > > reg = <0x1>; > > > color = ; > > > function = LED_FUNCTION_CHARGING; > > > + default-intensity = <100 0 0>; > > > > > >

Re: [PATCH v2 1/4] leds: lp50xx: add setting of default intensity from DT

2021-02-04 Thread Pavel Machek
Hi! > In order to use a multicolor-led together with a trigger > the led needs to have an intensity set to see something. > The trigger changes the brightness of the led but if there > is no intensity we actually see nothing. > > This patch adds the ability to set the default intensity > of each

[PATCH v2 1/4] leds: lp50xx: add setting of default intensity from DT

2021-02-04 Thread Sven Schuchmann
In order to use a multicolor-led together with a trigger the led needs to have an intensity set to see something. The trigger changes the brightness of the led but if there is no intensity we actually see nothing. This patch adds the ability to set the default intensity of each multi-led node so t