[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211001150636.7500-1-biju.das.jz@bp.renesas.com>
Date: Fri, 1 Oct 2021 16:06:26 +0100
From: Biju Das <biju.das.jz@...renesas.com>
To: "David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
Cc: Biju Das <biju.das.jz@...renesas.com>,
Sergey Shtylyov <s.shtylyov@....ru>,
Lad Prabhakar <prabhakar.mahadev-lad.rj@...renesas.com>,
Andrew Lunn <andrew@...n.ch>,
Sergei Shtylyov <sergei.shtylyov@...il.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Adam Ford <aford173@...il.com>,
Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>,
netdev@...r.kernel.org, linux-renesas-soc@...r.kernel.org,
Chris Paterson <Chris.Paterson2@...esas.com>,
Biju Das <biju.das@...renesas.com>
Subject: [PATCH 00/10] Add Gigabit Ethernet driver support
The DMAC and EMAC blocks of Gigabit Ethernet IP found on RZ/G2L SoC are
similar to the R-Car Ethernet AVB IP.
The Gigabit Ethernet IP consists of Ethernet controller (E-MAC), Internal
TCP/IP Offload Engine (TOE) and Dedicated Direct memory access controller
(DMAC).
With a few changes in the driver we can support both IPs.
This patch series is in preparation for adding Gigabit ethernet driver support to RZ/G2L SoC.
The number of patches after incorporatng RFC review comments is 19.
So splitting the patches into 2 patchsets (10 + 9).
The series is the first patchset which aims to add RZ/G2L SoC with
compatible strings, E-MAC and D-MAC initialization.
Second patchset basically fillup all the stubs for the full Gigabit
Ethernet functionality.
RFC->V1:
* Added Rb tags of patch#1 and patch #9
* Renamed "rgeth" to gbeth
* Renamed the variable "no_ptp_cfg_active" with "gptp" and
"ptp_cfg_active" with "ccc_gac
* Handled NC queue only for R-Car.
* Removed RIC3 initialization from DMAC init, as it is
same as reset value.
* moved stubs function to patch#4.
* Added tsrq variable instead of multi_tsrq feature bit.
* moved CSR0 initialization from E-MAC init to later patch.
* started using ravb_modify for initializing link registers.
Ref:-
https://lore.kernel.org/linux-renesas-soc/20210923140813.13541-1-biju.das.jz@bp.renesas.com/T/#m5c007b42d6c334de7b2224f2b219f52efc712fe9
Biju Das (10):
ravb: Rename "ravb_set_features_rx_csum" function to
"ravb_set_features_rcar"
ravb: Rename "no_ptp_cfg_active" and "ptp_cfg_active" variables
ravb: Add nc_queue to struct ravb_hw_info
ravb: Add support for RZ/G2L SoC
ravb: Initialize GbEthernet DMAC
ravb: Exclude gPTP feature support for RZ/G2L
ravb: Add tsrq to struct ravb_hw_info
ravb: Add magic_pkt to struct ravb_hw_info
ravb: Add half_duplex to struct ravb_hw_info
ravb: Initialize GbEthernet E-MAC
drivers/net/ethernet/renesas/ravb.h | 39 +-
drivers/net/ethernet/renesas/ravb_main.c | 452 +++++++++++++++++------
2 files changed, 362 insertions(+), 129 deletions(-)
--
2.17.1
Powered by blists - more mailing lists