1 Binding for TI/National Semiconductor LP55xx Led Drivers
4 - compatible: "national,lp5521" or "national,lp5523" or "ti,lp5562" or "ti,lp8501"
5 - reg: I2C slave address
6 - clock-mode: Input clock mode, (0: automode, 1: internal, 2: external)
8 Each child has own specific current settings
9 - led-cur: Current setting at each led channel (mA x10, 0 if led is not connected)
10 - max-cur: Maximun current at each led channel.
13 - enable-gpio: GPIO attached to the chip's enable pin
14 - label: Used for naming LEDs
15 - pwr-sel: LP8501 specific property. Power selection for output channels.
16 0: D1~9 are connected to VDD
17 1: D1~6 with VDD, D7~9 with VOUT
18 2: D1~6 with VOUT, D7~9 with VDD
19 3: D1~9 are connected to VOUT
21 Alternatively, each child can have a specific channel name and trigger:
22 - chan-name (optional): name of channel
23 - linux,default-trigger (optional): see
24 Documentation/devicetree/bindings/leds/common.txt
27 3 LED channels, external clock used. Channel names are 'lp5521_pri:channel0',
28 'lp5521_pri:channel1' and 'lp5521_pri:channel2', with a heartbeat trigger
32 compatible = "national,lp5521";
35 clock-mode = /bits/ 8 <2>;
38 led-cur = /bits/ 8 <0x2f>;
39 max-cur = /bits/ 8 <0x5f>;
40 linux,default-trigger = "heartbeat";
44 led-cur = /bits/ 8 <0x2f>;
45 max-cur = /bits/ 8 <0x5f>;
49 led-cur = /bits/ 8 <0x2f>;
50 max-cur = /bits/ 8 <0x5f>;
55 9 LED channels with specific name. Internal clock used.
56 The I2C slave address is configurable with ASEL1 and ASEL0 pins.
57 Available addresses are 32/33/34/35h.
60 -------------------------
67 compatible = "national,lp5523";
69 clock-mode = /bits/ 8 <1>;
73 led-cur = /bits/ 8 <0x14>;
74 max-cur = /bits/ 8 <0x20>;
79 led-cur = /bits/ 8 <0x14>;
80 max-cur = /bits/ 8 <0x20>;
85 led-cur = /bits/ 8 <0x14>;
86 max-cur = /bits/ 8 <0x20>;
91 led-cur = /bits/ 8 <0x14>;
92 max-cur = /bits/ 8 <0x20>;
97 led-cur = /bits/ 8 <0x14>;
98 max-cur = /bits/ 8 <0x20>;
103 led-cur = /bits/ 8 <0x14>;
104 max-cur = /bits/ 8 <0x20>;
109 led-cur = /bits/ 8 <0x14>;
110 max-cur = /bits/ 8 <0x20>;
115 led-cur = /bits/ 8 <0x14>;
116 max-cur = /bits/ 8 <0x20>;
121 led-cur = /bits/ 8 <0x14>;
122 max-cur = /bits/ 8 <0x20>;
127 4 channels are defined.
130 compatible = "ti,lp5562";
132 clock-mode = /bits/8 <2>;
136 led-cur = /bits/ 8 <0x20>;
137 max-cur = /bits/ 8 <0x60>;
142 led-cur = /bits/ 8 <0x20>;
143 max-cur = /bits/ 8 <0x60>;
148 led-cur = /bits/ 8 <0x20>;
149 max-cur = /bits/ 8 <0x60>;
154 led-cur = /bits/ 8 <0x20>;
155 max-cur = /bits/ 8 <0x60>;
160 9 channels are defined. The 'pwr-sel' is LP8501 specific property.
161 Others are same as LP5523.
164 compatible = "ti,lp8501";
166 clock-mode = /bits/ 8 <2>;
167 pwr-sel = /bits/ 8 <3>; /* D1~9 connected to VOUT */
171 led-cur = /bits/ 8 <0x14>;
172 max-cur = /bits/ 8 <0x20>;
177 led-cur = /bits/ 8 <0x14>;
178 max-cur = /bits/ 8 <0x20>;
183 led-cur = /bits/ 8 <0x14>;
184 max-cur = /bits/ 8 <0x20>;
189 led-cur = /bits/ 8 <0x14>;
190 max-cur = /bits/ 8 <0x20>;
195 led-cur = /bits/ 8 <0x14>;
196 max-cur = /bits/ 8 <0x20>;
201 led-cur = /bits/ 8 <0x14>;
202 max-cur = /bits/ 8 <0x20>;
207 led-cur = /bits/ 8 <0x14>;
208 max-cur = /bits/ 8 <0x20>;
213 led-cur = /bits/ 8 <0x14>;
214 max-cur = /bits/ 8 <0x20>;
219 led-cur = /bits/ 8 <0x14>;
220 max-cur = /bits/ 8 <0x20>;