Re: [PATCH net-next 1/3] dt-bindings: net: Add Cortina CS7542 MDIO controller

From: Andrew Lunn

Date: Tue Nov 24 2026 - 14:29:14 EST


> [Severity: Medium]
> Is this schema missing an input clock, and possibly a reset?
>
> The description says the block has an MDC prescaler, which means it
> divides some input clock. The schema only adds compatible and reg on top of
> mdio.yaml. With unevaluatedProperties: false, any DT node that has a clocks
> or resets property fails validation.

It does get messy to add this later, since you have to keep backwards
compatibility to old DT blobs which don't have it.

If you can add the clock to the SoC .dtsi file now, it will make
things simpler later, even if the current driver does not use it.

Andrew