Re: [PATCH] drivers: led: bcm6858: Set default brightness when setting LED state

2022-03-08 Thread Paul HENRYS d'AUBIGNY
Hi, While discussing that change internally. One remark was that the brightness of the LED controller is being set at every state change while in principle, a "default" brightness could be set once and for all, for instance in the probing function. Currently, the U-Boot LED driver does not support

[PATCH] drivers: led: bcm6858: Set default brightness when setting LED state

2022-03-02 Thread Paul HENRYS
When setting the LED state (OFF, ON or blinking), the default maximum brightness is set for ON and blinking state and the brightness is set to 0 for OFF state. This should make sure the LED controller's registers affecting the brightness are correctly initialized and should give consistent behaviou