Kinetic Technologies KTD2801 one-wire backlight
Schema identifier ($id): "http://devicetree.org/schemas/leds/backlight/kinetic,ktd2801.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Duje Mihanović <duje.mihanovic@skole.hr>"
The Kinetic Technologies KTD2801 is a LED backlight driver controlled by a single GPIO line. The driver can be controlled with a PWM signal or by pulsing the GPIO line to set the backlight level. This is called "ExpressWire".
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):common.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "kinetic,ktd2801"
ctrl-gpios — required here #
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", "ctrl-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,ktd2801";
ctrl-gpios = <&gpio 97 GPIO_ACTIVE_HIGH>;
max-brightness = <210>;
default-brightness = <100>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)