Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
Bindings for Linear Technologies LT3593 LED controller
|
|
|
|
Required properties:
|
|
- compatible: Should be "lltc,lt3593".
|
|
- lltc,ctrl-gpios: A handle to the GPIO that is connected to the 'CTRL'
|
|
pin of the chip.
|
|
|
|
The hardware supports only one LED. The properties of this LED are
|
|
configured in a sub-node in the device node.
|
|
|
|
Optional sub-node properties:
|
|
- function: See Documentation/devicetree/bindings/leds/common.txt
|
|
- color: See Documentation/devicetree/bindings/leds/common.txt
|
|
- label: A label for the LED. If none is given, the LED will be
|
|
named "lt3595::" (deprecated)
|
|
- linux,default-trigger: The default trigger for the LED.
|
|
See Documentation/devicetree/bindings/leds/common.txt
|
|
- default-state: The initial state of the LED.
|
|
See Documentation/devicetree/bindings/leds/common.txt
|
|
|
|
If multiple chips of this type are found in a design, each one needs to
|
|
be handled by its own device node.
|
|
|
|
Example:
|
|
|
|
#include <dt-bindings/leds/common.h>
|
|
|
|
led-controller {
|
|
compatible = "lltc,lt3593";
|
|
lltc,ctrl-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
|
|
|
|
led {
|
|
function = LED_FUNCTION_BACKLIGHT;
|
|
color = <LED_COLOR_ID_WHITE>;
|
|
default-state = "on";
|
|
};
|
|
};
|