1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/leds/silergy,sy7802.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Silergy SY7802 1800mA Boost Charge Pump LED Driver
10 - André Apitzsch <git@apitzsch.eu>
13 The SY7802 is a current-regulated charge pump which can regulate two current
14 levels for Flash and Torch modes.
16 The SY7802 is a high-current synchronous boost converter with 2-channel
17 high side current sources. Each channel is able to deliver 900mA current.
29 description: A connection to the 'EN' pin.
33 description: A connection to the 'FLEN' pin.
36 description: Regulator providing power to the 'VIN' pin.
48 unevaluatedProperties: false
52 description: Index of the LED.
74 additionalProperties: false
78 #include <dt-bindings/gpio/gpio.h>
79 #include <dt-bindings/leds/common.h>
85 flash-led-controller@53 {
86 compatible = "silergy,sy7802";
91 enable-gpios = <&tlmm 16 GPIO_ACTIVE_HIGH>;
95 function = LED_FUNCTION_FLASH;
96 color = <LED_COLOR_ID_WHITE>;
97 led-sources = <0>, <1>;