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