1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/leds/backlight/lm3630a-backlight.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI LM3630A High-Efficiency Dual-String White LED
10 - Lee Jones <lee.jones@linaro.org>
11 - Daniel Thompson <daniel.thompson@linaro.org>
12 - Jingoo Han <jingoohan1@gmail.com>
15 The LM3630A is a current-mode boost converter which supplies the power and
16 controls the current in up to two strings of 10 LEDs per string.
17 https://www.ti.com/product/LM3630A
26 ti,linear-mapping-mode:
28 Enable linear mapping mode. If disabled, then it will use exponential
29 mapping mode in which the ramp up/down appears to have a more uniform
30 transition to the human eye.
41 Properties for a string of connected LEDs.
46 The control bank that is used to program the two current sinks. The
47 LM3630A has two control banks (A and B) and are represented as 0 or 1
48 in this property. The two current sinks can be controlled
49 independently with both banks, or bank A can be configured to control
50 both sinks with the led-sources property.
67 description: Default brightness level on boot.
72 description: Maximum brightness that is allowed during runtime.
79 additionalProperties: false
81 additionalProperties: false
90 compatible = "ti,lm3630a";
99 label = "lcd-backlight";
100 default-brightness = <200>;
101 max-brightness = <255>;
107 #address-cells = <1>;
111 compatible = "ti,lm3630a";
114 #address-cells = <1>;
119 default-brightness = <150>;
120 ti,linear-mapping-mode;
125 default-brightness = <225>;
126 ti,linear-mapping-mode;