mbox series

[v3,0/9] Introduce J742S2 SoC and EVM

Message ID 20240731-b4-upstream-j742s2-v3-0-da7fe3aa9e90@ti.com (mailing list archive)
Headers show
Series Introduce J742S2 SoC and EVM | expand

Message

Manorit Chawdhry July 31, 2024, 5:10 p.m. UTC
The series adds support for J742S2 family of SoCs. Also adds J742S2 EVM
Support and re-uses most of the stuff from the superset device J784s4.

It initially cleans up the J784s4 SoC files so that they can be
re-usable for j742s2 by introducing -common files. Next it cleans up the
EVM files for j784s4 in a similar way and then goes about adding the
support for j742s2.

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
---
Changes in v3:
* Nishanth
- Update copyright string
- Add TRM link in SoC file.
- Refactor to split out common soc support between j742s2 and j784s4

- Add DTC_FLAGS as well for j742s2
- Link to v2: https://lore.kernel.org/r/20240730-b4-upstream-j742s2-v2-0-6aedf892156c@ti.com

---
Manorit Chawdhry (9):
      arm64: dts: ti: Move j784s4-{} include files to j784s4-j742s2-{}-common.dtsi
      arm64: dts: ti: Move k3-j784s4.dtsi to k3-j784s4-j742s2-common.dtsi
      arm64: dts: ti: Split k3-j784s4-j742s2-common.dtsi
      arm64: dts: ti: Split k3-j784s4-j742s2-main-common.dtsi
      arm64: dts: ti: Move k3-j784s4-evm.dts to k3-j784s4-j742s2-evm-common.dtsi
      arm64: dts: ti: Split k3-j784s4-j742s2-evm-common.dtsi
      dt-bindings: arm: ti: Add bindings for J742S2 SoCs and Boards
      arm64: dts: ti: Introduce J742S2 SoC family
      arm64: dts: ti: Add support for J742S2 EVM board

 Documentation/devicetree/bindings/arm/ti/k3.yaml   |    6 +
 arch/arm64/boot/dts/ti/Makefile                    |    4 +
 arch/arm64/boot/dts/ti/k3-j742s2-evm.dts           |   26 +
 arch/arm64/boot/dts/ti/k3-j742s2-main.dtsi         |   45 +
 arch/arm64/boot/dts/ti/k3-j742s2.dtsi              |   98 +
 arch/arm64/boot/dts/ti/k3-j784s4-evm.dts           | 1422 +---------
 .../arm64/boot/dts/ti/k3-j784s4-j742s2-common.dtsi |  150 ++
 .../boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi   | 1436 ++++++++++
 .../boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi  | 2772 ++++++++++++++++++++
 ...tsi => k3-j784s4-j742s2-mcu-wakeup-common.dtsi} |    2 +-
 ...l.dtsi => k3-j784s4-j742s2-thermal-common.dtsi} |    0
 arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi         | 2764 -------------------
 arch/arm64/boot/dts/ti/k3-j784s4.dtsi              |  135 +-
 13 files changed, 4540 insertions(+), 4320 deletions(-)
---
base-commit: cd19ac2f903276b820f5d0d89de0c896c27036ed
change-id: 20240620-b4-upstream-j742s2-7ba652091550

Best regards,

Comments

Nishanth Menon Aug. 7, 2024, 1:25 p.m. UTC | #1
On 22:40-20240731, Manorit Chawdhry wrote:
> The series adds support for J742S2 family of SoCs. Also adds J742S2 EVM
> Support and re-uses most of the stuff from the superset device J784s4.
> 
> It initially cleans up the J784s4 SoC files so that they can be
> re-usable for j742s2 by introducing -common files. Next it cleans up the
> EVM files for j784s4 in a similar way and then goes about adding the
> support for j742s2.
> 
> Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
> ---
> Changes in v3:
> * Nishanth
> - Update copyright string
> - Add TRM link in SoC file.
> - Refactor to split out common soc support between j742s2 and j784s4
> 
> - Add DTC_FLAGS as well for j742s2
> - Link to v2: https://lore.kernel.org/r/20240730-b4-upstream-j742s2-v2-0-6aedf892156c@ti.com
> 
> ---
> Manorit Chawdhry (9):
>       arm64: dts: ti: Move j784s4-{} include files to j784s4-j742s2-{}-common.dtsi
>       arm64: dts: ti: Move k3-j784s4.dtsi to k3-j784s4-j742s2-common.dtsi
>       arm64: dts: ti: Split k3-j784s4-j742s2-common.dtsi
>       arm64: dts: ti: Split k3-j784s4-j742s2-main-common.dtsi

The above 4 patches can be merged into a single patch under SoC
refactoring.

>       arm64: dts: ti: Move k3-j784s4-evm.dts to k3-j784s4-j742s2-evm-common.dtsi
>       arm64: dts: ti: Split k3-j784s4-j742s2-evm-common.dtsi

The above two patches can be squashed to be a single patch for evm
refactoring.

>       dt-bindings: arm: ti: Add bindings for J742S2 SoCs and Boards
>       arm64: dts: ti: Introduce J742S2 SoC family
>       arm64: dts: ti: Add support for J742S2 EVM board

Also it is not clear how cpsw/serdes and pcie changes are handled
here.

> 
>  Documentation/devicetree/bindings/arm/ti/k3.yaml   |    6 +
>  arch/arm64/boot/dts/ti/Makefile                    |    4 +
>  arch/arm64/boot/dts/ti/k3-j742s2-evm.dts           |   26 +
>  arch/arm64/boot/dts/ti/k3-j742s2-main.dtsi         |   45 +
>  arch/arm64/boot/dts/ti/k3-j742s2.dtsi              |   98 +
>  arch/arm64/boot/dts/ti/k3-j784s4-evm.dts           | 1422 +---------
>  .../arm64/boot/dts/ti/k3-j784s4-j742s2-common.dtsi |  150 ++
>  .../boot/dts/ti/k3-j784s4-j742s2-evm-common.dtsi   | 1436 ++++++++++
>  .../boot/dts/ti/k3-j784s4-j742s2-main-common.dtsi  | 2772 ++++++++++++++++++++
>  ...tsi => k3-j784s4-j742s2-mcu-wakeup-common.dtsi} |    2 +-
>  ...l.dtsi => k3-j784s4-j742s2-thermal-common.dtsi} |    0
>  arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi         | 2764 -------------------
>  arch/arm64/boot/dts/ti/k3-j784s4.dtsi              |  135 +-
>  13 files changed, 4540 insertions(+), 4320 deletions(-)
> ---
> base-commit: cd19ac2f903276b820f5d0d89de0c896c27036ed
> change-id: 20240620-b4-upstream-j742s2-7ba652091550
> 
> Best regards,
> -- 
> Manorit Chawdhry <m-chawdhry@ti.com>
>