1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/leds/backlight/lp855x-backlight.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments LP855X backlight controllers
10 - Artur Weber <aweber.kernel@gmail.com>
27 $ref: /schemas/types.yaml#/definitions/uint8
29 Value of device control register. This is a device-specific value.
32 $ref: /schemas/types.yaml#/definitions/string
33 description: Backlight device name.
36 $ref: /schemas/types.yaml#/definitions/uint8
37 description: Initial value of backlight brightness.
40 description: Regulator which controls the 3V rail.
43 description: Regulator which controls the EN/VDDIO input.
48 PWM channel to use for controlling the backlight; setting this
49 enables the PWM-based backlight control mode.
54 $ref: /schemas/types.yaml#/definitions/uint32
56 PWM period value. Deprecated; set the period value in the pwms
63 description: Nodes containing the values of configuration registers.
64 additionalProperties: false
67 $ref: /schemas/types.yaml#/definitions/uint8
68 description: Register address of ROM area to be updated.
71 $ref: /schemas/types.yaml#/definitions/uint8
72 description: Value to write to the ROM register.
79 unevaluatedProperties: false
88 compatible = "ti,lp8555";
91 dev-ctrl = /bits/ 8 <0x00>;
93 pwms = <&pwm 0 10000>;
96 /* 4V OV, 4 output LED0 string enabled */
98 rom-addr = /bits/ 8 <0x14>;
99 rom-val = /bits/ 8 <0xcf>;
102 /* Heavy smoothing, 24ms ramp time step */
104 rom-addr = /bits/ 8 <0x15>;
105 rom-val = /bits/ 8 <0xc7>;
108 /* 4 output LED1 string enabled */
110 rom-addr = /bits/ 8 <0x19>;
111 rom-val = /bits/ 8 <0x0f>;
117 #address-cells = <1>;
121 compatible = "ti,lp8556";
125 dev-ctrl = /bits/ 8 <0x85>;
126 init-brt = /bits/ 8 <0x10>;
131 #address-cells = <1>;
135 compatible = "ti,lp8557";
137 enable-supply = <&backlight_vddio>;
138 power-supply = <&backlight_vdd>;
140 dev-ctrl = /bits/ 8 <0x41>;
141 init-brt = /bits/ 8 <0x0a>;
143 /* 4V OV, 4 output LED string enabled */
145 rom-addr = /bits/ 8 <0x14>;
146 rom-val = /bits/ 8 <0xcf>;