mbox series

[v3,0/4] Add DT support for J721E CPSW9G and J7200 CPSW5G

Message ID 20230315062307.1612220-1-s-vadapalli@ti.com
Headers show
Series Add DT support for J721E CPSW9G and J7200 CPSW5G | expand

Message

Siddharth Vadapalli March 15, 2023, 6:23 a.m. UTC
Hello,

This series adds the device-tree nodes for the CPSW9G instance of CPSW
Ethernet Switch on TI's J721E SoC and the CPSW5G instance of CPSW
Ethernet Switch on TI's J7200 SoC. Additionally, overlays are also added
to individually enable CPSW9G on J721E SoC and CPSW5G on J7200 SoC in
QSGMII mode with the Add-On J7 QUAD Port Ethernet expansion QSGMII
daughtercard.

This series combines the v2 series for J721E CPSW9G at:
https://lore.kernel.org/r/20230310103504.731845-1-s-vadapalli@ti.com/
and the v1 series for J7200 CPSW5G at:
https://lore.kernel.org/r/20230310101407.722334-1-s-vadapalli@ti.com/

The suggestions for the v2 series for J721E are implemented for the J7200
series as well in this patch series.

---
Changes from v2 for J721E CPSW9G series:
1. Rename the overlay k3-j721e-quad-port-eth-exp.dtso as
   k3-j721e-evm-quad-port-eth-exp.dtso.
2. Update arch/arm64/boot/dts/ti/Makefile to build k3-j721e-evm.dtb as the
   result of applying k3-j721e-evm-quad-port-eth-exp.dtbo to
   k3-j721e-common-proc-board.dtb.
3. Use the newer "&{/} {" style instead of the "fragments" style in
   k3-j721e-evm-quad-port-eth-exp.dtso.
4. Move the "mdio0_pins_default" pinctrl from cpsw0 node into the
   "cpsw9g_mdio" node.
5. Disable individual "cpsw0_port" nodes in the main.dtsi file, enabling
   only the required nodes in the overlay.
6. Disable the "cpsw9g_mdio" node in the main.dtsi file.

Changes from v1 for J721E CPSW9G series:
1. Rename node name "mdio_pins_default" to "mdio0-pins-default", since
   node names shouldn't contain underscores.
2. Change node label "mdio_pins_default" to "mdio0_pins_default".

Changes from v1 for J7200 CPSW5G series:
1. Rename the overlay k3-j7200-quad-port-eth-exp.dtso as
   k3-j7200-evm-quad-port-eth-exp.dtso.
2. Update arch/arm64/boot/dts/ti/Makefile to build k3-j7200-evm.dtb as the
   result of applying k3-j7200-evm-quad-port-eth-exp.dtbo to
   k3-j7200-common-proc-board.dtb.
3. Use the newer "&{/} {" style instead of the "fragments" style in
   k3-j7200-evm-quad-port-eth-exp.dtso.
4. Move the "mdio0_pins_default" pinctrl from cpsw0 node into the
   "cpsw5g_mdio" node.
5. Disable individual "cpsw0_port" nodes in the main.dtsi file, enabling
   only the required nodes in the overlay.
6. Disable the "cpsw5g_mdio" node in the main.dtsi file.

J721E CPSW9G v2 series:
https://lore.kernel.org/r/20230310103504.731845-1-s-vadapalli@ti.com/
J721E CPSW9G v1 series:
https://lore.kernel.org/r/20230310092804.692303-1-s-vadapalli@ti.com/
J7200 CPSW5G v1 series:
https://lore.kernel.org/r/20230310101407.722334-1-s-vadapalli@ti.com/

Siddharth Vadapalli (4):
  arm64: dts: ti: k3-j721e: Add CPSW9G nodes
  arm64: dts: ti: k3-j721e: Add overlay to enable CPSW9G ports in QSGMII
    mode
  arm64: dts: ti: j7200-main: Add CPSW5G nodes
  arm64: dts: ti: k3-j7200: Add overlay to enable CPSW5G ports in QSGMII
    mode

 arch/arm64/boot/dts/ti/Makefile               |   6 +-
 .../ti/k3-j7200-evm-quad-port-eth-exp.dtso    | 100 +++++++++++++
 arch/arm64/boot/dts/ti/k3-j7200-main.dtsi     |  88 ++++++++++++
 .../ti/k3-j721e-evm-quad-port-eth-exp.dtso    | 132 ++++++++++++++++++
 arch/arm64/boot/dts/ti/k3-j721e-main.dtsi     | 116 +++++++++++++++
 arch/arm64/boot/dts/ti/k3-j721e.dtsi          |   1 +
 6 files changed, 441 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm64/boot/dts/ti/k3-j7200-evm-quad-port-eth-exp.dtso
 create mode 100644 arch/arm64/boot/dts/ti/k3-j721e-evm-quad-port-eth-exp.dtso

Comments

Andrew Davis March 15, 2023, 2:48 p.m. UTC | #1
On 3/15/23 1:23 AM, Siddharth Vadapalli wrote:
> Hello,
> 
> This series adds the device-tree nodes for the CPSW9G instance of CPSW
> Ethernet Switch on TI's J721E SoC and the CPSW5G instance of CPSW
> Ethernet Switch on TI's J7200 SoC. Additionally, overlays are also added
> to individually enable CPSW9G on J721E SoC and CPSW5G on J7200 SoC in
> QSGMII mode with the Add-On J7 QUAD Port Ethernet expansion QSGMII
> daughtercard.
> 
> This series combines the v2 series for J721E CPSW9G at:
> https://lore.kernel.org/r/20230310103504.731845-1-s-vadapalli@ti.com/
> and the v1 series for J7200 CPSW5G at:
> https://lore.kernel.org/r/20230310101407.722334-1-s-vadapalli@ti.com/
> 
> The suggestions for the v2 series for J721E are implemented for the J7200
> series as well in this patch series.
> 

