47 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/leds/backlight/kinetic,ktd2801.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Kinetic Technologies KTD2801 one-wire backlight8 9maintainers:10 - Duje Mihanović <duje.mihanovic@skole.hr>11 12description: |13 The Kinetic Technologies KTD2801 is a LED backlight driver controlled14 by a single GPIO line. The driver can be controlled with a PWM signal15 or by pulsing the GPIO line to set the backlight level. This is called16 "ExpressWire".17 18allOf:19 - $ref: common.yaml#20 21properties:22 compatible:23 const: kinetic,ktd280124 25 ctrl-gpios:26 maxItems: 127 28 default-brightness: true29 max-brightness: true30 31required:32 - compatible33 - ctrl-gpios34 35additionalProperties: false36 37examples:38 - |39 #include <dt-bindings/gpio/gpio.h>40 41 backlight {42 compatible = "kinetic,ktd2801";43 ctrl-gpios = <&gpio 97 GPIO_ACTIVE_HIGH>;44 max-brightness = <210>;45 default-brightness = <100>;46 };47