Re: [RFC net-next PATCH 01/13] dt-bindings: net: Add binding for Xilinx PCS

From: Krzysztof Kozlowski
Date: Fri Apr 04 2025 - 06:40:14 EST


On 04/04/2025 12:37, Krzysztof Kozlowski wrote:
>> + pcs-modes:
>> + description:
>> + The interfaces that the PCS supports.
>> + oneOf:
>> + - const: sgmii
>> + - const: 1000base-x
>> + - const: 2500base-x
>> + - items:
>> + - const: sgmii
>> + - const: 1000base-x
>
> This is confusing. Why fallbacks? Shouldn't this be just enum? And
> where is the type or constraints about number of items?
>
I just double checked now in dtschema and latest next - there is no such
property.

Best regards,
Krzysztof