brintos

brintos / linux-shallow public Read only

0
0
Text · 749 B · f21b55c Raw
28 lines · plain
1NXP PCA9685 16-channel 12-bit PWM LED controller2================================================3 4Required properties:5  - compatible: "nxp,pca9685-pwm"6  - #pwm-cells: Should be 2. See pwm.yaml in this directory for a description of7    the cells format.8    The index 16 is the ALLCALL channel, that sets all PWM channels at the same9    time.10 11Optional properties:12  - invert (bool): boolean to enable inverted logic13  - open-drain (bool): boolean to configure outputs with open-drain structure;14		       if omitted use totem-pole structure15 16Example:17 18For LEDs that are directly connected to the PCA, the following setting is19applicable:20 21pca: pca@41 {22	compatible = "nxp,pca9685-pwm";23	#pwm-cells = <2>;24	reg = <0x41>;25	invert;26	open-drain;27};28