blob: f84ec9d291ea885d8d30045c3093876fa4b0e455 [file] [log] [blame]
Steffen Trumtrar88b613e2013-05-30 09:50:12 +02001NXP PCA9685 16-channel 12-bit PWM LED controller
2================================================
3
4Required properties:
5 - compatible: "nxp,pca9685-pwm"
Laurent Pinchartebeec0a2013-07-18 00:54:23 +02006 - #pwm-cells: Should be 2. See pwm.txt in this directory for a description of
7 the cells format.
Steffen Trumtrar88b613e2013-05-30 09:50:12 +02008 The index 16 is the ALLCALL channel, that sets all PWM channels at the same
9 time.
10
11Optional properties:
12 - invert (bool): boolean to enable inverted logic
13 - open-drain (bool): boolean to configure outputs with open-drain structure;
14 if omitted use totem-pole structure
15
16Example:
17
18For LEDs that are directly connected to the PCA, the following setting is
19applicable:
20
21pca: pca@41 {
22 compatible = "nxp,pca9685-pwm";
23 #pwm-cells = <2>;
24 reg = <0x41>;
25 invert;
26 open-drain;
27};