[EXTERNAL] Re: [PATCH v4 1/2] dt-bindings: net: Add ICSSG Ethernet Driver bindings
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Mon Feb 6 02:41:27 PST 2023
On 06/02/2023 11:39, Md Danish Anwar wrote:
>>> + properties:
>>> + '#address-cells':
>>> + const: 1
>>> + '#size-cells':
>>> + const: 0
>>> +
>>> + patternProperties:
>>> + ^port@[0-1]$:
>>> + type: object
>>> + description: ICSSG PRUETH external ports
>>> +
>
> At least one ethernet port is required. Should I add the below line here for this?
>
> minItems: 1
You need after the patternProperties:
anyOf:
- required:
- port at 0
- required:
- port at 1
>
>
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list