1 *NXP - pca9532 PWM LED Driver
2
3 The PCA9532 family is SMBus I/O expander optimized for dimming LEDs.
4 The PWM support 256 steps.
5
6 Required properties:
7 - compatible:
8 "nxp,pca9530"
9 "nxp,pca9531"
10 "nxp,pca9532"
11 "nxp,pca9533"
12 - reg - I2C slave address
13
14 Each led is represented as a sub-node of the nxp,pca9530.
15
16 Optional sub-node properties:
17 - label: see Documentation/devicetree/bindings/leds/common.txt
18 - type: Output configuration, see dt-bindings/leds/leds-pca9532.h (default NONE)
19 - linux,default-trigger: see Documentation/devicetree/bindings/leds/common.txt
20 - default-state: see Documentation/devicetree/bindings/leds/common.txt
21 This property is only valid for sub-nodes of type <PCA9532_TYPE_LED>.
22
23 Example:
24 #include <dt-bindings/leds/leds-pca9532.h>
25
26 leds: pca9530@60 {
27 compatible = "nxp,pca9530";
28 reg = <0x60>;
29
30 red-power {
31 label = "pca:red:power";
32 type = <PCA9532_TYPE_LED>;
33 };
34 green-power {
35 label = "pca:green:power";
36 type = <PCA9532_TYPE_LED>;
37 };
38 kernel-booting {
39 type = <PCA9532_TYPE_LED>;
40 default-state = "on";
41 };
42 sys-stat {
43 type = <PCA9532_TYPE_LED>;
44 default-state = "keep"; // don't touch, was set by U-Boot
45 };
46 };
47
48 For more product information please see the link below:
49 http://nxp.com/documents/data_sheet/PCA9532.pdf
Cache object: b391382f09c32c8306a95c8016de7f9b
|