1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/leds/regulator-led.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
13 Regulator LEDs are powered by a single regulator such that they can
14 be turned on or off by enabling or disabling the regulator. The available
15 brightness settings will be inferred from the available voltages on the
16 regulator, and any constraints on the voltage or current will need to be
17 specified on the regulator.
31 The regulator controlling the current to the LED.
35 linux,default-trigger: true
42 additionalProperties: false
46 #include <dt-bindings/leds/common.h>
49 compatible = "regulator-led";
50 vled-supply = <®ulator>;
51 function = LED_FUNCTION_STATUS;
52 color = <LED_COLOR_ID_BLUE>;
53 linux,default-trigger = "heartbeat";