net: ti: icssg: Read firmware name from device-tree
authorMD Danish Anwar <danishanwar@ti.com>
Wed, 2 Jul 2025 11:35:45 +0000 (17:05 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 10 Jul 2025 14:41:18 +0000 (08:41 -0600)
commitc589dc0c244e3038522ca162410bf4d02b1c5641
treea1c2b6192b06c990d51f4a943aadf7003a7b6fd0
parent9cede1930b40673c2d86d036b98acf01198f06aa
net: ti: icssg: Read firmware name from device-tree

Update the ICSSG PRU Ethernet driver to read PRU/RTU/TXPRU firmware names
from the Device Tree using the "firmware-name" property, instead of relying
on the hard-coded firmware names. The firmware names are parsed during
prueth_probe() and stored in the prueth->firmwares for each slice. The
driver now uses these dynamically loaded names when starting the PRU cores.

This change improves flexibility and allows firmware selection to be
controlled via the device tree, making the driver more adaptable to
different platforms and firmware configurations.

Signed-off-by: MD Danish Anwar <danishanwar@ti.com>
drivers/net/ti/icssg_prueth.c
drivers/net/ti/icssg_prueth.h