mbox series

[v4,0/6] Enable ICSSG Ethernet Driver for AM65x

Message ID 20240416092018.3593039-1-danishanwar@ti.com
Headers show
Series Enable ICSSG Ethernet Driver for AM65x | expand

Message

MD Danish Anwar April 16, 2024, 9:20 a.m. UTC
The series introduces device tree and config changes and AM65x
to enable ICSSG driver. The series also enables SPL_LOAD_FIT_APPLY_OVERLAY
for AM65x in order to load overlay over spl.

The ICSSG2 node is added in device tree overlay so that it remains in
sync with linux kernel.

This series has been tested on AM65x SR2.0, and the ICSSG interface is
able to ping / dhcp and boot kernel using tftp in uboot.

The users need to set env variables fw_storage_interface, fw_dev_part,
fw_ubi_mtdpart, fw_ubi_volume to indicate which storage medium and
partition they want to use to load firmware files from. By default the env
fw_storage_interface=mmc and fw_dev_part=1:2 but users can modify these
envs as per their requirements.

This is the v4 of the series [1]. The series doesn't depend on any patch
and can be applied cleanly on u-boot/master

Changes from v3 to v4:
*) Separated the device tree and board specific changes into this series
   from the main series [1].
*) Added check for TARGET_AM654_A53_EVM config in board file as suggested
   by Dan Carpenter <dan.carpenter@linaro.org>
*) Rebased on latest u-boot/master.

[1] https://lore.kernel.org/all/20240124064930.1787929-1-danishanwar@ti.com/

MD Danish Anwar (6):
  arm: dts: k3-am654-base-board: Add ICSSG2 Ethernet support
  arm: dts: k3-am65x-binman: Add ICSSG2 overlay and configuration
  configs: am65x_evm_a53: Enable ICSSG Driver
  configs: am65x_evm_a53: add SPL_LOAD_FIT_APPLY_OVERLAY
  board: ti: am65x: Add check for k3-am654-icssg2 in
    board_fit_config_match()
  board: ti: am65x: Set fw_storage_interface and fw_dev_part ENVs

 arch/arm/dts/Makefile             |   4 +-
 arch/arm/dts/k3-am654-icssg2.dtso | 145 ++++++++++++++++++++++++++++++
 arch/arm/dts/k3-am65x-binman.dtsi |  65 +++++++++++++-
 board/ti/am65x/am65x.env          |   4 +
 board/ti/am65x/evm.c              |   9 +-
 configs/am65x_evm_a53_defconfig   |   2 +
 6 files changed, 221 insertions(+), 8 deletions(-)
 create mode 100644 arch/arm/dts/k3-am654-icssg2.dtso


base-commit: 6e316e3f397b5e01e98c5dd56cdbaab961daeedf

Comments

Ravi Gunasekaran April 25, 2024, 3:30 p.m. UTC | #1
On 4/16/2024 2:50 PM, MD Danish Anwar wrote:
> The series introduces device tree and config changes and AM65x
> to enable ICSSG driver. The series also enables SPL_LOAD_FIT_APPLY_OVERLAY
> for AM65x in order to load overlay over spl.
>
> The ICSSG2 node is added in device tree overlay so that it remains in
> sync with linux kernel.
>
> This series has been tested on AM65x SR2.0, and the ICSSG interface is
> able to ping / dhcp and boot kernel using tftp in uboot.
>
> The users need to set env variables fw_storage_interface, fw_dev_part,
> fw_ubi_mtdpart, fw_ubi_volume to indicate which storage medium and
> partition they want to use to load firmware files from. By default the env
> fw_storage_interface=mmc and fw_dev_part=1:2 but users can modify these
> envs as per their requirements.
>
> This is the v4 of the series [1]. The series doesn't depend on any patch
> and can be applied cleanly on u-boot/master
>
> Changes from v3 to v4:
> *) Separated the device tree and board specific changes into this series
>    from the main series [1].
> *) Added check for TARGET_AM654_A53_EVM config in board file as suggested
>    by Dan Carpenter <dan.carpenter@linaro.org>
> *) Rebased on latest u-boot/master.
>
> [1] https://lore.kernel.org/all/20240124064930.1787929-1-danishanwar@ti.com/
>
> MD Danish Anwar (6):
>   arm: dts: k3-am654-base-board: Add ICSSG2 Ethernet support
>   arm: dts: k3-am65x-binman: Add ICSSG2 overlay and configuration
>   configs: am65x_evm_a53: Enable ICSSG Driver
>   configs: am65x_evm_a53: add SPL_LOAD_FIT_APPLY_OVERLAY
>   board: ti: am65x: Add check for k3-am654-icssg2 in
>     board_fit_config_match()
>   board: ti: am65x: Set fw_storage_interface and fw_dev_part ENVs
>
>  arch/arm/dts/Makefile             |   4 +-
>  arch/arm/dts/k3-am654-icssg2.dtso | 145 ++++++++++++++++++++++++++++++
>  arch/arm/dts/k3-am65x-binman.dtsi |  65 +++++++++++++-
>  board/ti/am65x/am65x.env          |   4 +
>  board/ti/am65x/evm.c              |   9 +-
>  configs/am65x_evm_a53_defconfig   |   2 +
>  6 files changed, 221 insertions(+), 8 deletions(-)
>  create mode 100644 arch/arm/dts/k3-am654-icssg2.dtso
>
>
> base-commit: 6e316e3f397b5e01e98c5dd56cdbaab961daeedf

For the series,
Acked-by: Ravi Gunasekaran <r-gunasekaran@ti.com>

Regards,
Ravi
Tom Rini April 29, 2024, 11:04 p.m. UTC | #2
On Tue, 16 Apr 2024 14:50:12 +0530, MD Danish Anwar wrote:

> The series introduces device tree and config changes and AM65x
> to enable ICSSG driver. The series also enables SPL_LOAD_FIT_APPLY_OVERLAY
> for AM65x in order to load overlay over spl.
> 
> The ICSSG2 node is added in device tree overlay so that it remains in
> sync with linux kernel.
> 
> [...]

Applied to u-boot/master, thanks!