From: Geert Uytterhoeven <geert@linux-m68k.org>
To: claudiu beznea <claudiu.beznea@tuxon.dev>
Cc: s.shtylyov@omp.ru, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
linux@armlinux.org.uk, magnus.damm@gmail.com,
mturquette@baylibre.com, sboyd@kernel.org,
linus.walleij@linaro.org, p.zabel@pengutronix.de, arnd@arndb.de,
m.szyprowski@samsung.com, alexandre.torgue@foss.st.com,
afd@ti.com, broonie@kernel.org, alexander.stein@ew.tq-group.com,
eugen.hristev@collabora.com, sergei.shtylyov@gmail.com,
prabhakar.mahadev-lad.rj@bp.renesas.com,
biju.das.jz@bp.renesas.com, linux-renesas-soc@vger.kernel.org,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org,
linux-gpio@vger.kernel.org,
Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Subject: Re: [PATCH 10/14] arm64: renesas: r9a08g045: Add Ethernet nodes
Date: Mon, 4 Dec 2023 10:00:03 +0100 [thread overview]
Message-ID: <CAMuHMdVmD7-AUn91SaOq1iOMkcGhi0WNvx8bCX3oD+xa-Bt98g@mail.gmail.com> (raw)
In-Reply-To: <b3701927-e41a-44d8-8f91-da245b76f532@tuxon.dev>
Hi Claudiu,
On Mon, Dec 4, 2023 at 9:38 AM claudiu beznea <claudiu.beznea@tuxon.dev> wrote:
> On 04.12.2023 10:02, Geert Uytterhoeven wrote:
> > On Mon, Dec 4, 2023 at 8:41 AM claudiu beznea <claudiu.beznea@tuxon.dev> wrote:
> >> On 01.12.2023 19:35, Geert Uytterhoeven wrote:
> >>> On Mon, Nov 20, 2023 at 8:01 AM Claudiu <claudiu.beznea@tuxon.dev> wrote:
> >>>> From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
> >>>>
> >>>> Add Ethernet nodes available on RZ/G3S (R9A08G045).
> >>>>
> >>>> Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
> >>>
> >>> Thanks for your patch!
> >>>
> >>>> --- a/arch/arm64/boot/dts/renesas/r9a08g045.dtsi
> >>>> +++ b/arch/arm64/boot/dts/renesas/r9a08g045.dtsi
> >>>> @@ -149,6 +149,38 @@ sdhi2: mmc@11c20000 {
> >>>> status = "disabled";
> >>>> };
> >>>>
> >>>> + eth0: ethernet@11c30000 {
> >>>> + compatible = "renesas,r9a08g045-gbeth", "renesas,rzg2l-gbeth";
> >>>> + reg = <0 0x11c30000 0 0x10000>;
> >>>> + interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>,
> >>>> + <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
> >>>> + <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>;
> >>>> + interrupt-names = "mux", "fil", "arp_ns";
> >>>> + clocks = <&cpg CPG_MOD R9A08G045_ETH0_CLK_AXI>,
> >>>> + <&cpg CPG_MOD R9A08G045_ETH0_CLK_CHI>,
> >>>> + <&cpg CPG_MOD R9A08G045_ETH0_REFCLK>;
> >>>> + clock-names = "axi", "chi", "refclk";
> >>>> + resets = <&cpg R9A08G045_ETH0_RST_HW_N>;
> >>>> + power-domains = <&cpg>;
> >>>
> >>> Perhaps add a default phy mode, like on other SoCs?
> >>>
> >>> phy-mode = "rgmii"';
> >>
> >> I skipped this (even it was available on the other SoCs) as I consider the
> >> phy-mode is board specific.
> >
> > IC. Still, it's good to have some consistency across boards.
> >
> >>> Also missing:
> >>>
> >>> #address-cells = <1>;
> >>> #size-cells = <0>;
> >>
> >> Same for these.
> >
> > These are required, and always have the same values, so it makes more
> > sense to have them in the SoC .dtsi file, once.
>
> I remember I had a compilation warning with an Ethernet controller
> configured with fixed-link having #address-cells, #size-cells. With
> fixed-link these were not needed.
I think EtherAVB always use MDIO for management, so fixed-link is
not applicable.
> Anyway... I'll keep all in dtsi if you prefer it this way.
Yes please, thanks!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
next prev parent reply other threads:[~2023-12-04 9:00 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-20 7:00 [PATCH 00/14] renesas: rzg3s: Add support for Ethernet Claudiu
2023-11-20 7:00 ` [PATCH 01/14] clk: renesas: rzg2l-cpg: Reuse code in rzg2l_cpg_reset() Claudiu
2023-11-23 15:48 ` Geert Uytterhoeven
2023-11-20 7:00 ` [PATCH 02/14] clk: renesas: rzg2l-cpg: Check reset monitor registers Claudiu
2023-11-23 15:53 ` Geert Uytterhoeven
2023-11-23 17:19 ` claudiu beznea
2023-11-20 7:00 ` [PATCH 03/14] clk: renesas: rzg2l-cpg: Add support for MSTOP Claudiu
2023-11-23 16:35 ` Geert Uytterhoeven
2023-11-24 9:08 ` Geert Uytterhoeven
2023-11-27 7:37 ` claudiu beznea
2023-12-01 15:36 ` Geert Uytterhoeven
2023-11-24 9:24 ` claudiu beznea
2023-11-20 7:00 ` [PATCH 04/14] clk: renesas: r9a08g045-cpg: Add clock and reset support for ETH0 and ETH1 Claudiu
2023-12-01 15:59 ` Geert Uytterhoeven
2023-12-04 7:34 ` claudiu beznea
2023-11-20 7:00 ` [PATCH 05/14] pinctrl: renesas: rzg2l: Move arg in the main function block Claudiu
2023-12-01 16:15 ` Geert Uytterhoeven
2023-12-04 7:37 ` claudiu beznea
2023-11-20 7:00 ` [PATCH 06/14] pinctrl: renesas: rzg2l: Add pin configuration support for pinmux groups Claudiu
2023-12-01 16:51 ` Geert Uytterhoeven
2023-11-20 7:00 ` [PATCH 07/14] pinctrl: renesas: rzg2l: Add support to select power source for Ethernet pins Claudiu
2023-12-01 17:11 ` Geert Uytterhoeven
2023-11-20 7:00 ` [PATCH 08/14] pinctrl: renesas: rzg2l: Add output enable support Claudiu
2023-12-01 17:25 ` Geert Uytterhoeven
2023-11-20 7:00 ` [PATCH 09/14] dt-bindings: net: renesas,etheravb: Document RZ/G3S support Claudiu
2023-11-20 15:39 ` Conor Dooley
2023-11-20 18:39 ` Sergey Shtylyov
2023-11-21 16:29 ` Geert Uytterhoeven
2023-11-20 7:00 ` [PATCH 10/14] arm64: renesas: r9a08g045: Add Ethernet nodes Claudiu
2023-12-01 17:35 ` Geert Uytterhoeven
2023-12-04 7:41 ` claudiu beznea
2023-12-04 8:02 ` Geert Uytterhoeven
2023-12-04 8:38 ` claudiu beznea
2023-12-04 9:00 ` Geert Uytterhoeven [this message]
2023-11-20 7:00 ` [PATCH 11/14] arm64: renesas: rzg3s-smarc-som: Invert the logic for SW_SD2_EN macro Claudiu
2023-12-06 10:33 ` Geert Uytterhoeven
2023-12-06 10:56 ` Geert Uytterhoeven
2023-12-06 11:11 ` claudiu beznea
2023-12-06 11:27 ` Geert Uytterhoeven
2023-12-06 11:31 ` claudiu beznea
2023-11-20 7:00 ` [PATCH 12/14] arm64: dts: renesas: Improve documentation for SW_SD0_DEV_SEL Claudiu
2023-11-20 8:41 ` Sergey Shtylyov
2023-12-06 11:03 ` Geert Uytterhoeven
2023-11-20 7:00 ` [PATCH 13/14] arm64: dts: renesas: rzg3s-smarc-som: Enable Ethernet interfaces Claudiu
2023-12-06 11:22 ` Geert Uytterhoeven
2023-12-06 11:48 ` claudiu beznea
2023-11-20 7:00 ` [PATCH 14/14] arm: multi_v7_defconfig: Enable CONFIG_RAVB Claudiu
2023-11-20 8:44 ` Arnd Bergmann
2023-11-20 8:56 ` claudiu beznea
2023-11-20 8:58 ` Geert Uytterhoeven
2023-11-20 9:05 ` claudiu beznea
2023-11-27 10:01 ` Geert Uytterhoeven
2023-11-23 15:01 ` [PATCH 00/14] renesas: rzg3s: Add support for Ethernet Linus Walleij
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=CAMuHMdVmD7-AUn91SaOq1iOMkcGhi0WNvx8bCX3oD+xa-Bt98g@mail.gmail.com \
--to=geert@linux-m68k.org \
--cc=afd@ti.com \
--cc=alexander.stein@ew.tq-group.com \
--cc=alexandre.torgue@foss.st.com \
--cc=arnd@arndb.de \
--cc=biju.das.jz@bp.renesas.com \
--cc=broonie@kernel.org \
--cc=claudiu.beznea.uj@bp.renesas.com \
--cc=claudiu.beznea@tuxon.dev \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=eugen.hristev@collabora.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=kuba@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=m.szyprowski@samsung.com \
--cc=magnus.damm@gmail.com \
--cc=mturquette@baylibre.com \
--cc=netdev@vger.kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=pabeni@redhat.com \
--cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
--cc=robh+dt@kernel.org \
--cc=s.shtylyov@omp.ru \
--cc=sboyd@kernel.org \
--cc=sergei.shtylyov@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).