1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 $id: http://devicetree.org/schemas/leds/nxp,pca963x.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP PCA963x LED controllers
10 - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
13 The NXP PCA963x are I2C-controlled LED drivers optimized for
14 Red/Green/Blue/Amber (RGBA) color mixing applications. Each LED is
15 individually controllable and has its own PWM controller.
17 Datasheets are available at
19 - https://www.nxp.com/docs/en/data-sheet/PCA9632.pdf
20 - https://www.nxp.com/docs/en/data-sheet/PCA9633.pdf
21 - https://www.nxp.com/docs/en/data-sheet/PCA9634.pdf
22 - https://www.nxp.com/docs/en/data-sheet/PCA9635.pdf
44 Use hardware blinking instead of software blinking
49 Invert the polarity of the generated PWM.
52 $ref: /schemas/types.yaml#/definitions/uint32
54 In some configurations, the chip blinks faster than expected. This
55 parameter provides a scaling ratio (fixed point, decimal divided by 1000)
56 to compensate, e.g. 1300=1.3x and 750=0.75x.
61 Use totem pole (push-pull) instead of open-drain (pca9632 defaults to
62 open-drain, newer chips to totem pole).
68 unevaluatedProperties: false
98 additionalProperties: false
102 #include <dt-bindings/leds/common.h>
105 #address-cells = <1>;
109 compatible = "nxp,pca9632";
111 #address-cells = <1>;
116 color = <LED_COLOR_ID_RED>;
117 function = LED_FUNCTION_STATUS;
122 color = <LED_COLOR_ID_GREEN>;
123 function = LED_FUNCTION_STATUS;
128 color = <LED_COLOR_ID_BLUE>;
129 function = LED_FUNCTION_STATUS;
134 color = <LED_COLOR_ID_WHITE>;
135 function = LED_FUNCTION_STATUS;