mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v6 0/8] Add PCIe, SERDES and USB DT support for J722S
@ 2024-06-12 13:24 Siddharth Vadapalli
  2024-06-12 13:24 ` [PATCH v6 1/8] arm64: dts: ti: am62p: Rename am62p-{}.dtsi to am62p-j722s-common-{}.dtsi Siddharth Vadapalli
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Siddharth Vadapalli @ 2024-06-12 13:24 UTC (permalink / raw)
  To: nm, vigneshr, afd, kristo, robh, krzk+dt, conor+dt, rogerq
  Cc: devicetree, linux-kernel, linux-arm-kernel, u-kumar1,
	danishanwar, srk, s-vadapalli

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/7c9fdfd25fdcd02eaf02a70db8bd46fd

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

v5:
https://lore.kernel.org/r/20240604085252.3686037-1-s-vadapalli@ti.com/
Changes since v5:
- Rebased series on linux-next tagged next-20240612.
- Collected Acked-by/Reviewed-by tags from v4 series.
- k3-am62p.dtsi is left as-is, instead of changing it to
  k3-am62p-j722s-common.dtsi.
- Renamed k3-am62p-thermal.dtsi to k3-am62p-j722s-common-thermal.dtsi.
- Based on Vignesh's suggestion at:
  https://lore.kernel.org/r/9e7d3f9b-c762-40cd-9d0d-2f071aa3c371@ti.com/
  and at:
  https://lore.kernel.org/r/79eedaea-bf4f-4a20-8a52-751ce7187523@ti.com/
  the following is the file hierarchy in the current series:
  k3-am62p.dtsi = k3-am62p-j722s-common-{main,mcu,wakeup}.dtsi +
  		  k3-am62p-main.dtsi
  k3-am62p5.dtsi = CPUs + k3-am62p.dtsi
  k3-j722s.dtsi = CPUs + CBASS-Ranges +
  		  k3-am62p-j722s-common-{main,mcu,wakeup}.dtsi +
		  k3-j722s-main.dtsi

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-j722s: Move MAIN domain overrides to
    k3-j722s-main.dtsi
  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

 .../dts/ti/k3-am62p-j722s-common-main.dtsi    | 1068 +++++++++++++++++
 ...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     | 1063 +---------------
 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     |  184 +++
 arch/arm64/boot/dts/ti/k3-j722s.dtsi          |  165 ++-
 arch/arm64/boot/dts/ti/k3-serdes.h            |    8 +
 10 files changed, 1500 insertions(+), 1076 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

-- 
2.40.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-06-14 15:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-12 13:24 [PATCH v6 0/8] Add PCIe, SERDES and USB DT support for J722S Siddharth Vadapalli
2024-06-12 13:24 ` [PATCH v6 1/8] arm64: dts: ti: am62p: Rename am62p-{}.dtsi to am62p-j722s-common-{}.dtsi Siddharth Vadapalli
2024-06-14  9:45   ` Roger Quadros
2024-06-12 13:24 ` [PATCH v6 2/8] arm64: dts: ti: k3-am62p-j722s: Move AM62P specific USB1 to am62p-main.dtsi Siddharth Vadapalli
2024-06-12 13:24 ` [PATCH v6 3/8] arm64: dts: ti: k3-j722s: Add main domain peripherals specific to J722S Siddharth Vadapalli
2024-06-12 13:24 ` [PATCH v6 4/8] arm64: dts: ti: k3-j722s: Switch to k3-am62p-j722s-common-{}.dtsi includes Siddharth Vadapalli
2024-06-14  9:46   ` Roger Quadros
2024-06-12 13:24 ` [PATCH v6 5/8] arm64: dts: ti: k3-j722s: Move MAIN domain overrides to k3-j722s-main.dtsi Siddharth Vadapalli
2024-06-14  9:53   ` Roger Quadros
2024-06-14 14:59     ` Siddharth Vadapalli
2024-06-12 13:24 ` [PATCH v6 6/8] arm64: dts: ti: k3-serdes: Add SERDES0/SERDES1 lane-muxing macros for J722S Siddharth Vadapalli
2024-06-12 13:24 ` [PATCH v6 7/8] arm64: dts: ti: k3-j722s-main: Add SERDES and PCIe support Siddharth Vadapalli
2024-06-12 13:24 ` [PATCH v6 8/8] arm64: dts: ti: k3-j722s: Enable PCIe and USB support on J722S-EVM Siddharth Vadapalli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®