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
42 Properties for a string of connected LEDs.
47 The control bank that is used to program the two current sinks. The
48 LM3630A has two control banks (A and B) and are represented as 0 or 1
49 in this property. The two current sinks can be controlled
50 independently with both banks, or bank A can be configured to control
51 both sinks with the led-sources property.
67 description: Default brightness level on boot.
72 description: Maximum brightness that is allowed during runtime.
76 ti,linear-mapping-mode:
78 Enable linear mapping mode. If disabled, then it will use exponential
79 mapping mode in which the ramp up/down appears to have a more uniform
80 transition to the human eye.
86 additionalProperties: false
88 additionalProperties: false
97 compatible = "ti,lm3630a";
100 #address-cells = <1>;
106 label = "lcd-backlight";
107 default-brightness = <200>;
108 max-brightness = <255>;
114 #address-cells = <1>;
118 compatible = "ti,lm3630a";
121 #address-cells = <1>;
126 default-brightness = <150>;
127 ti,linear-mapping-mode;
132 default-brightness = <225>;
133 ti,linear-mapping-mode;