1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/leds/kinetic,ktd202x.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Kinetic KTD2026/7 RGB/White LED Driver
10 - André Apitzsch <git@apitzsch.eu>
13 The KTD2026/7 is a RGB/White LED driver with I2C interface.
15 The data sheet can be found at:
16 https://www.kinet-ic.com/uploads/KTD2026-7-04h.pdf
28 description: Regulator providing power to the "VIN" pin.
31 description: Regulator providing power for pull-up of the I/O lines.
32 Note that this regulator does not directly connect to KTD2026, but is
33 needed for the correct operation of the status ("ST") and I2C lines.
43 $ref: leds-class-multicolor.yaml#
44 unevaluatedProperties: false
57 unevaluatedProperties: false
61 description: Index of the LED.
77 unevaluatedProperties: false
81 description: Index of the LED.
94 additionalProperties: false
98 #include <dt-bindings/leds/common.h>
101 #address-cells = <1>;
105 compatible = "kinetic,ktd2026";
107 #address-cells = <1>;
110 vin-supply = <&pm8916_l17>;
111 vio-supply = <&pm8916_l6>;
115 function = LED_FUNCTION_STATUS;
116 color = <LED_COLOR_ID_RED>;
121 function = LED_FUNCTION_STATUS;
122 color = <LED_COLOR_ID_GREEN>;
127 function = LED_FUNCTION_STATUS;
128 color = <LED_COLOR_ID_BLUE>;
133 #include <dt-bindings/leds/common.h>
136 #address-cells = <1>;
140 compatible = "kinetic,ktd2026";
142 #address-cells = <1>;
145 vin-supply = <&pm8916_l17>;
146 vio-supply = <&pm8916_l6>;
149 color = <LED_COLOR_ID_RGB>;
150 function = LED_FUNCTION_STATUS;
152 #address-cells = <1>;
157 color = <LED_COLOR_ID_RED>;
162 color = <LED_COLOR_ID_GREEN>;
167 color = <LED_COLOR_ID_BLUE>;