[PATCH v2] drivers: led: bcm6858: Set a default brightness when probing LEDs

Tom Rini trini at konsulko.com
Mon Apr 11 22:14:49 CEST 2022


On Thu, Mar 17, 2022 at 10:29:47AM +0100, Paul HENRYS wrote:

> When probing the LEDs, a default brightness is set based on settings
> from the U-Boot device tree, i.e. the 'default-brightness' property
> of the LED nodes. If that property is not present, the default
> maximum brightness is set.
> This should make sure the LED controller's registers affecting the
> brightness are correctly initialized and should give a consistent
> behaviour.
> 
> Signed-off-by: Paul HENRYS <paul.henrys_ext at softathome.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220411/97472d2f/attachment.sig>


More information about the U-Boot mailing list