Re: [PATCH v2] dt-bindings: example-schema: Show example of dependentRequired
From: Krzysztof Kozlowski
Date: Wed Nov 11 2026 - 14:11:22 EST
On 11/11/2026 18:21, Rob Herring wrote:
>>
>> +# Properties might be required only if some other property is present.
>> +# dependentRequired is a shorter and preferred way to express this, instead of
>> +# if:then: block.
>> +dependentRequired:
>
> Update 'dependencies' instead. We can drop 'dependencies' for
> dependentRequired. Would be good to add a dependentSchemas too though we
> don't use that too much.
Ack, I'll add also dependentSchemas
Best regards,
Krzysztof