linux-stable/Documentation/devicetree/bindings/leds/leds-max77650.yaml
Rob Herring 580f9896e0 dt-bindings: leds: Add missing references to common LED schema
'led' nodes should have a reference to LED common.yaml schema. Add it where
missing and drop any duplicate properties.

Acked-by: Lee Jones <lee@kernel.org>
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221207204327.2810001-2-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
2022-12-11 19:06:39 -06:00

49 lines
990 B
YAML

# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/leds/leds-max77650.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: LED driver for MAX77650 PMIC from Maxim Integrated.
maintainers:
- Bartosz Golaszewski <bgolaszewski@baylibre.com>
description: |
This module is part of the MAX77650 MFD device. For more details
see Documentation/devicetree/bindings/mfd/max77650.yaml.
The LED controller is represented as a sub-node of the PMIC node on
the device tree.
This device has three current sinks.
properties:
compatible:
const: maxim,max77650-led
"#address-cells":
const: 1
"#size-cells":
const: 0
patternProperties:
"^led@[0-2]$":
$ref: common.yaml#
unevaluatedProperties: false
properties:
reg:
description:
Index of the LED.
minimum: 0
maximum: 2
required:
- compatible
- "#address-cells"
- "#size-cells"
additionalProperties: false
...