drivers: led: add output current configuration to ti,lp5562

Add Output current configuration for led channels to the TI lp5562 driver.

Signed-off-by: Rick Bruyninckx <xactme@gmail.com>
This commit is contained in:
Rick Bruyninckx 2024-03-14 08:52:01 +01:00 committed by Anas Nashif
commit 9b0510cea9
2 changed files with 67 additions and 0 deletions

View file

@ -3,3 +3,25 @@ description: TI LP5562 LED
compatible: "ti,lp5562"
include: i2c-device.yaml
properties:
red-output-current:
type: int
default: 175
description: Output current of red channel in 0.1 mA (0-25.5 mA).
Default value is the power-on default. Valid range = 0 - 255
green-output-current:
type: int
default: 175
description: Output current of green channel in 0.1 mA (0-25.5 mA)
Default value is the power-on default. Valid range = 0 - 255
blue-output-current:
type: int
default: 175
description: Output current of blue channel in 0.1 mA (0-25.5 mA)
Default value is the power-on default. Valid range = 0 - 255
white-output-current:
type: int
default: 175
description: Output current of white channel in 0.1 mA (0-25.5 mA)
Default value is the power-on default. Valid range = 0 - 255