18c2ecf20Sopenharmony_ci* Texas Instruments - lp8860 4-Channel LED Driver
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciThe LP8860-Q1 is an high-efficiency LED
48c2ecf20Sopenharmony_cidriver with boost controller. It has 4 high-precision
58c2ecf20Sopenharmony_cicurrent sinks that can be controlled by a PWM input
68c2ecf20Sopenharmony_cisignal, a SPI/I2C master, or both.
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciRequired properties:
98c2ecf20Sopenharmony_ci	- compatible :
108c2ecf20Sopenharmony_ci		"ti,lp8860"
118c2ecf20Sopenharmony_ci	- reg : I2C slave address
128c2ecf20Sopenharmony_ci	- #address-cells : 1
138c2ecf20Sopenharmony_ci	- #size-cells : 0
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciOptional properties:
168c2ecf20Sopenharmony_ci	- enable-gpios : gpio pin to enable (active high)/disable the device.
178c2ecf20Sopenharmony_ci	- vled-supply : LED supply
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ciRequired child properties:
208c2ecf20Sopenharmony_ci	- reg : 0
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciOptional child properties:
238c2ecf20Sopenharmony_ci	- function : see Documentation/devicetree/bindings/leds/common.txt
248c2ecf20Sopenharmony_ci	- color : see Documentation/devicetree/bindings/leds/common.txt
258c2ecf20Sopenharmony_ci	- label : see Documentation/devicetree/bindings/leds/common.txt (deprecated)
268c2ecf20Sopenharmony_ci	- linux,default-trigger :
278c2ecf20Sopenharmony_ci	   see Documentation/devicetree/bindings/leds/common.txt
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciExample:
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci#include <dt-bindings/leds/common.h>
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ciled-controller@2d {
348c2ecf20Sopenharmony_ci	compatible = "ti,lp8860";
358c2ecf20Sopenharmony_ci	#address-cells = <1>;
368c2ecf20Sopenharmony_ci	#size-cells = <0>;
378c2ecf20Sopenharmony_ci	reg = <0x2d>;
388c2ecf20Sopenharmony_ci	enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
398c2ecf20Sopenharmony_ci	vled-supply = <&vbatt>;
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ci	led@0 {
428c2ecf20Sopenharmony_ci		reg = <0>;
438c2ecf20Sopenharmony_ci		function = LED_FUNCTION_BACKLIGHT;
448c2ecf20Sopenharmony_ci		color = <LED_COLOR_ID_WHITE>;
458c2ecf20Sopenharmony_ci		linux,default-trigger = "backlight";
468c2ecf20Sopenharmony_ci	};
478c2ecf20Sopenharmony_ci}
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ciFor more product information please see the link below:
508c2ecf20Sopenharmony_cihttps://www.ti.com/product/lp8860-q1
51