brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · 8bb2574 Raw
51 lines · plain
1* Texas Instruments - lp8860 4-Channel LED Driver2 3The LP8860-Q1 is an high-efficiency LED4driver with boost controller. It has 4 high-precision5current sinks that can be controlled by a PWM input6signal, a SPI/I2C master, or both.7 8Required properties:9	- compatible :10		"ti,lp8860"11	- reg : I2C slave address12	- #address-cells : 113	- #size-cells : 014 15Optional properties:16	- enable-gpios : gpio pin to enable (active high)/disable the device.17	- vled-supply : LED supply18 19Required child properties:20	- reg : 021 22Optional child properties:23	- function : see Documentation/devicetree/bindings/leds/common.txt24	- color : see Documentation/devicetree/bindings/leds/common.txt25	- label : see Documentation/devicetree/bindings/leds/common.txt (deprecated)26	- linux,default-trigger :27	   see Documentation/devicetree/bindings/leds/common.txt28 29Example:30 31#include <dt-bindings/leds/common.h>32 33led-controller@2d {34	compatible = "ti,lp8860";35	#address-cells = <1>;36	#size-cells = <0>;37	reg = <0x2d>;38	enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;39	vled-supply = <&vbatt>;40 41	led@0 {42		reg = <0>;43		function = LED_FUNCTION_BACKLIGHT;44		color = <LED_COLOR_ID_WHITE>;45		linux,default-trigger = "backlight";46	};47}48 49For more product information please see the link below:50https://www.ti.com/product/lp8860-q151