[PATCH v2 0/8] arm64: dts: qcom: Lemans platform refactor and EVK support

Wasim Nazir posted 8 patches 2 months ago
.../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%)
[PATCH v2 0/8] arm64: dts: qcom: Lemans platform refactor and EVK support
Posted by Wasim Nazir 2 months ago
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

Re: [PATCH v2 0/8] arm64: dts: qcom: Lemans platform refactor and EVK support
Posted by Bjorn Andersson 1 month, 3 weeks ago
On Sun, 03 Aug 2025 16:31:04 +0530, Wasim Nazir wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/8] arm64: dts: qcom: Rename sa8775p SoC to "lemans"
      commit: c7724332e0ac88168723f4140cef4c8ba92f87e0
[2/8] arm64: dts: qcom: lemans: Update memory-map for IoT platforms
      commit: 24dc241bddcde97f4099b5b8ebb3b211d5e7122c
[3/8] arm64: dts: qcom: lemans: Separate out ethernet card for ride & ride-r3
      commit: 4c0c97b95a9b05e3886c3453492a465507d5c09b
[4/8] arm64: dts: qcom: lemans: Refactor ride/ride-r3 boards based on daughter cards
      commit: 76326da895b889f7f0b20e5ba5cc47b836521f44
[5/8] arm64: dts: qcom: lemans: Rename sa8775p-pmics.dtsi to lemans-pmics.dtsi
      commit: d39e1d737bdb0242e1d70345bb1ecfc8382289ce
[6/8] arm64: dts: qcom: lemans: Fix dts inclusion for IoT boards and update memory map
      commit: b4feac9e034fe1a609619cb7feb55217fd5d6583
[7/8] dt-bindings: arm: qcom: lemans: Add bindings for Lemans Evaluation Kit (EVK)
      commit: e9d84a1f8bfe85b6c406c4a088e537d4a5f83a87
[8/8] arm64: dts: qcom: Add lemans evaluation kit (EVK) initial board support
      commit: 99ea5a0d6bc820b15727cea006561ede7339bb79

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>