mbox series

[v7,0/8] Add PCIe, SERDES and USB DT support for J722S

Message ID 20240615081600.3602462-1-s-vadapalli@ti.com (mailing list archive)
Headers show
Series Add PCIe, SERDES and USB DT support for J722S | expand

Message

Siddharth Vadapalli June 15, 2024, 8:15 a.m. UTC
Hello,

This series adds the device-tree support for enabling PCIe and USB
functionality on J722S-EVM.

Since AM62P and J722S SoCs share most of the peripherals, the files have
been renamed to indicate the same. The main domain peripherals on both
SoCs that aren't shared are present in the "soc-main.dtsi" files.
This change has been made based on Roger's feedback at:
https://lore.kernel.org/r/f52d9569-a399-422f-9cf0-b0bf69b64d18@kernel.org/

This series has been tested on J722S-EVM for PCIe and USB functionality:
https://gist.github.com/Siddharth-Vadapalli-at-TI/556ff78fb81fbc47fcc205dff8a31745

Sanity testing on AM62P5-SK with this series:
https://gist.github.com/Siddharth-Vadapalli-at-TI/2fdb4c0e0db5c3f3ba55d37d587a740d

v6:
https://lore.kernel.org/r/20240612132409.2477888-1-s-vadapalli@ti.com/
Changes since v6:
- Rebased series on linux-next tagged next-20240613.
- Collected Acked-by tags from v6 series.
- Based on Roger's suggestion at:
  https://lore.kernel.org/r/d4c33ee4-1e91-40e5-90c8-bd793bcf34ff@kernel.org/
  in order to avoid overriding device-tree node properties, the
  properties that are different across AM62P and J722S have been moved
  from the k3-am62p-j722s-common-main.dtsi file to the respective
  k3-{soc}-main.dtsi files.
  PATCH 5/8 from the v6 series with the subject:
  arm64: dts: ti: k3-j722s: Move MAIN domain overrides to k3-j722s-main.dtsi
  is replaced by PATCH 8/8 of this series corresponding to the suggestion.

Regards,
Siddharth.

Siddharth Vadapalli (8):
  arm64: dts: ti: am62p: Rename am62p-{}.dtsi to
    am62p-j722s-common-{}.dtsi
  arm64: dts: ti: k3-am62p-j722s: Move AM62P specific USB1 to
    am62p-main.dtsi
  arm64: dts: ti: k3-j722s: Add main domain peripherals specific to
    J722S
  arm64: dts: ti: k3-j722s: Switch to k3-am62p-j722s-common-{}.dtsi
    includes
  arm64: dts: ti: k3-serdes: Add SERDES0/SERDES1 lane-muxing macros for
    J722S
  arm64: dts: ti: k3-j722s-main: Add SERDES and PCIe support
  arm64: dts: ti: k3-j722s: Enable PCIe and USB support on J722S-EVM
  arm64: dts: ti: k3-am62p-j722s: Move SoC-specific node properties

 .../dts/ti/k3-am62p-j722s-common-main.dtsi    | 1064 ++++++++++++++++
 ...cu.dtsi => k3-am62p-j722s-common-mcu.dtsi} |    3 +-
 ...tsi => k3-am62p-j722s-common-thermal.dtsi} |    0
 ...dtsi => k3-am62p-j722s-common-wakeup.dtsi} |    3 +-
 arch/arm64/boot/dts/ti/k3-am62p-main.dtsi     | 1073 +----------------
 arch/arm64/boot/dts/ti/k3-am62p.dtsi          |    9 +-
 arch/arm64/boot/dts/ti/k3-j722s-evm.dts       |   73 ++
 arch/arm64/boot/dts/ti/k3-j722s-main.dtsi     |  190 +++
 arch/arm64/boot/dts/ti/k3-j722s.dtsi          |  171 ++-
 arch/arm64/boot/dts/ti/k3-serdes.h            |    8 +
 10 files changed, 1514 insertions(+), 1080 deletions(-)
 create mode 100644 arch/arm64/boot/dts/ti/k3-am62p-j722s-common-main.dtsi
 rename arch/arm64/boot/dts/ti/{k3-am62p-mcu.dtsi => k3-am62p-j722s-common-mcu.dtsi} (98%)
 rename arch/arm64/boot/dts/ti/{k3-am62p-thermal.dtsi => k3-am62p-j722s-common-thermal.dtsi} (100%)
 rename arch/arm64/boot/dts/ti/{k3-am62p-wakeup.dtsi => k3-am62p-j722s-common-wakeup.dtsi} (97%)
 create mode 100644 arch/arm64/boot/dts/ti/k3-j722s-main.dtsi

Comments

Vignesh Raghavendra June 21, 2024, 3:15 p.m. UTC | #1
Hi Siddharth Vadapalli,

On Sat, 15 Jun 2024 13:45:52 +0530, Siddharth Vadapalli wrote:
> This series adds the device-tree support for enabling PCIe and USB
> functionality on J722S-EVM.
> 
> Since AM62P and J722S SoCs share most of the peripherals, the files have
> been renamed to indicate the same. The main domain peripherals on both
> SoCs that aren't shared are present in the "soc-main.dtsi" files.
> This change has been made based on Roger's feedback at:
> https://lore.kernel.org/r/f52d9569-a399-422f-9cf0-b0bf69b64d18@kernel.org/
> 
> [...]

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

[1/8] arm64: dts: ti: am62p: Rename am62p-{}.dtsi to am62p-j722s-common-{}.dtsi
      commit: 3ad6579f106db8f94fb8495063cb4b0f0eaaaa9a
[2/8] arm64: dts: ti: k3-am62p-j722s: Move AM62P specific USB1 to am62p-main.dtsi
      commit: 77044cfb9346d1601bfe8759b7d785c664a73f84
[3/8] arm64: dts: ti: k3-j722s: Add main domain peripherals specific to J722S
      commit: 731626cc3180b263216805f82e006ca1f1df02c3
[4/8] arm64: dts: ti: k3-j722s: Switch to k3-am62p-j722s-common-{}.dtsi includes
      commit: 18fb2b7c8a09ca454709b806efc5c38b8a012ab4
[5/8] arm64: dts: ti: k3-serdes: Add SERDES0/SERDES1 lane-muxing macros for J722S
      commit: 6f9323f6ad818008fc58d2f804ee4140c1b8424d
[6/8] arm64: dts: ti: k3-j722s-main: Add SERDES and PCIe support
      commit: 628e0a0118e69bed9dad14e7dbd8a8802652f5f2
[7/8] arm64: dts: ti: k3-j722s: Enable PCIe and USB support on J722S-EVM
      commit: 485705df5d5fc0ad6bc5b3657fa63a96a421770d
[8/8] arm64: dts: ti: k3-am62p-j722s: Move SoC-specific node properties
      commit: ed07d82f9e3e8220d8e2f92afd323d718b860f21

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