Kinetic Technologies KTZ8866 backlight

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

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

Maintainers (maintainers): "Jianhua Lu <lujianhua000@gmail.com>"

The Kinetic Technologies KTZ8866 is a high efficiency 6-channels-current-sinks led backlight with dual lcd bias power. https://www.kinet-ic.com/ktz8866/

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,ktz8866"

reg — required here #

Maximum number of items (maxItems): 1

vddpos-supply — required here #

positive boost supply regulator.

vddneg-supply — required here #

negative boost supply regulator.

enable-gpios — required here #

GPIO to use to enable/disable the backlight (HWEN pin).

Maximum number of items (maxItems): 1

current-num-sinks — not listed as required here #

number of the LED current sinks' channels.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 1, 2, 3, 4, 5, 6

kinetic,current-ramp-delay-ms — not listed as required here #

LED current ramping delay time in milliseconds, note that the case 1 will be mapped to 1μs.

Allowed values (enum): 1, 2, 4, 8, 16, 32, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640

kinetic,led-enable-ramp-delay-ms — not listed as required here #

LED on/off ramping delay time in milliseconds, note that the case 0 will be mapped to 512μs because ktz8866 can't ramp faster than it.

Allowed values (enum): 0, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384

kinetic,enable-lcd-bias — not listed as required here #

Set if we want to output bias power supply for LCD.

Value type (type): "boolean"

Required in this object (required): "compatible", "reg", "vddpos-supply", "vddneg-supply", "enable-gpios"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

i2c {
    #address-cells = <1>;
    #size-cells = <0>;

    backlight@11 {
        compatible = "kinetic,ktz8866";
        reg = <0x11>;
        vddpos-supply = <&bl_vddpos_5p5>;
        vddneg-supply = <&bl_vddneg_5p5>;
        enable-gpios = <&tlmm 139 GPIO_ACTIVE_HIGH>;
        current-num-sinks = <5>;
        kinetic,current-ramp-delay-ms = <128>;
        kinetic,led-enable-ramp-delay-ms = <1>;
        kinetic,enable-lcd-bias;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page