1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/leds/awinic,aw200xx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: AWINIC AW200XX LED
10 - Martin Kurbanov <mmkurbanov@sberdevices.ru>
13 This controller is present on AW20036/AW20054/AW20072.
14 It is a 3x12/6x9/6x12 matrix LED programmed via
15 an I2C interface, up to 36/54/72 LEDs or 12/18/24 RGBs,
16 3 pattern controllers for auto breathing or group dimming control.
18 For more product information please see the link below:
19 aw20036 - https://www.awinic.com/en/productDetail/AW20036QNR#tech-docs
20 aw20054 - https://www.awinic.com/en/productDetail/AW20054QNR#tech-docs
21 aw20072 - https://www.awinic.com/en/productDetail/AW20072QNR#tech-docs
40 $ref: /schemas/types.yaml#/definitions/uint32
48 unevaluatedProperties: false
59 Note that a driver will take the minimum of all LED limits
60 since the chip has a single global setting.
61 The maximum output current of each LED is calculated by the
63 IMAXled = 160000 * (592 / 600.5) * (1 / display-rows)
64 And the minimum output current formula:
65 IMINled = 3300 * (592 / 600.5) * (1 / display-rows)
87 enum: [1, 2, 3, 4, 5, 6, 7]
89 additionalProperties: false
93 #include <dt-bindings/leds/common.h>
100 compatible = "awinic,aw20036";
102 #address-cells = <1>;
104 awinic,display-rows = <3>;
108 color = <LED_COLOR_ID_RED>;
109 led-max-microamp = <9780>;
114 color = <LED_COLOR_ID_GREEN>;
115 led-max-microamp = <9780>;
120 color = <LED_COLOR_ID_BLUE>;
121 led-max-microamp = <9780>;