From: Heiko Stuebner <heiko@sntech.de>
To: Kever Yang <kever.yang@rock-chips.com>
Cc: linux-rockchip@lists.infradead.org,
Kever Yang <kever.yang@rock-chips.com>,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
Conor Dooley <conor+dt@kernel.org>, Rob Herring <robh@kernel.org>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
"David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>,
Andrew Lunn <andrew+netdev@lunn.ch>,
David Wu <david.wu@rock-chips.com>,
Paolo Abeni <pabeni@redhat.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Eric Dumazet <edumazet@google.com>
Subject: Re: [PATCH 1/3] dt-bindings: net: Add support for rk3562 dwmac
Date: Thu, 26 Dec 2024 14:16:26 +0100 [thread overview]
Message-ID: <3453500.5fSG56mABF@phil> (raw)
In-Reply-To: <20241224094124.3816698-1-kever.yang@rock-chips.com>
Hi Kever,
Am Dienstag, 24. Dezember 2024, 10:41:22 CET schrieb Kever Yang:
> Add a rockchip,rk3562-gmac compatible for supporting the 2 gmac
> devices on the rk3562.
>
> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
> ---
>
> Documentation/devicetree/bindings/net/rockchip-dwmac.yaml | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
> index f8a576611d6c..02b7d9e78c40 100644
> --- a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
> +++ b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
> @@ -24,6 +24,7 @@ select:
> - rockchip,rk3366-gmac
> - rockchip,rk3368-gmac
> - rockchip,rk3399-gmac
> + - rockchip,rk3562-gmac
> - rockchip,rk3568-gmac
> - rockchip,rk3576-gmac
> - rockchip,rk3588-gmac
> @@ -49,9 +50,11 @@ properties:
> - rockchip,rk3366-gmac
> - rockchip,rk3368-gmac
> - rockchip,rk3399-gmac
> + - rockchip,rk3562-gmac
> - rockchip,rv1108-gmac
> - items:
> - enum:
> + - rockchip,rk3562-gmac
> - rockchip,rk3568-gmac
> - rockchip,rk3576-gmac
> - rockchip,rk3588-gmac
You only need to add the rk3562 only to one of those blocks.
The bottom one contains the snps,dwmac-4.20a element and looking at the
soc devicetree, it seems that is the correct one:
compatible = "rockchip,rk3562-gmac", "snps,dwmac-4.20a";
So you only need the second addition where the newer socs are in the enum.
> @@ -59,7 +62,7 @@ properties:
> - const: snps,dwmac-4.20a
>
> clocks:
> - minItems: 5
> + minItems: 4
> maxItems: 8
This should get mentioned in the commit message
Heiko
WARNING: multiple messages have this Message-ID (diff)
From: Heiko Stuebner <heiko@sntech.de>
To: Kever Yang <kever.yang@rock-chips.com>
Cc: linux-rockchip@lists.infradead.org,
Kever Yang <kever.yang@rock-chips.com>,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
Conor Dooley <conor+dt@kernel.org>, Rob Herring <robh@kernel.org>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
"David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>,
Andrew Lunn <andrew+netdev@lunn.ch>,
David Wu <david.wu@rock-chips.com>,
Paolo Abeni <pabeni@redhat.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Eric Dumazet <edumazet@google.com>
Subject: Re: [PATCH 1/3] dt-bindings: net: Add support for rk3562 dwmac
Date: Thu, 26 Dec 2024 14:16:26 +0100 [thread overview]
Message-ID: <3453500.5fSG56mABF@phil> (raw)
In-Reply-To: <20241224094124.3816698-1-kever.yang@rock-chips.com>
Hi Kever,
Am Dienstag, 24. Dezember 2024, 10:41:22 CET schrieb Kever Yang:
> Add a rockchip,rk3562-gmac compatible for supporting the 2 gmac
> devices on the rk3562.
>
> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
> ---
>
> Documentation/devicetree/bindings/net/rockchip-dwmac.yaml | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
> index f8a576611d6c..02b7d9e78c40 100644
> --- a/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
> +++ b/Documentation/devicetree/bindings/net/rockchip-dwmac.yaml
> @@ -24,6 +24,7 @@ select:
> - rockchip,rk3366-gmac
> - rockchip,rk3368-gmac
> - rockchip,rk3399-gmac
> + - rockchip,rk3562-gmac
> - rockchip,rk3568-gmac
> - rockchip,rk3576-gmac
> - rockchip,rk3588-gmac
> @@ -49,9 +50,11 @@ properties:
> - rockchip,rk3366-gmac
> - rockchip,rk3368-gmac
> - rockchip,rk3399-gmac
> + - rockchip,rk3562-gmac
> - rockchip,rv1108-gmac
> - items:
> - enum:
> + - rockchip,rk3562-gmac
> - rockchip,rk3568-gmac
> - rockchip,rk3576-gmac
> - rockchip,rk3588-gmac
You only need to add the rk3562 only to one of those blocks.
The bottom one contains the snps,dwmac-4.20a element and looking at the
soc devicetree, it seems that is the correct one:
compatible = "rockchip,rk3562-gmac", "snps,dwmac-4.20a";
So you only need the second addition where the newer socs are in the enum.
> @@ -59,7 +62,7 @@ properties:
> - const: snps,dwmac-4.20a
>
> clocks:
> - minItems: 5
> + minItems: 4
> maxItems: 8
This should get mentioned in the commit message
Heiko
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
next prev parent reply other threads:[~2024-12-26 13:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-24 9:41 [PATCH 1/3] dt-bindings: net: Add support for rk3562 dwmac Kever Yang
2024-12-24 9:41 ` Kever Yang
2024-12-24 9:41 ` [PATCH 2/3] ethernet: stmmac: dwmac-rk: Add gmac support for rk3562 Kever Yang
2024-12-24 9:41 ` Kever Yang
2024-12-26 13:26 ` Heiko Stuebner
2024-12-26 13:26 ` Heiko Stuebner
2024-12-24 9:41 ` [PATCH 3/3] ethernet: stmmac: dwmac-rk: Make the phy clock could be used for external phy Kever Yang
2024-12-24 9:41 ` Kever Yang
2024-12-26 13:16 ` Heiko Stuebner [this message]
2024-12-26 13:16 ` [PATCH 1/3] dt-bindings: net: Add support for rk3562 dwmac Heiko Stuebner
2024-12-27 8:58 ` Krzysztof Kozlowski
2024-12-27 8:58 ` Krzysztof Kozlowski
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=3453500.5fSG56mABF@phil \
--to=heiko@sntech.de \
--cc=andrew+netdev@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=david.wu@rock-chips.com \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=kever.yang@rock-chips.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.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.