]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: ti: icssm-prueth: Adds link detection, RX and TX support.
authorRoger Quadros <rogerq@ti.com>
Fri, 12 Sep 2025 11:53:28 +0000 (17:23 +0530)
committerJakub Kicinski <kuba@kernel.org>
Sun, 14 Sep 2025 20:00:54 +0000 (13:00 -0700)
commite15472e8f2e7eb2abf9059bba3797463f4f6d2d5
tree7aed7c94cfe953e3a98c10d5da158bfd692afe2b
parenta99b56577da4398e602394518618c720db5b7cbb
net: ti: icssm-prueth: Adds link detection, RX and TX support.

Changes corresponding to link configuration such as speed and duplexity.
IRQ and handler initializations are performed for packet reception.Firmware
receives the packet from the wire and stores it into OCMC queue. Next, it
notifies the CPU via interrupt. Upon receiving the interrupt CPU will
service the IRQ and packet will be processed by pushing the newly allocated
SKB to upper layers.

When the user application want to transmit a packet, it will invoke
sys_send() which will in turn invoke the PRUETH driver, then it will write
the packet into OCMC queues. PRU firmware will pick up the packet and
transmit it on to the wire.

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-5-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