[PATCH v5 4/5] net: ti: icssg: Add ICSSG ethernet driver
Ravi Gunasekaran
r-gunasekaran at ti.com
Fri Apr 5 10:34:54 CEST 2024
On 4/4/24 12:38 PM, MD Danish Anwar wrote:
> This is the PRUSS Ethernet driver for TI AM654 SR2.0 and later SoCs with
> the ICSSG PRU Sub-system running EMAC firmware. ICSSG Subsystem supports
> two slices per instance. This driver caters to both slices / ports of
> the icssg subsystem.
>
> Since it is not possible for Ethernet driver to register more than one
> port for a given instance, this patch introduces top level PRUETH as
> UCLASS_MISC and binds UCLASS_ETH to individual ports in order to support
> bringing up more than one Ethernet interface in U-Boot.
>
> Since top level driver is UCLASS_MISC, board files would need to
> instantiate the driver explicitly.
>
> Signed-off-by: MD Danish Anwar <danishanwar at ti.com>
> ---
> arch/arm/mach-k3/common.c | 11 +
> drivers/net/ti/Kconfig | 13 +
> drivers/net/ti/Makefile | 1 +
> drivers/net/ti/icssg_prueth.c | 685 ++++++++++++++++++++++++++++++++++
> drivers/net/ti/icssg_prueth.h | 3 +
> 5 files changed, 713 insertions(+)
> create mode 100644 drivers/net/ti/icssg_prueth.c
>
Reviewed-by: Ravi Gunasekaran <r-gunasekaran at ti.com>
--
Regards,
Ravi
More information about the U-Boot
mailing list