[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZJ2NYrskskXCNJZv@smile.fi.intel.com>
Date: Thu, 29 Jun 2023 16:55:46 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Astrid Rost <astrid.rost@...s.com>
Cc: Dan Murphy <dmurphy@...com>, Andrew Davis <afd@...com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Pavel Machek <pavel@....cz>, Lee Jones <lee@...nel.org>,
kernel@...s.com, linux-leds@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 1/2] led: leds-lp50xx: Add max-brightness as in
leds-pwm
On Thu, Jun 29, 2023 at 03:47:21PM +0200, Astrid Rost wrote:
> Add max-brightness in order to reduce the current on the connected LEDs.
> Normally, the maximum brightness is determined by the hardware, and this
> property is not required. This property is used to set a software limit.
> It could happen that an LED is made so bright that it gets damaged or
> causes damage due to restrictions in a specific system, such as mounting
> conditions.
This will be 4th driver in the LED subsystem that will use this (optional)
property. Perhaps it's time to actually move it to the LED generic bindings
and call this from led_parse_fwnode_props()?
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists