Re: [PATCH net-next v3 12/12] dt-bindings: net: add Microchip's LAN865X 10BASE-T1S MACPHY
From: Krzysztof Kozlowski
Date: Fri Mar 22 2024 - 03:03:52 EST
On 22/03/2024 07:25, Parthiban.Veerasooran@xxxxxxxxxxxxx wrote:
>>> properties:
>>> compatible:
>>> oneOf:
>>> - items:
>>> - const: microchip,lan8651
>>> - const: microchip,lan8650
>> No, this is not right either. You need to also allow the lan8650 on its
>> own. All you had to do with the original items list was flip the order
>> of the lan8650 and lan8651.
> Ah ok, now I understand this. Then it is supposed to be like below,
>
> properties:
>
> compatible:
>
> oneOf:
>
> - const: microchip,lan8650
>
> - items:
>
> - const: microchip,lan8651
>
> - const: microchip,lan8650
>
> Executed dt_binding_check with the above update and it was successful.
> Hope this is OK?
This is the third time you ask us. None of the previous cases were
actually tested. Maybe this one was, maybe not. I assume the latter.
First, test your code.
Best regards,
Krzysztof