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