xref: /linux/Documentation/devicetree/bindings/leds/leds-max77650.yaml (revision 156010ed9c2ac1e9df6c11b1f688cf8a6e0152e6)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/leds/leds-max77650.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: LED driver for MAX77650 PMIC from Maxim Integrated.
8
9maintainers:
10  - Bartosz Golaszewski <bgolaszewski@baylibre.com>
11
12description: |
13  This module is part of the MAX77650 MFD device. For more details
14  see Documentation/devicetree/bindings/mfd/max77650.yaml.
15
16  The LED controller is represented as a sub-node of the PMIC node on
17  the device tree.
18
19  This device has three current sinks.
20
21properties:
22  compatible:
23    const: maxim,max77650-led
24
25  "#address-cells":
26    const: 1
27
28  "#size-cells":
29    const: 0
30
31patternProperties:
32  "^led@[0-2]$":
33    $ref: common.yaml#
34    unevaluatedProperties: false
35
36    properties:
37      reg:
38        description:
39          Index of the LED.
40        minimum: 0
41        maximum: 2
42
43required:
44  - compatible
45  - "#address-cells"
46  - "#size-cells"
47additionalProperties: false
48
49...
50