Kinetic Technologies KTD253 and KTD259 one-wire backlight

Schema identifier ($id): "http://devicetree.org/schemas/leds/backlight/kinetic,ktd253.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

The Kinetic Technologies KTD253 and KTD259 are white LED backlights 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".

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): common.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "kinetic,ktd253", "kinetic,ktd259"

enable-gpios — required here #

GPIO to use to enable/disable and dim the backlight.

Maximum number of items (maxItems): 1

default-brightness — not listed as required here #

true — No constraints added by this property rule.

max-brightness — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "enable-gpios"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
backlight {
    compatible = "kinetic,ktd253";
    enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
    default-brightness = <13>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page