drivers: led: lp5569: add enable-gpios

The lp5569 features a double functioning pin for enable and pwm control.
The chip, however, uses the first rising edge to initialize and get ready
for i2c communication, and then the pin alters function to pwm mode.

Add support for providing enable-gpios to the lp5569 in the dts, which
will make sure to assert the pin and wait for the chip to initialize
before attempting further configuration of the chip.

Signed-off-by: Emil Juhl <emdj@bang-olufsen.dk>
This commit is contained in:
Emil Juhl 2024-03-21 10:45:45 +01:00 committed by Fabio Baltieri
commit f53a401758
3 changed files with 29 additions and 0 deletions

View file

@ -139,6 +139,8 @@ Drivers and Sensors
* lp5569: added ``charge-pump-mode`` property to configure the charge pump of the lp5569.
* lp5569: added ``enable-gpios`` property to describe the EN/PWM GPIO of the lp5569.
* LED Strip
* LoRa