lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250803110113.401927-1-wasim.nazir@oss.qualcomm.com>
Date: Sun,  3 Aug 2025 16:31:04 +0530
From: Wasim Nazir <wasim.nazir@....qualcomm.com>
To: Bjorn Andersson <andersson@...nel.org>,
        Konrad Dybcio <konradybcio@...nel.org>, Rob Herring <robh@...nel.org>,
        Krzysztof Kozlowski <krzk+dt@...nel.org>,
        Conor Dooley <conor+dt@...nel.org>,
        Richard Cochran <richardcochran@...il.com>
Cc: linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
        kernel@....qualcomm.com, Wasim Nazir <wasim.nazir@....qualcomm.com>
Subject: [PATCH v2 0/8] arm64: dts: qcom: Lemans platform refactor and EVK support

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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