提交 2bd7378f 编写于 作者: L Linus Walleij

ARM: ux500: register LP5521 LEDs in the device tree

Based on pending device tree support in the LP55xx drivers
we can add the correct LED and channel configuration from the
ux500 device tree for all HREF variants.

Cc: Bryan Wu <cooloney@gmail.com>
Acked-by: NMilo Kim <Milo.Kim@ti.com>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 28521368
...@@ -63,16 +63,42 @@ ...@@ -63,16 +63,42 @@
}; };
i2c@80128000 { i2c@80128000 {
lp5521@0x33 { lp5521@33 {
compatible = "lp5521"; compatible = "national,lp5521";
reg = <0x33>; reg = <0x33>;
label = "lp5521_pri";
clock-mode = /bits/ 8 <2>;
chan0 {
led-cur = /bits/ 8 <0x2f>;
max-cur = /bits/ 8 <0x5f>;
};
chan1 {
led-cur = /bits/ 8 <0x2f>;
max-cur = /bits/ 8 <0x5f>;
};
chan2 {
led-cur = /bits/ 8 <0x2f>;
max-cur = /bits/ 8 <0x5f>;
};
}; };
lp5521@34 {
lp5521@0x34 { compatible = "national,lp5521";
compatible = "lp5521";
reg = <0x34>; reg = <0x34>;
label = "lp5521_sec";
clock-mode = /bits/ 8 <2>;
chan0 {
led-cur = /bits/ 8 <0x2f>;
max-cur = /bits/ 8 <0x5f>;
};
chan1 {
led-cur = /bits/ 8 <0x2f>;
max-cur = /bits/ 8 <0x5f>;
};
chan2 {
led-cur = /bits/ 8 <0x2f>;
max-cur = /bits/ 8 <0x5f>;
};
}; };
bh1780@0x29 { bh1780@0x29 {
compatible = "rohm,bh1780gli"; compatible = "rohm,bh1780gli";
reg = <0x33>; reg = <0x33>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册