Texas Instruments LP855X backlight controllers
Schema identifier ($id): "http://devicetree.org/schemas/leds/backlight/lp855x-backlight.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Artur Weber <aweber.kernel@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,lp8550", "ti,lp8551", "ti,lp8552", "ti,lp8553", "ti,lp8555", "ti,lp8556", "ti,lp8557"
reg — required here #
Maximum number of items (maxItems): 1
dev-ctrl — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8
Value of device control register. This is a device-specific value.
bl-name — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Backlight device name.
init-brt — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8
Initial value of backlight brightness.
power-supply — not listed as required here #
Regulator which controls the 3V rail.
enable-supply — not listed as required here #
Regulator which controls the EN/VDDIO input.
pwms — not listed as required here #
Maximum number of items (maxItems): 1
PWM channel to use for controlling the backlight; setting this enables the PWM-based backlight control mode.
pwm-names — not listed as required here #
true — No constraints added by this property rule.
pwm-period — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
PWM period value. Deprecated; set the period value in the pwms property instead.
Deprecated (deprecated): true
Properties matching a name pattern (patternProperties) #
^rom-[0-9a-f]{2}h$ — name matches this regular expression #
Value type (type): "object"
Nodes containing the values of configuration registers.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
rom-addr — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8
Register address of ROM area to be updated.
rom-val — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8
Value to write to the ROM register.
Required in this object (required): "compatible", "reg", "dev-ctrl"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
backlight@2c {
compatible = "ti,lp8555";
reg = <0x2c>;
dev-ctrl = /bits/ 8 <0x00>;
pwms = <&pwm 0 10000>;
pwm-names = "lp8555";
/* 4V OV, 4 output LED0 string enabled */
rom-14h {
rom-addr = /bits/ 8 <0x14>;
rom-val = /bits/ 8 <0xcf>;
};
/* Heavy smoothing, 24ms ramp time step */
rom-15h {
rom-addr = /bits/ 8 <0x15>;
rom-val = /bits/ 8 <0xc7>;
};
/* 4 output LED1 string enabled */
rom-19h {
rom-addr = /bits/ 8 <0x19>;
rom-val = /bits/ 8 <0x0f>;
};
};
};
i2c {
#address-cells = <1>;
#size-cells = <0>;
backlight@2c {
compatible = "ti,lp8556";
reg = <0x2c>;
bl-name = "lcd-bl";
dev-ctrl = /bits/ 8 <0x85>;
init-brt = /bits/ 8 <0x10>;
};
};
i2c {
#address-cells = <1>;
#size-cells = <0>;
backlight@2c {
compatible = "ti,lp8557";
reg = <0x2c>;
enable-supply = <&backlight_vddio>;
power-supply = <&backlight_vdd>;
dev-ctrl = /bits/ 8 <0x41>;
init-brt = /bits/ 8 <0x0a>;
/* 4V OV, 4 output LED string enabled */
rom-14h {
rom-addr = /bits/ 8 <0x14>;
rom-val = /bits/ 8 <0xcf>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)