brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · 17e9400 Raw
52 lines · plain
1* Texas Instruments - lm3601x Single-LED Flash Driver2 3The LM3601X are ultra-small LED flash drivers that4provide a high level of adjustability.5 6Required properties:7	- compatible : Can be one of the following8		"ti,lm36010"9		"ti,lm36011"10	- reg : I2C slave address11	- #address-cells : 112	- #size-cells : 013 14Required child properties:15	- reg : 0 - Indicates a IR mode16		1 - Indicates a Torch (white LED) mode17 18Required properties for flash LED child nodes:19	See Documentation/devicetree/bindings/leds/common.txt20	- flash-max-microamp : Range from 11mA - 1.5A21	- flash-max-timeout-us : Range from 40ms - 1600ms22	- led-max-microamp : Range from 2.4mA - 376mA23 24Optional child properties:25	- function : see Documentation/devicetree/bindings/leds/common.txt26	- color : see Documentation/devicetree/bindings/leds/common.txt27	- label : see Documentation/devicetree/bindings/leds/common.txt (deprecated)28 29Example:30 31#include <dt-bindings/leds/common.h>32 33led-controller@64 {34	compatible = "ti,lm36010";35	#address-cells = <1>;36	#size-cells = <0>;37	reg = <0x64>;38 39	led@0 {40		reg = <1>;41		function = LED_FUNCTION_TORCH;42		color = <LED_COLOR_ID_WHITE>;43		led-max-microamp = <376000>;44		flash-max-microamp = <1500000>;45		flash-max-timeout-us = <1600000>;46	};47}48 49For more product information please see the links below:50https://www.ti.com/product/LM3601051https://www.ti.com/product/LM3601152