Re: [PATCH net-next] dt-bindings: net: qca,ar9331: convert to DT schema

From: Krzysztof Kozlowski
Date: Mon Feb 12 2024 - 13:20:53 EST


On 12/02/2024 18:52, Conor Dooley wrote:
> On Mon, Feb 12, 2024 at 11:54:45AM +0100, Krzysztof Kozlowski wrote:
>
>> + mdio:
>> + $ref: /schemas/net/mdio.yaml#
>> + unevaluatedProperties: false
>> + properties:
>> + interrupt-parent: true
>> +
>> + patternProperties:
>> + '@[0-9a-f]+$':
>
> The thing I don't quite follow in this binding is why this regex is so
> permissive. Is it not limited to "just" phys?
>

I took it from mdio.yaml, because I want to extend it with interrupts,
but it makes sense to narrow it to ethernet-phy. The phys are part of
the device so I think they are fixed.

Best regards,
Krzysztof