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 - label: Used for naming LEDs
14 - pwr-sel: LP8501 specific property. Power selection for output channels.
15 0: D1~9 are connected to VDD
16 1: D1~6 with VDD, D7~9 with VOUT
17 2: D1~6 with VOUT, D7~9 with VDD
18 3: D1~9 are connected to VOUT
20 Alternatively, each child can have a specific channel name and trigger:
21 - chan-name (optional): name of channel
22 - linux,default-trigger (optional): see
23 Documentation/devicetree/bindings/leds/common.txt
26 3 LED channels, external clock used. Channel names are 'lp5521_pri:channel0',
27 'lp5521_pri:channel1' and 'lp5521_pri:channel2', with a heartbeat trigger
31 compatible = "national,lp5521";
34 clock-mode = /bits/ 8 <2>;
37 led-cur = /bits/ 8 <0x2f>;
38 max-cur = /bits/ 8 <0x5f>;
39 linux,default-trigger = "heartbeat";
43 led-cur = /bits/ 8 <0x2f>;
44 max-cur = /bits/ 8 <0x5f>;
48 led-cur = /bits/ 8 <0x2f>;
49 max-cur = /bits/ 8 <0x5f>;
54 9 LED channels with specific name. Internal clock used.
55 The I2C slave address is configurable with ASEL1 and ASEL0 pins.
56 Available addresses are 32/33/34/35h.
59 -------------------------
66 compatible = "national,lp5523";
68 clock-mode = /bits/ 8 <1>;
72 led-cur = /bits/ 8 <0x14>;
73 max-cur = /bits/ 8 <0x20>;
78 led-cur = /bits/ 8 <0x14>;
79 max-cur = /bits/ 8 <0x20>;
84 led-cur = /bits/ 8 <0x14>;
85 max-cur = /bits/ 8 <0x20>;
90 led-cur = /bits/ 8 <0x14>;
91 max-cur = /bits/ 8 <0x20>;
96 led-cur = /bits/ 8 <0x14>;
97 max-cur = /bits/ 8 <0x20>;
102 led-cur = /bits/ 8 <0x14>;
103 max-cur = /bits/ 8 <0x20>;
108 led-cur = /bits/ 8 <0x14>;
109 max-cur = /bits/ 8 <0x20>;
114 led-cur = /bits/ 8 <0x14>;
115 max-cur = /bits/ 8 <0x20>;
120 led-cur = /bits/ 8 <0x14>;
121 max-cur = /bits/ 8 <0x20>;
126 4 channels are defined.
129 compatible = "ti,lp5562";
131 clock-mode = /bits/8 <2>;
135 led-cur = /bits/ 8 <0x20>;
136 max-cur = /bits/ 8 <0x60>;
141 led-cur = /bits/ 8 <0x20>;
142 max-cur = /bits/ 8 <0x60>;
147 led-cur = /bits/ 8 <0x20>;
148 max-cur = /bits/ 8 <0x60>;
153 led-cur = /bits/ 8 <0x20>;
154 max-cur = /bits/ 8 <0x60>;
159 9 channels are defined. The 'pwr-sel' is LP8501 specific property.
160 Others are same as LP5523.
163 compatible = "ti,lp8501";
165 clock-mode = /bits/ 8 <2>;
166 pwr-sel = /bits/ 8 <3>; /* D1~9 connected to VOUT */
170 led-cur = /bits/ 8 <0x14>;
171 max-cur = /bits/ 8 <0x20>;
176 led-cur = /bits/ 8 <0x14>;
177 max-cur = /bits/ 8 <0x20>;
182 led-cur = /bits/ 8 <0x14>;
183 max-cur = /bits/ 8 <0x20>;
188 led-cur = /bits/ 8 <0x14>;
189 max-cur = /bits/ 8 <0x20>;
194 led-cur = /bits/ 8 <0x14>;
195 max-cur = /bits/ 8 <0x20>;
200 led-cur = /bits/ 8 <0x14>;
201 max-cur = /bits/ 8 <0x20>;
206 led-cur = /bits/ 8 <0x14>;
207 max-cur = /bits/ 8 <0x20>;
212 led-cur = /bits/ 8 <0x14>;
213 max-cur = /bits/ 8 <0x20>;
218 led-cur = /bits/ 8 <0x14>;
219 max-cur = /bits/ 8 <0x20>;