1*4882a593SmuzhiyunNXP PCA9685 16-channel 12-bit PWM LED controller 2*4882a593Smuzhiyun================================================ 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunRequired properties: 5*4882a593Smuzhiyun - compatible: "nxp,pca9685-pwm" 6*4882a593Smuzhiyun - #pwm-cells: Should be 2. See pwm.yaml in this directory for a description of 7*4882a593Smuzhiyun the cells format. 8*4882a593Smuzhiyun The index 16 is the ALLCALL channel, that sets all PWM channels at the same 9*4882a593Smuzhiyun time. 10*4882a593Smuzhiyun 11*4882a593SmuzhiyunOptional properties: 12*4882a593Smuzhiyun - invert (bool): boolean to enable inverted logic 13*4882a593Smuzhiyun - open-drain (bool): boolean to configure outputs with open-drain structure; 14*4882a593Smuzhiyun if omitted use totem-pole structure 15*4882a593Smuzhiyun 16*4882a593SmuzhiyunExample: 17*4882a593Smuzhiyun 18*4882a593SmuzhiyunFor LEDs that are directly connected to the PCA, the following setting is 19*4882a593Smuzhiyunapplicable: 20*4882a593Smuzhiyun 21*4882a593Smuzhiyunpca: pca@41 { 22*4882a593Smuzhiyun compatible = "nxp,pca9685-pwm"; 23*4882a593Smuzhiyun #pwm-cells = <2>; 24*4882a593Smuzhiyun reg = <0x41>; 25*4882a593Smuzhiyun invert; 26*4882a593Smuzhiyun open-drain; 27*4882a593Smuzhiyun}; 28