1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/leds/backlight/ti,lm3509.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI LM3509 High Efficiency Boost for White LED's and/or OLED Displays
10 - Patrick Gansterer <paroga@paroga.com>
13 The LM3509 current mode boost converter offers two separate outputs.
14 https://www.ti.com/product/LM3509
32 ti,brightness-rate-of-change-us:
33 description: Brightness Rate of Change in microseconds.
34 enum: [51, 13000, 26000, 52000]
37 description: Enable OLED mode.
43 description: Properties for a string of connected LEDs.
49 The control register that is used to program the two current sinks.
50 The LM3509 has two registers (BMAIN and BSUB) and are represented
51 as 0 or 1 in this property. The two current sinks can be controlled
52 independently with both registers, or register BMAIN can be
53 configured to control both sinks with the led-sources property.
79 additionalProperties: false
85 additionalProperties: false
89 #include <dt-bindings/gpio/gpio.h>
95 compatible = "ti,lm3509";
97 reset-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
100 ti,brightness-rate-of-change-us = <52000>;
102 #address-cells = <1>;
108 label = "lcd-backlight";
109 default-brightness = <12>;
110 max-brightness = <31>;
116 #address-cells = <1>;
120 compatible = "ti,lm3509";
123 #address-cells = <1>;
128 default-brightness = <12>;
133 default-brightness = <15>;