Re: [PATCH v3] dt-bindings: example-schema: Show example of dependentRequired and dependentSchemas

From: Rob Herring (Arm)

Date: Wed Nov 11 2026 - 20:16:32 EST



On Wed, 11 Nov 2026 19:41:40 +0100, Krzysztof Kozlowski wrote:
> Document example usage of dependentRequired, a shorter and preferred
> form of conditional property requirement over dependencies and
> if:then: block, and dependentSchemas replacing the if:required:then:.
>
> Place both after the "required:" list.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
>
> ---
>
> Changes in v3:
> 1. Replace existing dependencies and add dependentSchemas
>
> Changes in v2:
> 1. Use clocks/clock-names in the dependentRequired, to avoid conflict
> with existing foo-supply constraint.
> ---
> .../devicetree/bindings/example-schema.yaml | 33 ++++++++++---------
> 1 file changed, 18 insertions(+), 15 deletions(-)
>

Applied, thanks!