blob: 198f3ba0e01f822dc8c148158a01551205571072 [file] [log] [blame]
Phil Reidfa4191a2016-06-14 15:36:17 +08001*NXP - pca9532 PWM LED Driver
2
3The PCA9532 family is SMBus I/O expander optimized for dimming LEDs.
4The PWM support 256 steps.
5
6Required properties:
7 - compatible:
8 "nxp,pca9530"
9 "nxp,pca9531"
10 "nxp,pca9532"
11 "nxp,pca9533"
12 - reg - I2C slave address
13
14Each led is represented as a sub-node of the nxp,pca9530.
15
16Optional 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
21Example:
22 #include <dt-bindings/leds/leds-pca9532.h>
23
24 leds: pca9530@60 {
25 compatible = "nxp,pca9530";
26 reg = <0x60>;
27
28 red-power {
29 label = "pca:red:power";
30 type = <PCA9532_TYPE_LED>;
31 };
32 green-power {
33 label = "pca:green:power";
34 type = <PCA9532_TYPE_LED>;
35 };
36 };
37
38For more product information please see the link below:
39http://nxp.com/documents/data_sheet/PCA9532.pdf