devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/8] arm64: dts: qcom: Lemans platform refactor and EVK support
@ 2025-08-03 11:01 Wasim Nazir
  2025-08-03 11:01 ` [PATCH v2 1/8] arm64: dts: qcom: Rename sa8775p SoC to "lemans" Wasim Nazir
                   ` (8 more replies)
  0 siblings, 9 replies; 13+ messages in thread
From: Wasim Nazir @ 2025-08-03 11:01 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Richard Cochran
  Cc: linux-arm-msm, devicetree, linux-kernel, netdev, kernel,
	Wasim Nazir

This patch series introduces a comprehensive refactor and enhancement of
the Qualcomm Lemans platform device tree files, aiming to improve
clarity, modularity, and support for emerging IoT use cases. The
motivation behind this work stems from the need to unify DTS naming
conventions, streamline board support across multiple variants, and
to detach from different product names for similar variants.

For example, qcs9100 and qcs9075 differ only in safety features provided by
the Safety-Island (SAIL) subsystem but safety features are currently
unsupported, so both can be categorized as the same chip today.

To better support IoT platforms, the memory map has been restructured.
Previously, the automotive memory layout was applied universally, which
introduced unnecessary carveouts and misaligned memory regions for IoT
boards. By establishing the IoT memory map i.e lemans.dtsi as the baseline
and introducing lemans-auto.dtsi for legacy automotive configurations, the
series ensures that each platform inherits only what it needs.
Accordingly:
  - IoT platforms, qcs9100/qcs9075 are categorized as "lemans" with latest
    memory-map as per IOT requirements.
  - Automotive platform, sa8775p is categorized as "lemans-auto", that retains
    the old automotive memory map to support legacy use cases.
  - Both lemans & lemans-auto are serving as non-safe chip and if needed
    additional dtsi can be appended in the future to enable safety features.

Additionally:
  - Refactor common daughter cards used in Ride/Ride-R3 boards into a
    common configuration. Also, introduce new files for different ethernet
    capabilities in Ride/Ride-r3. Since Ethernet functionality in Ride/Ride-r3
    is currently broken upstream, this patch focuses only on refactoring.
  - Include support for qcs9075 EVK [1] board as lemans-evk. Currently,
    basic features are enabled supporting 'boot to shell'.

Funtional impact to current boards with refactoring:
  - No functional change on automotive boards (i.e sa8775p ride/ride-r3)
    and it is verified by comparing decompiled DTB (dtx_diff).
  - qcs9100 ride/ride-r3 are having a new memory-map and rest other
    functionalities are still same.


---
Changelog

v2:
  - Update the subject of the series [2] to reflect both the Lemans EVK
    addition and the broader Lemans refactoring. Also, revise the subject
    format to align with Qualcomm’s convention for DTS submissions
    (arm64: dts: qcom:).
  - Refine the cover letter to emphasize how detaching from product-specific
    names addresses previous limitations in supporting emerging IoT use cases.
  - Improve the commit message for patch 2/8 based on Bjorn’s feedback.
  - Remove board-renaming change to keep backward compatibility intact.
  - Include separate patch to fix DTS inclusion for IoT boards.
  - Change copyright format for patch 8/8 as per Krzysztof's feedback.
  - Carrying Krzysztof's NAK from v1 to only those patches which were preset,
    though tried to address the concern by retaining the DTB compatibility.
  - v1-link: [2].

[1] https://lore.kernel.org/all/20250612155437.146925-1-quic_wasimn@quicinc.com/
[2] https://lore.kernel.org/all/20250722144926.995064-1-wasim.nazir@oss.qualcomm.com/

