summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/leds/leds-max77650.yaml
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2022-12-07 14:43:27 -0600
committerRob Herring <robh@kernel.org>2022-12-11 19:06:39 -0600
commit580f9896e088b399fc79f1421e56a1b68f0450b5 (patch)
tree2739acced4b50e67982b31caf9a5df1aa3301c76 /Documentation/devicetree/bindings/leds/leds-max77650.yaml
parent121164481b79d93824eed464117d331a002f5d75 (diff)
downloadlinux-stable-580f9896e088b399fc79f1421e56a1b68f0450b5.tar.gz
linux-stable-580f9896e088b399fc79f1421e56a1b68f0450b5.tar.bz2
linux-stable-580f9896e088b399fc79f1421e56a1b68f0450b5.zip
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>
Diffstat (limited to 'Documentation/devicetree/bindings/leds/leds-max77650.yaml')
-rw-r--r--Documentation/devicetree/bindings/leds/leds-max77650.yaml9
1 files changed, 2 insertions, 7 deletions
diff --git a/Documentation/devicetree/bindings/leds/leds-max77650.yaml b/Documentation/devicetree/bindings/leds/leds-max77650.yaml
index c6f96cabd4d1..fdb08f44a45d 100644
--- a/Documentation/devicetree/bindings/leds/leds-max77650.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-max77650.yaml
@@ -30,9 +30,8 @@ properties:
patternProperties:
"^led@[0-2]$":
- type: object
- description: |
- Properties for a single LED.
+ $ref: common.yaml#
+ unevaluatedProperties: false
properties:
reg:
@@ -41,10 +40,6 @@ patternProperties:
minimum: 0
maximum: 2
- label: true
-
- linux,default-trigger: true
-
required:
- compatible
- "#address-cells"