1 Binding for TI/National Semiconductor LP55xx Led Drivers
11 - reg: I2C slave address
12 - clock-mode: Input clock mode, (0: automode, 1: internal, 2: external)
14 Each child has own specific current settings
15 - led-cur: Current setting at each led channel (mA x10, 0 if led is not connected)
16 - max-cur: Maximun current at each led channel.
19 - enable-gpio: GPIO attached to the chip's enable pin
20 - label: Used for naming LEDs
21 - pwr-sel: LP8501 specific property. Power selection for output channels.
22 0: D1~9 are connected to VDD
23 1: D1~6 with VDD, D7~9 with VOUT
24 2: D1~6 with VOUT, D7~9 with VDD
25 3: D1~9 are connected to VOUT
27 Alternatively, each child can have a specific channel name and trigger:
28 - chan-name (optional): name of channel
29 - linux,default-trigger (optional): see
30 Documentation/devicetree/bindings/leds/common.txt
33 3 LED channels, external clock used. Channel names are 'lp5521_pri:channel0',
34 'lp5521_pri:channel1' and 'lp5521_pri:channel2', with a heartbeat trigger
38 compatible = "national,lp5521";
41 clock-mode = /bits/ 8 <2>;
44 led-cur = /bits/ 8 <0x2f>;
45 max-cur = /bits/ 8 <0x5f>;
46 linux,default-trigger = "heartbeat";
50 led-cur = /bits/ 8 <0x2f>;
51 max-cur = /bits/ 8 <0x5f>;
55 led-cur = /bits/ 8 <0x2f>;
56 max-cur = /bits/ 8 <0x5f>;
61 9 LED channels with specific name. Internal clock used.
62 The I2C slave address is configurable with ASEL1 and ASEL0 pins.
63 Available addresses are 32/33/34/35h.
66 -------------------------
73 compatible = "national,lp5523";
75 clock-mode = /bits/ 8 <1>;
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 led-cur = /bits/ 8 <0x14>;
128 max-cur = /bits/ 8 <0x20>;
133 4 channels are defined.
136 compatible = "ti,lp5562";
138 clock-mode = /bits/8 <2>;
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 led-cur = /bits/ 8 <0x20>;
161 max-cur = /bits/ 8 <0x60>;
166 9 channels are defined. The 'pwr-sel' is LP8501 specific property.
167 Others are same as LP5523.
170 compatible = "ti,lp8501";
172 clock-mode = /bits/ 8 <2>;
173 pwr-sel = /bits/ 8 <3>; /* D1~9 connected to VOUT */
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>;
225 led-cur = /bits/ 8 <0x14>;
226 max-cur = /bits/ 8 <0x20>;