Re: [PATCH] dt-bindings: net: xilinx_gmii2rgmii: Convert to json schema

From: Krzysztof Kozlowski
Date: Thu Jul 13 2023 - 14:54:06 EST


On 13/07/2023 17:59, Andrew Lunn wrote:
>>> +examples:
>>> + - |
>>> + mdio {
>>> + #address-cells = <1>;
>>> + #size-cells = <0>;
>>> + phy: ethernet-phy@0 {
>>> + reg = <0>;
>>> + };
>>
>> Drop this node, quite obvious.
>
> Dumb question. Isn't it needed since it is referenced by phy-handle =
> <&phy> below. Without it, the fragment is not valid DT and so the
> checking tools will fail?

No, because the example is compiled with silencing missing phandles.

Best regards,
Krzysztof