Looks much better, thanks for the changes,

Reviewed-by: Andrew Davis <afd@ti.com>

> ---
> Changes from v2 for J721E CPSW9G series:
> 1. Rename the overlay k3-j721e-quad-port-eth-exp.dtso as
>     k3-j721e-evm-quad-port-eth-exp.dtso.
> 2. Update arch/arm64/boot/dts/ti/Makefile to build k3-j721e-evm.dtb as the
>     result of applying k3-j721e-evm-quad-port-eth-exp.dtbo to
>     k3-j721e-common-proc-board.dtb.
> 3. Use the newer "&{/} {" style instead of the "fragments" style in
>     k3-j721e-evm-quad-port-eth-exp.dtso.
> 4. Move the "mdio0_pins_default" pinctrl from cpsw0 node into the
>     "cpsw9g_mdio" node.
> 5. Disable individual "cpsw0_port" nodes in the main.dtsi file, enabling
>     only the required nodes in the overlay.
> 6. Disable the "cpsw9g_mdio" node in the main.dtsi file.
> 
> Changes from v1 for J721E CPSW9G series:
> 1. Rename node name "mdio_pins_default" to "mdio0-pins-default", since
>     node names shouldn't contain underscores.
> 2. Change node label "mdio_pins_default" to "mdio0_pins_default".
> 
> Changes from v1 for J7200 CPSW5G series:
> 1. Rename the overlay k3-j7200-quad-port-eth-exp.dtso as
>     k3-j7200-evm-quad-port-eth-exp.dtso.
> 2. Update arch/arm64/boot/dts/ti/Makefile to build k3-j7200-evm.dtb as the
>     result of applying k3-j7200-evm-quad-port-eth-exp.dtbo to
>     k3-j7200-common-proc-board.dtb.
> 3. Use the newer "&{/} {" style instead of the "fragments" style in
>     k3-j7200-evm-quad-port-eth-exp.dtso.
> 4. Move the "mdio0_pins_default" pinctrl from cpsw0 node into the
>     "cpsw5g_mdio" node.
> 5. Disable individual "cpsw0_port" nodes in the main.dtsi file, enabling
>     only the required nodes in the overlay.
> 6. Disable the "cpsw5g_mdio" node in the main.dtsi file.
> 
> J721E CPSW9G v2 series:
> https://lore.kernel.org/r/20230310103504.731845-1-s-vadapalli@ti.com/
> J721E CPSW9G v1 series:
> https://lore.kernel.org/r/20230310092804.692303-1-s-vadapalli@ti.com/
> J7200 CPSW5G v1 series:
> https://lore.kernel.org/r/20230310101407.722334-1-s-vadapalli@ti.com/
> 
> Siddharth Vadapalli (4):
>    arm64: dts: ti: k3-j721e: Add CPSW9G nodes
>    arm64: dts: ti: k3-j721e: Add overlay to enable CPSW9G ports in QSGMII
>      mode
>    arm64: dts: ti: j7200-main: Add CPSW5G nodes
>    arm64: dts: ti: k3-j7200: Add overlay to enable CPSW5G ports in QSGMII
>      mode
> 
>   arch/arm64/boot/dts/ti/Makefile               |   6 +-
>   .../ti/k3-j7200-evm-quad-port-eth-exp.dtso    | 100 +++++++++++++
>   arch/arm64/boot/dts/ti/k3-j7200-main.dtsi     |  88 ++++++++++++
>   .../ti/k3-j721e-evm-quad-port-eth-exp.dtso    | 132 ++++++++++++++++++
>   arch/arm64/boot/dts/ti/k3-j721e-main.dtsi     | 116 +++++++++++++++
>   arch/arm64/boot/dts/ti/k3-j721e.dtsi          |   1 +
>   6 files changed, 441 insertions(+), 2 deletions(-)
>   create mode 100644 arch/arm64/boot/dts/ti/k3-j7200-evm-quad-port-eth-exp.dtso
>   create mode 100644 arch/arm64/boot/dts/ti/k3-j721e-evm-quad-port-eth-exp.dtso
>
Nishanth Menon March 20, 2023, 11 p.m. UTC | #2
Hi Siddharth Vadapalli,

On Wed, 15 Mar 2023 11:53:03 +0530, Siddharth Vadapalli wrote:
> This series adds the device-tree nodes for the CPSW9G instance of CPSW
> Ethernet Switch on TI's J721E SoC and the CPSW5G instance of CPSW
> Ethernet Switch on TI's J7200 SoC. Additionally, overlays are also added
> to individually enable CPSW9G on J721E SoC and CPSW5G on J7200 SoC in
> QSGMII mode with the Add-On J7 QUAD Port Ethernet expansion QSGMII
> daughtercard.
> 
> [...]

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

[1/4] arm64: dts: ti: k3-j721e: Add CPSW9G nodes
      commit: a2ff7f1108f6eeaa73a60378ed891b634a3bba61
[2/4] arm64: dts: ti: k3-j721e: Add overlay to enable CPSW9G ports in QSGMII mode
      commit: 86e7de8bf908a03ac8fba4afeef25c54a1c2ef4a
[3/4] arm64: dts: ti: j7200-main: Add CPSW5G nodes
      commit: d3bac98015da55866891054a2aeb42af7904fca8
[4/4] arm64: dts: ti: k3-j7200: Add overlay to enable CPSW5G ports in QSGMII mode
      commit: 496cdc82e05f5683cdca5ab157938091e7744c95

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] git://git.kernel.org/pub/scm/linux/kernel/git/ti/linux.git