Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/leds/leds-max77650.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: LED driver for MAX77650 PMIC from Maxim Integrated.
0008 
0009 maintainers:
0010   - Bartosz Golaszewski <bgolaszewski@baylibre.com>
0011 
0012 description: |
0013   This module is part of the MAX77650 MFD device. For more details
0014   see Documentation/devicetree/bindings/mfd/max77650.yaml.
0015 
0016   The LED controller is represented as a sub-node of the PMIC node on
0017   the device tree.
0018 
0019   This device has three current sinks.
0020 
0021 properties:
0022   compatible:
0023     const: maxim,max77650-led
0024 
0025   "#address-cells":
0026     const: 1
0027 
0028   "#size-cells":
0029     const: 0
0030 
0031 patternProperties:
0032   "^led@[0-2]$":
0033     type: object
0034     description: |
0035       Properties for a single LED.
0036 
0037     properties:
0038       reg:
0039         description:
0040           Index of the LED.
0041         minimum: 0
0042         maximum: 2
0043 
0044       label: true
0045 
0046       linux,default-trigger: true
0047 
0048 required:
0049   - compatible
0050   - "#address-cells"
0051   - "#size-cells"
0052 additionalProperties: false
0053 
0054 ...