xref: /freebsd/sys/contrib/device-tree/Bindings/leds/leds-max77650.yaml (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
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    type: object
34    description: |
35      Properties for a single LED.
36
37    properties:
38      reg:
39        description:
40          Index of the LED.
41        minimum: 0
42        maximum: 2
43
44      label: true
45
46      linux,default-trigger: true
47
48required:
49  - compatible
50  - "#address-cells"
51  - "#size-cells"
52additionalProperties: false
53
54...
55