net: ti: icssg: Add prueth support
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest0 of 10 patches 0 repliesNew
Patches in v2 No applies recorded yet
None of the 10 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 00/10] net: ti: icssg: Add prueth support
Hi Christian,
Quoted 3 lines · Christian Gmeiner
Hi all
Is there any update regarding this patch series?
I am working on revising this driver. Once ready I will post the updated version upstream.
cheers,
-roger
Quoted 86 lines
Am Do., 20. Feb. 2020 um 10:19 Uhr schrieb Keerthy <[email protected]>:
Quoted 79 lines · Keerthy
Quoted 5 lines
The series adds support for
icssg_pruethfunctionality on u-boot. This series is based on top of master branch. rproc init needs to be done from uboot command prompt. The pru/rtu firmware loading is done by prueth driver soon after config paramters are setup.A quick update on this series. It seems newer version of this hardware needs more modifications to this series. Hence please ignore v2.
Best Regards,
KeerthyQuoted 63 lines
Currently only slice0/1 of icssg2 instance on am6-evm is supported. i.e Both slices of icssg2 instance are supported.
Prebuilt firmware can be obtained from AM65 procSDK [1] rootfs at
/lib/firmware/ti-pruss/am65x*.elf[1] http://software-dl.ti.com/processor-sdk-linux/esd/AM65X/latest/index_FDS.html
This tests tftp on prueth.
Note: Uboot ethernet driver architecture supports once instance per probe. So only one of the ports are supported per instance. So DT of prueth node should have either ethernet-mii0 or ethernet-mii1.
Changes in v2:
It has been a while since v1 was posted. Here are the changes:
* Removed the usage of
misc_init_by_ofnodeinstead useduclass_get_device_by_ofnode.
* Introduced started variable to keep track of the status of the prueth device.
* Build Tested on Travis: https://travis-ci.org/Keerthyj/u-boot/builds/651449684Keerthy (10):
net: eth-uclass:eth_get_devbased onSEQ_ALIASinstead of probe order
soc: ti: pruss: add a misc driver for PRUSS in TI SoCs
remoteproc: pruss: add PRU remoteproc driver
net: ti: icssg-prueth: Add ICSSG ethernet driver
arm: dts: k3-am65-main: Addmsmc_ramnode
arm: dts: k3-am654-base-board-u-boot: Add icssg specificmsmc_ram
carveout nodes
arm: dts: k3-am65-main: Addscm_confnode
arm: dts: k3-am65-main: Add pruss nodes for ICSSG2
arm64: dts: ti: am654-base-board: add ICSSG2 Ethernet support
configs:am65x_evm_a53_defconfig: EnableCONFIG_TI_AM64_ICSSG_PRUETHarch/arm/dts/k3-am65-main.dtsi | 191 ++++++ arch/arm/dts/k3-am65.dtsi | 4 +- arch/arm/dts/k3-am654-base-board-u-boot.dtsi | 129 ++++ configs/am65x_evm_a53_defconfig | 3 + drivers/net/ti/Kconfig | 8 + drivers/net/ti/Makefile | 1 + drivers/net/ti/icssg-prueth.c | 652 +++++++++++++++++++ drivers/net/ti/icssg.h | 36 + drivers/net/ti/icssg_classifier.c | 396 +++++++++++ drivers/remoteproc/Kconfig | 11 + drivers/remoteproc/Makefile | 1 + drivers/remoteproc/pru_rproc.c | 405 ++++++++++++ drivers/soc/ti/Kconfig | 12 + drivers/soc/ti/Makefile | 1 + drivers/soc/ti/pruss.c | 152 +++++ include/ti-pruss.h | 17 + net/eth-uclass.c | 12 +- 17 files changed, 2027 insertions(+), 4 deletions(-)create mode 100644
drivers/net/ti/icssg-prueth.ccreate mode 100644drivers/net/ti/icssg.hcreate mode 100644drivers/net/ti/icssg_classifier.ccreate mode 100644drivers/remoteproc/pru_rproc.ccreate mode 100644drivers/soc/ti/pruss.ccreate mode 100644include/ti-pruss.h
Signature · 2 lines
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki