Merge branches 'pm-epoll', 'pnp' and 'powercap'
[deliverable/linux.git] / Documentation / devicetree / bindings / leds / pca963x.txt
1 LEDs connected to pca9632, pca9633 or pca9634
2
3 Required properties:
4 - compatible : should be : "nxp,pca9632", "nxp,pca9633" or "nxp,pca9634"
5
6 Optional properties:
7 - nxp,totem-pole : use totem pole (push-pull) instead of default open-drain
8 - nxp,hw-blink : use hardware blinking instead of software blinking
9
10 Each led is represented as a sub-node of the nxp,pca963x device.
11
12 LED sub-node properties:
13 - label : (optional) see Documentation/devicetree/bindings/leds/common.txt
14 - reg : number of LED line (could be from 0 to 3 in pca9632 or pca9633
15 or 0 to 7 in pca9634)
16 - linux,default-trigger : (optional)
17 see Documentation/devicetree/bindings/leds/common.txt
18
19 Examples:
20
21 pca9632: pca9632 {
22 compatible = "nxp,pca9632";
23 #address-cells = <1>;
24 #size-cells = <0>;
25 reg = <0x62>;
26
27 red@0 {
28 label = "red";
29 reg = <0>;
30 linux,default-trigger = "none";
31 };
32 green@1 {
33 label = "green";
34 reg = <1>;
35 linux,default-trigger = "none";
36 };
37 blue@2 {
38 label = "blue";
39 reg = <2>;
40 linux,default-trigger = "none";
41 };
42 unused@3 {
43 label = "unused";
44 reg = <3>;
45 linux,default-trigger = "none";
46 };
47 };
This page took 0.036191 seconds and 5 git commands to generate.