Lines Matching +full:auto +full:- +full:i2c

1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Martin Kurbanov <mmkurbanov@sberdevices.ru>
13 It is a matrix LED driver programmed via an I2C interface. Devices have
15 for auto breathing or group dimming control. Supported devices:
16 - AW20036 (3x12) 36 LEDs
17 - AW20054 (6x9) 54 LEDs
18 - AW20072 (6x12) 72 LEDs
19 - AW20108 (9x12) 108 LEDs
22 aw20036 - https://www.awinic.com/en/productDetail/AW20036QNR#tech-docs
23 aw20054 - https://www.awinic.com/en/productDetail/AW20054QNR#tech-docs
24 aw20072 - https://www.awinic.com/en/productDetail/AW20072QNR#tech-docs
25 aw20108 - https://www.awinic.com/en/productDetail/AW20108QNR#tech-docs
30 - awinic,aw20036
31 - awinic,aw20054
32 - awinic,aw20072
33 - awinic,aw20108
38 "#address-cells":
41 "#size-cells":
44 enable-gpios:
48 "^led@[0-9a-f]+$":
59 led-max-microamp:
66 IMAXled = 160000 * (592 / 600.5) * (1 / max-current-switch-number)
68 IMINled = 3300 * (592 / 600.5) * (1 / max-current-switch-number)
69 where max-current-switch-number is determinated by led configuration
73 - if:
80 "^led@[0-9a-f]+$":
87 - if:
94 "^led@[0-9a-f]+$":
101 - if:
108 "^led@[0-9a-f]+$":
115 - if:
122 "^led@[0-9a-f]+$":
130 - compatible
131 - reg
132 - "#address-cells"
133 - "#size-cells"
138 - |
139 #include <dt-bindings/gpio/gpio.h>
140 #include <dt-bindings/leds/common.h>
142 i2c {
143 #address-cells = <1>;
144 #size-cells = <0>;
146 led-controller@3a {
149 #address-cells = <1>;
150 #size-cells = <0>;
151 enable-gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
156 led-max-microamp = <9780>;
162 led-max-microamp = <9780>;
168 led-max-microamp = <9780>;