Back to home page

OSCL-LXR

 
 

    


0001 NXP PCA9685 16-channel 12-bit PWM LED controller
0002 ================================================
0003 
0004 Required properties:
0005   - compatible: "nxp,pca9685-pwm"
0006   - #pwm-cells: Should be 2. See pwm.yaml in this directory for a description of
0007     the cells format.
0008     The index 16 is the ALLCALL channel, that sets all PWM channels at the same
0009     time.
0010 
0011 Optional properties:
0012   - invert (bool): boolean to enable inverted logic
0013   - open-drain (bool): boolean to configure outputs with open-drain structure;
0014                        if omitted use totem-pole structure
0015 
0016 Example:
0017 
0018 For LEDs that are directly connected to the PCA, the following setting is
0019 applicable:
0020 
0021 pca: pca@41 {
0022         compatible = "nxp,pca9685-pwm";
0023         #pwm-cells = <2>;
0024         reg = <0x41>;
0025         invert;
0026         open-drain;
0027 };