]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: ti: icssm-prueth: Adds PRUETH HW and SW configuration
authorRoger Quadros <rogerq@ti.com>
Fri, 12 Sep 2025 11:53:27 +0000 (17:23 +0530)
committerJakub Kicinski <kuba@kernel.org>
Sun, 14 Sep 2025 20:00:54 +0000 (13:00 -0700)
commita99b56577da4398e602394518618c720db5b7cbb
treecb993799e0816183d591e8708b74c4c75cc53f7e
parent511f6c1ae093c7045742299d29eba71925709a71
net: ti: icssm-prueth: Adds PRUETH HW and SW configuration

Updates for MII_RT hardware peripheral configuration such as RX and TX
configuration for PRU0 and PRU1, frame sizes, and MUX config.

Updates for PRU-ICSS firmware register configuration and DRAM, SRAM and
OCMC memory initialization, which will be used in the runtime for packet
reception and transmission.

DUAL-EMAC memory allocation for software queues and its supporting
components such as the buffer descriptors and queue descriptors. These
software queues are placed in OCMC memory and are shared with CPU by
PRU-ICSS for packet receive and transmit.

All declarations and macros are being used from common header file
for various protocols.

Reviewed-by: Mohan Reddy Putluru <pmohan@couthit.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Basharath Hussain Khaja <basharath@couthit.com>
Signed-off-by: Parvathi Pudi <parvathi@couthit.com>
Link: https://patch.msgid.link/20250912115443.529856-4-parvathi@couthit.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/ti/icssm/icssm_prueth.c
drivers/net/ethernet/ti/icssm/icssm_prueth.h
drivers/net/ethernet/ti/icssm/icssm_switch.h [new file with mode: 0644]