accel/qaic: Add AIC200 support
[drm/drm-misc.git] / Documentation / devicetree / bindings / leds / backlight / kinetic,ktd2801.yaml
blobb005065e0f48a7cd6c8ceebfc9256cb45ff41ab9
1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/leds/backlight/kinetic,ktd2801.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Kinetic Technologies KTD2801 one-wire backlight
9 maintainers:
10   - Duje Mihanović <duje.mihanovic@skole.hr>
12 description: |
13   The Kinetic Technologies KTD2801 is a LED backlight driver controlled
14   by a single GPIO line. The driver can be controlled with a PWM signal
15   or by pulsing the GPIO line to set the backlight level. This is called
16   "ExpressWire".
18 allOf:
19   - $ref: common.yaml#
21 properties:
22   compatible:
23     const: kinetic,ktd2801
25   ctrl-gpios:
26     maxItems: 1
28   default-brightness: true
29   max-brightness: true
31 required:
32   - compatible
33   - ctrl-gpios
35 additionalProperties: false
37 examples:
38   - |
39     #include <dt-bindings/gpio/gpio.h>
41     backlight {
42         compatible = "kinetic,ktd2801";
43         ctrl-gpios = <&gpio 97 GPIO_ACTIVE_HIGH>;
44         max-brightness = <210>;
45         default-brightness = <100>;
46     };