---
Wasim Nazir (8):
  arm64: dts: qcom: Rename sa8775p SoC to "lemans"
  arm64: dts: qcom: lemans: Update memory-map for IoT platforms
  arm64: dts: qcom: lemans: Separate out ethernet card for ride &
    ride-r3
  arm64: dts: qcom: lemans: Refactor ride/ride-r3 boards based on
    daughter cards
  arm64: dts: qcom: lemans: Rename sa8775p-pmics.dtsi to
    lemans-pmics.dtsi
  arm64: dts: qcom: lemans: Fix dts inclusion for IoT boards and update
    memory map
  dt-bindings: arm: qcom: lemans: Add bindings for Lemans Evaluation Kit
    (EVK)
  arm64: dts: qcom: Add lemans evaluation kit (EVK) initial board
    support

 .../devicetree/bindings/arm/qcom.yaml         |   1 +
 arch/arm64/boot/dts/qcom/Makefile             |   1 +
 arch/arm64/boot/dts/qcom/lemans-auto.dtsi     | 104 +++++++
 arch/arm64/boot/dts/qcom/lemans-evk.dts       | 291 ++++++++++++++++++
 .../{sa8775p-pmics.dtsi => lemans-pmics.dtsi} |   0
 ...775p-ride.dtsi => lemans-ride-common.dtsi} | 168 ----------
 .../qcom/lemans-ride-ethernet-88ea1512.dtsi   | 205 ++++++++++++
 .../qcom/lemans-ride-ethernet-aqr115c.dtsi    | 205 ++++++++++++
 .../dts/qcom/{sa8775p.dtsi => lemans.dtsi}    |  75 +++--
 arch/arm64/boot/dts/qcom/qcs9100-ride-r3.dts  |   9 +-
 arch/arm64/boot/dts/qcom/qcs9100-ride.dts     |   9 +-
 arch/arm64/boot/dts/qcom/sa8775p-ride-r3.dts  |  40 +--
 arch/arm64/boot/dts/qcom/sa8775p-ride.dts     |  40 +--
 13 files changed, 875 insertions(+), 273 deletions(-)
 create mode 100644 arch/arm64/boot/dts/qcom/lemans-auto.dtsi
 create mode 100644 arch/arm64/boot/dts/qcom/lemans-evk.dts
 rename arch/arm64/boot/dts/qcom/{sa8775p-pmics.dtsi => lemans-pmics.dtsi} (100%)
 rename arch/arm64/boot/dts/qcom/{sa8775p-ride.dtsi => lemans-ride-common.dtsi} (87%)
 create mode 100644 arch/arm64/boot/dts/qcom/lemans-ride-ethernet-88ea1512.dtsi
 create mode 100644 arch/arm64/boot/dts/qcom/lemans-ride-ethernet-aqr115c.dtsi
 rename arch/arm64/boot/dts/qcom/{sa8775p.dtsi => lemans.dtsi} (99%)


base-commit: 05adbee3ad528100ab0285c15c91100e19e10138
--
2.50.1


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

end of thread, other threads:[~2025-08-11 14:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-03 11:01 [PATCH v2 0/8] arm64: dts: qcom: Lemans platform refactor and EVK support Wasim Nazir
2025-08-03 11:01 ` [PATCH v2 1/8] arm64: dts: qcom: Rename sa8775p SoC to "lemans" Wasim Nazir
2025-08-03 11:01 ` [PATCH v2 2/8] arm64: dts: qcom: lemans: Update memory-map for IoT platforms Wasim Nazir
2025-08-03 11:01 ` [PATCH v2 3/8] arm64: dts: qcom: lemans: Separate out ethernet card for ride & ride-r3 Wasim Nazir
2025-08-03 11:01 ` [PATCH v2 4/8] arm64: dts: qcom: lemans: Refactor ride/ride-r3 boards based on daughter cards Wasim Nazir
2025-08-03 11:01 ` [PATCH v2 5/8] arm64: dts: qcom: lemans: Rename sa8775p-pmics.dtsi to lemans-pmics.dtsi Wasim Nazir
2025-08-04 12:49   ` Konrad Dybcio
2025-08-03 11:01 ` [PATCH v2 6/8] arm64: dts: qcom: lemans: Fix dts inclusion for IoT boards and update memory map Wasim Nazir
2025-08-03 11:01 ` [PATCH v2 7/8] dt-bindings: arm: qcom: lemans: Add bindings for Lemans Evaluation Kit (EVK) Wasim Nazir
2025-08-04  8:01   ` Krzysztof Kozlowski
2025-08-03 11:01 ` [PATCH v2 8/8] arm64: dts: qcom: Add lemans evaluation kit (EVK) initial board support Wasim Nazir
2025-08-03 11:02   ` Krzysztof Kozlowski
2025-08-11 14:57 ` [PATCH v2 0/8] arm64: dts: qcom: Lemans platform refactor and EVK support Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).