Commit 468434a0 authored by Christian Marangi's avatar Christian Marangi Committed by Lee Jones

dt-bindings: leds-lp55xx: Limit pwr-sel property to ti,lp8501

pwr-sel property is specific to ti,lp8501, make it conditional of the
related compatible.
Signed-off-by: default avatarChristian Marangi <ansuelsmth@gmail.com>
Acked-by: default avatarRob Herring (Arm) <robh@kernel.org>
Link: https://lore.kernel.org/r/20240626160027.19703-2-ansuelsmth@gmail.comSigned-off-by: default avatarLee Jones <lee@kernel.org>
parent c581f17a
...@@ -151,6 +151,16 @@ patternProperties: ...@@ -151,6 +151,16 @@ patternProperties:
$ref: /schemas/types.yaml#/definitions/string $ref: /schemas/types.yaml#/definitions/string
description: name of channel description: name of channel
if:
not:
properties:
compatible:
contains:
const: ti,lp8501
then:
properties:
pwr-sel: false
required: required:
- compatible - compatible
- reg - reg
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment