[v5,0/3] Add AM64x ICSSG Ethernet support

Message ID 20240215103036.2825096-1-danishanwar@ti.com
Headers
Series Add AM64x ICSSG Ethernet support |

Message

MD Danish Anwar Feb. 15, 2024, 10:30 a.m. UTC
  Hi All,

This series adds support for ICSSG ethernet on AM64x. 
This series is based on the latest next-20240214 linux-next.

AM64x EVM has three ethernet ports. One is dedicated to CPSW and one is
dedicated to ICSSG1. The remaining port is muxed between CPSW and ICSSG1
ICSSG1 ports. The ICSSG1 node is added in the k3-am642-evm.dts. By default
the muxed port is used by CPSW so 2nd ICSSG1 port is disabled in the
k3-am642-evm.dts. But overlay k3-am642-evm-icssg1-dualemac.dtso can be
applied to use muxed port as ICSSG1.

This is the v5 of the series [v1].

Changes from v4 to v5:
*) Added Roger's RB tag in patch 1/3 and 3/3
*) Modified commit message of patch 3/3
*) Dropped ti,syscon-rgmii-delay property from patch 2/3 as it is no
   longer needed.
*) Reverted the renaming of mdio-mux nodes back to 'mdio-mux-1' and
   'mdio-mux-2' from 'mdio-mux@1' and 'mdio-mux@0' as the later was
   throwing DTBS_CHECK warnings.

Changes from v3 to v4:
*) Dropped ethernet3 alias from k3-am642-evm.dts as suggested by Roger.
*) Dropped extra blank lines from k3-am642-evm.dts.
*) Updated commit message of patch 3/3
*) Updated licensing header in k3-am642-evm-icssg1-dualemac.dtso.
*) Fixed up alias for ethernet1 to icssg1_emac1 in
   k3-am642-evm-icssg1-dualemac.dtso as suggested by Roger.
*) Renamed 'mdio-mux-1' and 'mdio-mux-2' to 'mdio-mux@1' and 'mdio-mux@0'
   respectively as suggested by Roger.

Changes from v2 to v3:
*) No functional changes.
*) Rebased on latest linux-next (next-20240122) after 6.8-rc1.

Changes from v1 to v2:
*) Fixed aliases section in k3-am642-evm.dts
*) Fixed firmware-names in k3-am642-evm.dts
*) Changed icssg1_phy1 to ethernet-phy@f from ethernet-phy@0 as suggested
   by Andrew L.
*) Changed makefile to handle overlays using CONFIG_OF_ALL_DTBS as
   suggested by Nishant and Andrew Davis.
*) Fixed aliases section in k3-am642-evm-icssg1-dualemac.dtso
*) Fixed pinctrl in k3-am642-evm-icssg1-dualemac.dtso
*) Updated commit message of patch 3/3 of the series to warn about adding
   label name to 'mdio-mux-1' node.

[v1] https://lore.kernel.org/all/20231207081917.340167-1-danishanwar@ti.com/
[v2] https://lore.kernel.org/all/20231212165832.3933335-1-danishanwar@ti.com/
[v3] https://lore.kernel.org/all/20240122113045.1711818-1-danishanwar@ti.com/
[v4] https://lore.kernel.org/all/20240205090546.4000446-1-danishanwar@ti.com/

Thanks and Regards,
MD Danish Anwar

MD Danish Anwar (2):
  arm64: dts: ti: k3-am642-evm: add ICSSG1 Ethernet support
  arm64: dts: ti: k3-am642-evm: add overlay for ICSSG1 2nd port

Suman Anna (1):
  arm64: dts: ti: k3-am64-main: Add ICSSG IEP nodes

 arch/arm64/boot/dts/ti/Makefile               |  5 +
 arch/arm64/boot/dts/ti/k3-am64-main.dtsi      | 24 +++++
 .../dts/ti/k3-am642-evm-icssg1-dualemac.dtso  | 79 +++++++++++++++
 arch/arm64/boot/dts/ti/k3-am642-evm.dts       | 97 ++++++++++++++++++-
 4 files changed, 204 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm64/boot/dts/ti/k3-am642-evm-icssg1-dualemac.dtso

base-commit: 2c3b09aac00d7835023bbc4473ee06696be64fa8
  

Comments

Vignesh Raghavendra Feb. 20, 2024, 3:57 a.m. UTC | #1
Hi MD Danish Anwar,

On Thu, 15 Feb 2024 16:00:33 +0530, MD Danish Anwar wrote:
> This series adds support for ICSSG ethernet on AM64x.
> This series is based on the latest next-20240214 linux-next.
> 
> AM64x EVM has three ethernet ports. One is dedicated to CPSW and one is
> dedicated to ICSSG1. The remaining port is muxed between CPSW and ICSSG1
> ICSSG1 ports. The ICSSG1 node is added in the k3-am642-evm.dts. By default
> the muxed port is used by CPSW so 2nd ICSSG1 port is disabled in the
> k3-am642-evm.dts. But overlay k3-am642-evm-icssg1-dualemac.dtso can be
> applied to use muxed port as ICSSG1.
> 
> [...]

I have applied the following to branch ti-k3-dts-next on [1].
Thank you!

[1/3] arm64: dts: ti: k3-am64-main: Add ICSSG IEP nodes
      commit: d4e8c8ad5d14ad51ed8813442d81c43019fd669d
[2/3] arm64: dts: ti: k3-am642-evm: add ICSSG1 Ethernet support
      commit: efb32a10a10d92f4bc3380106bd3b003ea790aa3
[3/3] arm64: dts: ti: k3-am642-evm: add overlay for ICSSG1 2nd port
      commit: ae0aba1218a0c67f144706c48502f534b2756491

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git
--
Vignesh