12f8270deSDan Murphy* Texas Instruments - lm3601x Single-LED Flash Driver 22f8270deSDan Murphy 32f8270deSDan MurphyThe LM3601X are ultra-small LED flash drivers that 42f8270deSDan Murphyprovide a high level of adjustability. 52f8270deSDan Murphy 62f8270deSDan MurphyRequired properties: 72f8270deSDan Murphy - compatible : Can be one of the following 82f8270deSDan Murphy "ti,lm36010" 92f8270deSDan Murphy "ti,lm36011" 102f8270deSDan Murphy - reg : I2C slave address 112f8270deSDan Murphy - #address-cells : 1 122f8270deSDan Murphy - #size-cells : 0 132f8270deSDan Murphy 142f8270deSDan MurphyRequired child properties: 152f8270deSDan Murphy - reg : 0 - Indicates a IR mode 162f8270deSDan Murphy 1 - Indicates a Torch (white LED) mode 172f8270deSDan Murphy 182f8270deSDan MurphyRequired properties for flash LED child nodes: 192f8270deSDan Murphy See Documentation/devicetree/bindings/leds/common.txt 202f8270deSDan Murphy - flash-max-microamp : Range from 11mA - 1.5A 212f8270deSDan Murphy - flash-max-timeout-us : Range from 40ms - 1600ms 222f8270deSDan Murphy - led-max-microamp : Range from 2.4mA - 376mA 232f8270deSDan Murphy 242f8270deSDan MurphyOptional child properties: 2528e12cf4SJacek Anaszewski - function : see Documentation/devicetree/bindings/leds/common.txt 2628e12cf4SJacek Anaszewski - color : see Documentation/devicetree/bindings/leds/common.txt 2728e12cf4SJacek Anaszewski - label : see Documentation/devicetree/bindings/leds/common.txt (deprecated) 282f8270deSDan Murphy 292f8270deSDan MurphyExample: 3028e12cf4SJacek Anaszewski 3128e12cf4SJacek Anaszewski#include <dt-bindings/leds/common.h> 3228e12cf4SJacek Anaszewski 332f8270deSDan Murphyled-controller@64 { 342f8270deSDan Murphy compatible = "ti,lm36010"; 352f8270deSDan Murphy #address-cells = <1>; 362f8270deSDan Murphy #size-cells = <0>; 372f8270deSDan Murphy reg = <0x64>; 382f8270deSDan Murphy 392f8270deSDan Murphy led@0 { 402f8270deSDan Murphy reg = <1>; 4128e12cf4SJacek Anaszewski function = LED_FUNCTION_TORCH; 4228e12cf4SJacek Anaszewski color = <LED_COLOR_ID_WHITE>; 432f8270deSDan Murphy led-max-microamp = <376000>; 442f8270deSDan Murphy flash-max-microamp = <1500000>; 452f8270deSDan Murphy flash-max-timeout-us = <1600000>; 462f8270deSDan Murphy }; 472f8270deSDan Murphy} 482f8270deSDan Murphy 492f8270deSDan MurphyFor more product information please see the links below: 50c5437338SAlexander A. Klimovhttps://www.ti.com/product/LM36010 51c5437338SAlexander A. Klimovhttps://www.ti.com/product/LM36011 52