From: Krzysztof Kozlowski <krzk@kernel.org>
To: Mikhail Lukianchikov <avermoal@gmail.com>, Rengarajan.S@microchip.com
Cc: andrew+netdev@lunn.ch, conor+dt@kernel.org, davem@davemloft.net,
devicetree@vger.kernel.org, edumazet@google.com,
krzk+dt@kernel.org, kuba@kernel.org,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
pabeni@redhat.com, robh@kernel.org
Subject: Re: [PATCH v3] dt-bindings: net: microchip,lan78xx: convert to DT schema
Date: Sat, 11 Jul 2026 18:58:13 +0200 [thread overview]
Message-ID: <68630192-970b-4b1c-9dc5-d4145d3eb15f@kernel.org> (raw)
In-Reply-To: <20260711105537.11065-2-avermoal@gmail.com>
On 11/07/2026 12:55, Mikhail Lukianchikov wrote:
> The conversion adds proper validation for the 'microchip,led-modes'
> property inside the MDIO node.
It was in the old binding, so I don't understand this part. You list
here changes done to the binding during conversion. I see no change, so
what does this refer to?
>
> Signed-off-by: Mikhail Lukianchikov <avermoal@gmail.com>
> ---
> Changes in v3:
> - Added $ref to ethernet-phy.yaml for PHY node to use standard PHY properties.
> - Dropped redundant PHY description and manual 'reg' property definition.
> - Dropped root node and fake compatibles in the example.
>
> Link to v2: https://lore.kernel.org/netdev/20260709181724.24682-2-avermoal@gmail.com
>
> .../bindings/net/microchip,lan7800.yaml | 96 +++++++++++++++++++
> .../bindings/net/microchip,lan78xx.txt | 53 ----------
> MAINTAINERS | 3 +-
> 3 files changed, 97 insertions(+), 55 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/net/microchip,lan7800.yaml
> delete mode 100644 Documentation/devicetree/bindings/net/microchip,lan78xx.txt
>
> diff --git a/Documentation/devicetree/bindings/net/microchip,lan7800.yaml b/Documentation/devicetree/bindings/net/microchip,lan7800.yaml
> new file mode 100644
> index 000000000000..730999d11e8a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/net/microchip,lan7800.yaml
> @@ -0,0 +1,96 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/net/microchip,lan7800.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Microchip LAN7800/LAN7801/LAN7850 Gigabit Ethernet controller
> +
> +maintainers:
> + - Rengarajan Sundararajan <Rengarajan.S@microchip.com>
> +
> +description:
> + The LAN7800/LAN7801/LAN7850 devices are usually configured by
> + programming their OTP or with an external EEPROM, but some
> + platforms (e.g. Raspberry Pi 3 B+) have neither. The Device Tree
> + properties, if present, override the OTP and EEPROM.
> +
> +allOf:
> + - $ref: /schemas/usb/usb-device.yaml#
> + - $ref: /schemas/net/ethernet-controller.yaml#
> +
> +properties:
> + compatible:
> + enum:
> + - usb424,7800
> + - usb424,7801
> + - usb424,7850
> +
> + reg:
> + maxItems: 1
> + description: USB port number
> +
> + local-mac-address:
> + $ref: /schemas/types.yaml#/definitions/uint8-array
> + minItems: 6
> + maxItems: 6
> + description:
> + MAC address to use if not stored in OTP or EEPROM. If present,
> + overrides OTP/EEPROM.
Drop local-mac-address, already coming from network-class schema.
> +
> + mdio:
> + $ref: /schemas/net/mdio.yaml#
> + unevaluatedProperties: false
...
> diff --git a/MAINTAINERS b/MAINTAINERS
> index f37a81950e25..157a677a284f 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -27928,10 +27928,9 @@ F: drivers/usb/isp1760/*
> USB LAN78XX ETHERNET DRIVER
> M: Thangaraj Samynathan <Thangaraj.S@microchip.com>
> M: Rengarajan Sundararajan <Rengarajan.S@microchip.com>
> -M: UNGLinuxDriver@microchip.com
I don't understand this change. No one requested this. Not explained in
commit msg at all.
> L: netdev@vger.kernel.org
> S: Maintained
> -F: Documentation/devicetree/bindings/net/microchip,lan78xx.txt
> +F: Documentation/devicetree/bindings/net/microchip,lan7800.yaml
> F: drivers/net/usb/lan78xx.*
> F: include/dt-bindings/net/microchip-lan78xx.h
>
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-07-11 16:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-11 10:55 [PATCH v3] dt-bindings: net: microchip,lan78xx: convert to DT schema Mikhail Lukianchikov
2026-07-11 16:58 ` Krzysztof Kozlowski [this message]
2026-07-12 11:02 ` sashiko-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=68630192-970b-4b1c-9dc5-d4145d3eb15f@kernel.org \
--to=krzk@kernel.org \
--cc=Rengarajan.S@microchip.com \
--cc=andrew+netdev@lunn.ch \
--cc=avermoal@gmail.com \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.