Texas Instruments - LP8864/LP8866 4/6-Channel LED Driver family
Schema identifier ($id): "http://devicetree.org/schemas/leds/backlight/ti,lp8864.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andrew Davis <afd@ti.com>", "Alexander Sverdlin <alexander.sverdlin@siemens.com>"
LP8866-Q1, LP8866S-Q1, LP8864-Q1, LP8864S-Q1 are display LED-backlight drivers with 4/6 channels. LED brightness can be controlled globally through the I2C interface or PWM input.
For more product information please see the links below:
https://www.ti.com/product/LP8864-Q1
https://www.ti.com/product/LP8864S-Q1
https://www.ti.com/product/LP8866-Q1
https://www.ti.com/product/LP8866S-Q1
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,lp8864"
reg — required here #
Maximum number of items (maxItems): 1
I2C slave address
enable-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO pin to enable (active high) / disable the device
vled-supply — not listed as required here #
LED supply
led — required here #
Value type (type): "object"
Shared schema rule ($ref): common.yaml#
Properties and child nodes (properties) #
function — not listed as required here
true — No constraints added by this property rule.
color — not listed as required here
true — No constraints added by this property rule.
label — not listed as required here
true — No constraints added by this property rule.
linux,default-trigger — not listed as required here
true — No constraints added by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "led"
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>
#include <dt-bindings/leds/common.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
led-controller@3a {
compatible = "ti,lp8864";
reg = <0x3a>;
enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
vled-supply = <&vbatt>;
led {
function = LED_FUNCTION_BACKLIGHT;
color = <LED_COLOR_ID_WHITE>;
linux,default-trigger = "backlight";
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)