]> git.ipfire.org Git - thirdparty/u-boot.git/commit
net: ti: icssg: Add ICSSG ethernet driver
authorMD Danish Anwar <danishanwar@ti.com>
Thu, 4 Apr 2024 07:08:02 +0000 (12:38 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 12 Apr 2024 19:54:43 +0000 (13:54 -0600)
commit737a668413b81875a60551b44ea5fe28132a73b6
treed0c3f7eb5d1bc8d8fd079150af8ae6b6f650a2cc
parentff7799907eb348b00186700c8738883c26c85fff
net: ti: icssg: Add ICSSG ethernet driver

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@ti.com>
Reviewed-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
arch/arm/mach-k3/common.c
drivers/net/ti/Kconfig
drivers/net/ti/Makefile
drivers/net/ti/icssg_prueth.c [new file with mode: 0644]
drivers/net/ti/icssg_prueth.h