brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · 24eccda Raw
38 lines · plain
1Bindings for Linear Technologies LT3593 LED controller2 3Required properties:4- compatible:		Should be "lltc,lt3593".5- lltc,ctrl-gpios:	A handle to the GPIO that is connected to the 'CTRL'6			pin of the chip.7 8The hardware supports only one LED. The properties of this LED are9configured in a sub-node in the device node.10 11Optional sub-node properties:12- function:		See Documentation/devicetree/bindings/leds/common.txt13- color:		See Documentation/devicetree/bindings/leds/common.txt14- label:		A label for the LED. If none is given, the LED will be15			named "lt3595::" (deprecated)16- linux,default-trigger: The default trigger for the LED.17			See Documentation/devicetree/bindings/leds/common.txt18- default-state:	The initial state of the LED.19			See Documentation/devicetree/bindings/leds/common.txt20 21If multiple chips of this type are found in a design, each one needs to22be handled by its own device node.23 24Example:25 26#include <dt-bindings/leds/common.h>27 28led-controller {29	compatible = "lltc,lt3593";30	lltc,ctrl-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;31 32	led {33		function = LED_FUNCTION_BACKLIGHT;34		color = <LED_COLOR_ID_WHITE>;35		default-state = "on";36	};37};38