Re: [PATCH net-next v5 2/3] dt-bindings: net: wiznet,w5100: add link status interrupt

From: Krzysztof Kozlowski

Date: Fri Aug 14 2026 - 03:19:51 EST


On Thu, Aug 13, 2026 at 10:58:15AM +0200, Arthur Crepin Leblond wrote:
> Add an optional link status interrupt which can be connected to the
> LINKLED pin on the device to detect link status changes.
>
> Signed-off-by: Arthur Crepin Leblond <arthur@xxxxxxxxxxxxx>
> ---
> .../devicetree/bindings/net/wiznet,w5100.yaml | 34 ++++++++++++++++++----
> 1 file changed, 29 insertions(+), 5 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/net/wiznet,w5100.yaml b/Documentation/devicetree/bindings/net/wiznet,w5100.yaml
> index 217f301db182..81f4382eb96c 100644
> --- a/Documentation/devicetree/bindings/net/wiznet,w5100.yaml
> +++ b/Documentation/devicetree/bindings/net/wiznet,w5100.yaml
> @@ -15,6 +15,33 @@ description: |
> allOf:
> - $ref: /schemas/net/ethernet-controller.yaml#
> - $ref: /schemas/spi/spi-peripheral-props.yaml#
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - wiznet,w5500
> + then:
> + properties:
> + interrupts:
> + minItems: 1
> + items:
> + - description: Main interrupt (INT pin on the device).
> + - description:
> + Optional interrupt for link status changes (LINKLED pin on
> + w5500).
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - wiznet,w5100
> + - wiznet,w5200
> + then:
> + properties:
> + interrupts:
> + items:
> + - description: Main interrupt (INT pin on the device).

allOf goes under required: block.

>
> properties:
> compatible:
> @@ -23,10 +50,6 @@ properties:
> - wiznet,w5200
> - wiznet,w5500
>
> - interrupts:
> - items:
> - - description: Main interrupt (INT pin on the device).
> -

Properties are always defined in top-level

I do not understand why you made such changes. I did not ask for them.
Read again WHERE exactly my comment appears.

Best regards,
Krzysztof