Message ID | 20220624144001.95518-1-clement.leger@bootlin.com (mailing list archive) |
---|---|
Headers | show |
Series | add support for Renesas RZ/N1 ethernet subsystem devices | expand |
On Fri, Jun 24, 2022 at 04:39:45PM +0200, Clément Léger wrote: > The Renesas RZ/N1 SoCs features an ethernet subsystem which contains > (most notably) a switch, two GMACs, and a MII converter [1]. This > series adds support for the switch and the MII converter. > > The MII converter present on this SoC has been represented as a PCS > which sit between the MACs and the PHY. This PCS driver is probed from > the device-tree since it requires to be configured. Indeed the MII > converter also contains the registers that are handling the muxing of > ports (Switch, MAC, HSR, RTOS, etc) internally to the SoC. > > The switch driver is based on DSA and exposes 4 ports + 1 CPU > management port. It include basic bridging support as well as FDB and > statistics support. > > Link: [1] https://www.renesas.com/us/en/document/mah/rzn1d-group-rzn1s-group-rzn1l-group-users-manual-r-engine-and-ethernet-peripherals > > ----- > Changes in V9: > - Cover letter: > - Remove comment about RZN1 patches that are now in the master branch. > - Commits: > - Add Vladimir Oltean Reviewed-by > - PCS: > - Add "Depends on OF" for PCS_RZN1_MIIC due to error found by intel > kernel test robot <lkp@intel.com>. > - Check return value of of_property_read_u32() for > "renesas,miic-switch-portin" property before setting conf. > - Return miic_parse_dt() return value in miic_probe() on error > - Switch: > - Add "Depends on OF" for NET_DSA_RZN1_A5PSW due to errors found by > intel kernel test robot <lkp@intel.com>. > - DT: > - Add spaces between switch port and '{' I took one more look through the series and this looks good, thanks. Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Le Sat, 25 Jun 2022 00:43:30 +0300, Vladimir Oltean <olteanv@gmail.com> a écrit : > On Fri, Jun 24, 2022 at 04:39:45PM +0200, Clément Léger wrote: > > The Renesas RZ/N1 SoCs features an ethernet subsystem which contains > > (most notably) a switch, two GMACs, and a MII converter [1]. This > > series adds support for the switch and the MII converter. > > > > The MII converter present on this SoC has been represented as a PCS > > which sit between the MACs and the PHY. This PCS driver is probed from > > the device-tree since it requires to be configured. Indeed the MII > > converter also contains the registers that are handling the muxing of > > ports (Switch, MAC, HSR, RTOS, etc) internally to the SoC. > > > > The switch driver is based on DSA and exposes 4 ports + 1 CPU > > management port. It include basic bridging support as well as FDB and > > statistics support. > > > > Link: [1] https://www.renesas.com/us/en/document/mah/rzn1d-group-rzn1s-group-rzn1l-group-users-manual-r-engine-and-ethernet-peripherals > > > > ----- > > Changes in V9: > > - Cover letter: > > - Remove comment about RZN1 patches that are now in the master branch. > > - Commits: > > - Add Vladimir Oltean Reviewed-by > > - PCS: > > - Add "Depends on OF" for PCS_RZN1_MIIC due to error found by intel > > kernel test robot <lkp@intel.com>. > > - Check return value of of_property_read_u32() for > > "renesas,miic-switch-portin" property before setting conf. > > - Return miic_parse_dt() return value in miic_probe() on error > > - Switch: > > - Add "Depends on OF" for NET_DSA_RZN1_A5PSW due to errors found by > > intel kernel test robot <lkp@intel.com>. > > - DT: > > - Add spaces between switch port and '{' > > I took one more look through the series and this looks good, thanks. Hi Vladimir, Thanks for the review. Clément > > Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Hello: This series was applied to netdev/net-next.git (master) by David S. Miller <davem@davemloft.net>: On Fri, 24 Jun 2022 16:39:45 +0200 you wrote: > The Renesas RZ/N1 SoCs features an ethernet subsystem which contains > (most notably) a switch, two GMACs, and a MII converter [1]. This > series adds support for the switch and the MII converter. > > The MII converter present on this SoC has been represented as a PCS > which sit between the MACs and the PHY. This PCS driver is probed from > the device-tree since it requires to be configured. Indeed the MII > converter also contains the registers that are handling the muxing of > ports (Switch, MAC, HSR, RTOS, etc) internally to the SoC. > > [...] Here is the summary with links: - [net-next,v9,01/16] net: dsa: allow port_bridge_join() to override extack message https://git.kernel.org/netdev/net-next/c/1c6e8088d9a7 - [net-next,v9,02/16] net: dsa: add support for ethtool get_rmon_stats() https://git.kernel.org/netdev/net-next/c/67f38b1c7324 - [net-next,v9,03/16] net: dsa: add Renesas RZ/N1 switch tag driver https://git.kernel.org/netdev/net-next/c/a08d6a6dc820 - [net-next,v9,04/16] dt-bindings: net: pcs: add bindings for Renesas RZ/N1 MII converter https://git.kernel.org/netdev/net-next/c/c823c2bf9156 - [net-next,v9,05/16] net: pcs: add Renesas MII converter driver https://git.kernel.org/netdev/net-next/c/7dc54d3b8d91 - [net-next,v9,06/16] dt-bindings: net: dsa: add bindings for Renesas RZ/N1 Advanced 5 port switch https://git.kernel.org/netdev/net-next/c/8956e96c1d4d - [net-next,v9,07/16] net: dsa: rzn1-a5psw: add Renesas RZ/N1 advanced 5 port switch driver https://git.kernel.org/netdev/net-next/c/888cdb892b61 - [net-next,v9,08/16] net: dsa: rzn1-a5psw: add statistics support https://git.kernel.org/netdev/net-next/c/c7243fd4a62f - [net-next,v9,09/16] net: dsa: rzn1-a5psw: add FDB support https://git.kernel.org/netdev/net-next/c/5edf246c6869 - [net-next,v9,10/16] dt-bindings: net: snps,dwmac: add "power-domains" property https://git.kernel.org/netdev/net-next/c/955fe312a9d2 - [net-next,v9,11/16] dt-bindings: net: snps,dwmac: add "renesas,rzn1" compatible https://git.kernel.org/netdev/net-next/c/d7cc14bc9802 - [net-next,v9,12/16] ARM: dts: r9a06g032: describe MII converter https://git.kernel.org/netdev/net-next/c/066c3bd35835 - [net-next,v9,13/16] ARM: dts: r9a06g032: describe GMAC2 https://git.kernel.org/netdev/net-next/c/3f5261f1c2a8 - [net-next,v9,14/16] ARM: dts: r9a06g032: describe switch https://git.kernel.org/netdev/net-next/c/cf9695d8a7e9 - [net-next,v9,15/16] ARM: dts: r9a06g032-rzn1d400-db: add switch description https://git.kernel.org/netdev/net-next/c/9aab31d66ec9 - [net-next,v9,16/16] MAINTAINERS: add Renesas RZ/N1 switch related driver entry https://git.kernel.org/netdev/net-next/c/717a5c56deec You are awesome, thank you!
Hi David, On Mon, Jun 27, 2022 at 12:50 PM <patchwork-bot+netdevbpf@kernel.org> wrote: > This series was applied to netdev/net-next.git (master) > by David S. Miller <davem@davemloft.net>: > > On Fri, 24 Jun 2022 16:39:45 +0200 you wrote: > > The Renesas RZ/N1 SoCs features an ethernet subsystem which contains > > (most notably) a switch, two GMACs, and a MII converter [1]. This > > series adds support for the switch and the MII converter. > > > > The MII converter present on this SoC has been represented as a PCS > > which sit between the MACs and the PHY. This PCS driver is probed from > > the device-tree since it requires to be configured. Indeed the MII > > converter also contains the registers that are handling the muxing of > > ports (Switch, MAC, HSR, RTOS, etc) internally to the SoC. > > > > [...] > > Here is the summary with links: > - [net-next,v9,12/16] ARM: dts: r9a06g032: describe MII converter > https://git.kernel.org/netdev/net-next/c/066c3bd35835 > - [net-next,v9,13/16] ARM: dts: r9a06g032: describe GMAC2 > https://git.kernel.org/netdev/net-next/c/3f5261f1c2a8 > - [net-next,v9,14/16] ARM: dts: r9a06g032: describe switch > https://git.kernel.org/netdev/net-next/c/cf9695d8a7e9 > - [net-next,v9,15/16] ARM: dts: r9a06g032-rzn1d400-db: add switch description > https://git.kernel.org/netdev/net-next/c/9aab31d66ec9 Please do not apply DTS patches to the netdev tree. These should go in through the platform and soc trees instead. Thanks for reverting! 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