Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: LED driver for MAX77650 PMIC from Maxim Integrated. |
| 8 | |
| 9 | maintainers: |
| 10 | - Bartosz Golaszewski <bgolaszewski@baylibre.com> |
| 11 | |
| 12 | description: | |
| 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 | |
| 21 | properties: |
| 22 | compatible: |
| 23 | const: maxim,max77650-led |
| 24 | |
| 25 | "#address-cells": |
| 26 | const: 1 |
| 27 | |
| 28 | "#size-cells": |
| 29 | const: 0 |
| 30 | |
| 31 | patternProperties: |
| 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 | |
| 43 | required: |
| 44 | - compatible |
| 45 | - "#address-cells" |
| 46 | - "#size-cells" |
| 47 | additionalProperties: false |
| 48 | |
| 49 | ... |