[PATCH v2 0/7] Grab IPA IMEM slice through DT, part 2

Konrad Dybcio posted 7 patches 1 month ago
arch/arm64/boot/dts/qcom/kodiak.dtsi |  6 ++++++
arch/arm64/boot/dts/qcom/sc7180.dtsi |  6 ++++++
arch/arm64/boot/dts/qcom/sdm845.dtsi |  6 ++++++
arch/arm64/boot/dts/qcom/sm6350.dtsi | 16 ++++++++++++++++
arch/arm64/boot/dts/qcom/sm8350.dtsi | 16 ++++++++++++++++
arch/arm64/boot/dts/qcom/sm8550.dtsi | 16 ++++++++++++++++
arch/arm64/boot/dts/qcom/sm8650.dtsi | 16 ++++++++++++++++
7 files changed, 82 insertions(+)
[PATCH v2 0/7] Grab IPA IMEM slice through DT, part 2
Posted by Konrad Dybcio 1 month ago
The IPA IMEM slice addresses/sizes are hardcoded in the driver. That's
mucho no bueno, especially since the same versions of IPA are used
across a number of vastly different platforms, which invalidates that
approach completely.

This series wires up the IMEM slices in DT on almost all platforms
(need some more time for SDX55/65) and fills in the necessary bindings
holes.

Tested on SC7280 only, FWIW.

Patches 1-3 are good to go instantly, the rest must wait for the
bindings changes that were submitted in the series marked as a
dependency.

Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
---
Changes in v2:
- Rebase (drop applied changes), drop dependencies (now in next)
- Make 8[56]50 use its own compatible and not 8350's (three people
  didn't notice ;)
- Pick up tags
- Link to v1: https://lore.kernel.org/r/20250523-topic-ipa_mem_dts-v1-0-f7aa94fac1ab@oss.qualcomm.com

---
Konrad Dybcio (7):
      arm64: dts: qcom: sc7180: Explicitly describe the IPA IMEM slice
      arm64: dts: qcom: sc7280: Explicitly describe the IPA IMEM slice
      arm64: dts: qcom: sdm845: Explicitly describe the IPA IMEM slice
      arm64: dts: qcom: sm6350: Explicitly describe the IPA IMEM slice
      arm64: dts: qcom: sm8350: Explicitly describe the IPA IMEM slice
      arm64: dts: qcom: sm8550: Explicitly describe the IPA IMEM slice
      arm64: dts: qcom: sm8650: Explicitly describe the IPA IMEM slice

 arch/arm64/boot/dts/qcom/kodiak.dtsi |  6 ++++++
 arch/arm64/boot/dts/qcom/sc7180.dtsi |  6 ++++++
 arch/arm64/boot/dts/qcom/sdm845.dtsi |  6 ++++++
 arch/arm64/boot/dts/qcom/sm6350.dtsi | 16 ++++++++++++++++
 arch/arm64/boot/dts/qcom/sm8350.dtsi | 16 ++++++++++++++++
 arch/arm64/boot/dts/qcom/sm8550.dtsi | 16 ++++++++++++++++
 arch/arm64/boot/dts/qcom/sm8650.dtsi | 16 ++++++++++++++++
 7 files changed, 82 insertions(+)
---
base-commit: fc7b1a72c6cd5cbbd989c6c32a6486e3e4e3594d
change-id: 20250523-topic-ipa_mem_dts-58f5d73a1f21

Best regards,
-- 
Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Re: [PATCH v2 0/7] Grab IPA IMEM slice through DT, part 2
Posted by Bjorn Andersson 2 weeks, 2 days ago
On Thu, 05 Mar 2026 11:55:39 +0100, Konrad Dybcio wrote:
> The IPA IMEM slice addresses/sizes are hardcoded in the driver. That's
> mucho no bueno, especially since the same versions of IPA are used
> across a number of vastly different platforms, which invalidates that
> approach completely.
> 
> This series wires up the IMEM slices in DT on almost all platforms
> (need some more time for SDX55/65) and fills in the necessary bindings
> holes.
> 
> [...]

Applied, thanks!

[1/7] arm64: dts: qcom: sc7180: Explicitly describe the IPA IMEM slice
      commit: 4f579c2854c94bcb4410a56e2beaa97987bd1f64
[2/7] arm64: dts: qcom: sc7280: Explicitly describe the IPA IMEM slice
      commit: bb947d3b7f47f31b8c100dfc8a6f6aee97297553
[3/7] arm64: dts: qcom: sdm845: Explicitly describe the IPA IMEM slice
      commit: 5c50a4d592862b736cb3e1ce2a9ad4a6e767f774
[4/7] arm64: dts: qcom: sm6350: Explicitly describe the IPA IMEM slice
      commit: b1c74e5dffb893d35c4a286a64d3f1364018a3cf
[5/7] arm64: dts: qcom: sm8350: Explicitly describe the IPA IMEM slice
      commit: 4239fae7b87987e91ddb1de8fa21db9ed96c7de0
[6/7] arm64: dts: qcom: sm8550: Explicitly describe the IPA IMEM slice
      commit: 9ccd27d6d60d82f782ebd05fa15b6dd89e13662f
[7/7] arm64: dts: qcom: sm8650: Explicitly describe the IPA IMEM slice
      commit: 7a398b9dc47a9f09a9933ca579a6c10b13dea09c

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