Lines Matching +full:regulator +full:- +full:led
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/leds/regulator-led.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Regulator LEDs
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
16 regulator, and any constraints on the voltage or current will need to be
17 specified on the regulator.
20 - $ref: common.yaml#
24 pattern: '^led.*$'
27 const: regulator-led
29 vled-supply:
31 The regulator controlling the current to the LED.
35 linux,default-trigger: true
36 default-state: true
39 - compatible
40 - vled-supply
45 - |
46 #include <dt-bindings/leds/common.h>
48 led-heartbeat {
49 compatible = "regulator-led";
50 vled-supply = <®ulator>;
53 linux,default-trigger = "heartbeat";