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
33 description: GPIO to use to enable/disable the backlight (HWEN pin).
46 Properties for a string of connected LEDs.
51 The control bank that is used to program the two current sinks. The
52 LM3630A has two control banks (A and B) and are represented as 0 or 1
53 in this property. The two current sinks can be controlled
54 independently with both banks, or bank A can be configured to control
55 both sinks with the led-sources property.
71 description: Default brightness level on boot.
76 description: Maximum brightness that is allowed during runtime.
80 ti,linear-mapping-mode:
82 Enable linear mapping mode. If disabled, then it will use exponential
83 mapping mode in which the ramp up/down appears to have a more uniform
84 transition to the human eye.
90 additionalProperties: false
92 additionalProperties: false
96 #include <dt-bindings/gpio/gpio.h>
102 compatible = "ti,lm3630a";
104 enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
106 #address-cells = <1>;
112 label = "lcd-backlight";
113 default-brightness = <200>;
114 max-brightness = <255>;
120 #address-cells = <1>;
124 compatible = "ti,lm3630a";
127 #address-cells = <1>;
132 default-brightness = <150>;
133 ti,linear-mapping-mode;
138 default-brightness = <225>;
139 ti,linear-mapping-mode;