50 lines
1.2 KiB
YAML
Raw Normal View History

2026-01-21 18:59:54 +08:00
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/leds/backlight/kinetic,ktd253.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
2026-01-29 22:25:33 +08:00
title: Kinetic Technologies KTD253 and KTD259 one-wire backlight
2026-01-21 18:59:54 +08:00
maintainers:
- Linus Walleij <linus.walleij@linaro.org>
description: |
2026-01-29 22:25:33 +08:00
The Kinetic Technologies KTD253 and KTD259 are white LED backlights
2026-01-21 18:59:54 +08:00
controlled by a single GPIO line. If you just turn on the backlight
it goes to maximum backlight then you can set the level of backlight
using pulses on the enable wire. This is sometimes referred to as
"expresswire".
allOf:
- $ref: common.yaml#
properties:
compatible:
2026-01-29 22:25:33 +08:00
items:
- enum:
- kinetic,ktd253
- kinetic,ktd259
2026-01-21 18:59:54 +08:00
enable-gpios:
description: GPIO to use to enable/disable and dim the backlight.
maxItems: 1
default-brightness: true
max-brightness: true
required:
- compatible
- enable-gpios
additionalProperties: false
examples:
- |
#include <dt-bindings/gpio/gpio.h>
backlight {
compatible = "kinetic,ktd253";
enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
default-brightness = <13>;
};