Devicetree
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: sm7125-samsung: enable remoteprocs
@ 2026-12-05 22:00 Erikas Bitovtas
  2026-12-05 22:09 ` sashiko-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Erikas Bitovtas @ 2026-12-05 22:00 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, ~postmarketos/upstreaming, phone-devel,
	Erikas Bitovtas

Enable ADSP, IPA, MPSS remoteproc nodes for Samsung Galaxy A52 and
A72, and list firmwares needed for them.

Signed-off-by: Erikas Bitovtas <erikas99876@gmail.com>
---
List firmware files needed for ADSP, MPSS, IPA firmwares, as well as
reserved memory in the common tree, and enable remoteprocs and Venus
video decoder in Samsung Galaxy A52 and A72.

These devices also include a compute DSP, however, it is not yet
supported in SC7180 (and therefore SM7125) upstream. Once support is
added, CDSP can be enabled.

Hexagonrpcd functionality requires "qcom,non-secure-domain" property
defined for ADSP fastrpc channel, it is currently missing in SC7180.
Other than that, all remoteprocs launch successfully.
---
 arch/arm64/boot/dts/qcom/sm7125-samsung-a52q.dts   | 22 ++++++++++++++++++++++
 arch/arm64/boot/dts/qcom/sm7125-samsung-a72q.dts   | 22 ++++++++++++++++++++++
 .../arm64/boot/dts/qcom/sm7125-samsung-common.dtsi |  8 ++++++++
 3 files changed, 52 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sm7125-samsung-a52q.dts b/arch/arm64/boot/dts/qcom/sm7125-samsung-a52q.dts
index ecba5be8164e..bf25cc15c050 100644
--- a/arch/arm64/boot/dts/qcom/sm7125-samsung-a52q.dts
+++ b/arch/arm64/boot/dts/qcom/sm7125-samsung-a52q.dts
@@ -15,6 +15,28 @@ / {
 	qcom,board-id = <0x22 0x6>;
 };
 
+&ipa {
+	firmware-name = "qcom/sm7125/Samsung/a52q/ipa_fws.mbn";
+
+	status = "okay";
+};
+
+&remoteproc_adsp {
+	firmware-name = "qcom/sm7125/Samsung/a52q/adsp.mbn";
+
+	status = "okay";
+};
+
+&remoteproc_mpss {
+	firmware-name = "qcom/sm7125/Samsung/a52q/modem.mbn";
+
+	status = "okay";
+};
+
 &rmtfs_mem {
 	reg = <0x0 0xf4f00000 0x0 0x202000>;
 };
+
+&venus {
+	firmware-name = "qcom/sm7125/Samsung/a52q/venus.mbn";
+};
diff --git a/arch/arm64/boot/dts/qcom/sm7125-samsung-a72q.dts b/arch/arm64/boot/dts/qcom/sm7125-samsung-a72q.dts
index f18d03de1585..050a9b608e91 100644
--- a/arch/arm64/boot/dts/qcom/sm7125-samsung-a72q.dts
+++ b/arch/arm64/boot/dts/qcom/sm7125-samsung-a72q.dts
@@ -15,6 +15,28 @@ / {
 	qcom,board-id = <0x22 0x5>;
 };
 
+&ipa {
+	firmware-name = "qcom/sm7125/Samsung/a72q/ipa_fws.mbn";
+
+	status = "okay";
+};
+
+&remoteproc_adsp {
+	firmware-name = "qcom/sm7125/Samsung/a72q/adsp.mbn";
+
+	status = "okay";
+};
+
+&remoteproc_mpss {
+	firmware-name = "qcom/sm7125/Samsung/a72q/modem.mbn";
+
+	status = "okay";
+};
+
 &rmtfs_mem {
 	reg = <0x0 0xf3700000 0x0 0x202000>;
 };
+
+&venus {
+	firmware-name = "qcom/sm7125/Samsung/a72q/venus.mbn";
+};
diff --git a/arch/arm64/boot/dts/qcom/sm7125-samsung-common.dtsi b/arch/arm64/boot/dts/qcom/sm7125-samsung-common.dtsi
index 59ef4921f31e..d432a49d44ea 100644
--- a/arch/arm64/boot/dts/qcom/sm7125-samsung-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm7125-samsung-common.dtsi
@@ -379,6 +379,10 @@ &dispcc {
 	status = "disabled";
 };
 
+&ipa {
+	memory-region = <&ipa_fw_mem>;
+};
+
 &pm6150l_gpios {
 	key_vol_up_default: key-vol-up-default-state {
 		pins = "gpio8";
@@ -421,6 +425,10 @@ &qfprom {
 	vcc-supply = <&vreg_l11a_1p8>;
 };
 
+&remoteproc_adsp {
+	memory-region = <&adsp_mem>;
+};
+
 &sdhc_2 {
 	vmmc-supply = <&vreg_l9c_2p95>;
 	vqmmc-supply = <&vreg_l6c_3p0>;

---
base-commit: 29beb21c21ada7207692b2d69fc58dcd15dab6e9
change-id: 20261205-sm7125-samsung-remoteprocs-1a0796c50e64

Best regards,
--  
Erikas Bitovtas <erikas99876@gmail.com>


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

* Re: [PATCH] arm64: dts: qcom: sm7125-samsung: enable remoteprocs
  2026-12-05 22:00 [PATCH] arm64: dts: qcom: sm7125-samsung: enable remoteprocs Erikas Bitovtas
@ 2026-12-05 22:09 ` sashiko-bot
  0 siblings, 0 replies; 2+ messages in thread
From: sashiko-bot @ 2026-12-05 22:09 UTC (permalink / raw)
  To: Erikas Bitovtas; +Cc: devicetree, robh, conor+dt

Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Low] arm64: dts: qcom: commit message omits venus firmware-name
  overrides
- [Low] arm64: dts: qcom: sm7125-samsung: omit qcom,gsi-loader on
  enabled IPA node
--

commit 930ddcea4e803ccea6e1ecd4385e25ded0c11545
Author: Erikas Bitovtas <erikas99876@gmail.com>

> arm64: dts: qcom: sm7125-samsung: enable remoteprocs
>
> Enable ADSP, IPA, MPSS remoteproc nodes for Samsung Galaxy A52 and
> A72, and list firmwares needed for them.
>
> Signed-off-by: Erikas Bitovtas <erikas99876@gmail.com>

[Severity: Low]
Should the commit message also mention the firmware-name overrides added
for &venus in sm7125-samsung-a52q.dts and sm7125-samsung-a72q.dts, as
well as the memory-region wiring in sm7125-samsung-common.dtsi?

Venus is mentioned only below the --- separator, which git am strips
when applying the patch.  Also, venus has no status = "disabled" in
sc7180.dtsi, so this patch overrides its firmware-name rather than
enabling it.

[ ... ]

> diff --git a/arch/arm64/boot/dts/qcom/sm7125-samsung-common.dtsi b/arch/arm64/boot/dts/qcom/sm7125-samsung-common.dtsi
> index 59ef4921f31e9..d432a49d44ea6 100644
> --- a/arch/arm64/boot/dts/qcom/sm7125-samsung-common.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm7125-samsung-common.dtsi
> @@ -379,6 +379,10 @@ &dispcc {
>  	status = "disabled";
>  };
>  
> +&ipa {
> +	memory-region = <&ipa_fw_mem>;
> +};
> +

[Severity: Low]
Should &ipa also set qcom,gsi-loader = "self" here?

sc7180.dtsi does not define qcom,gsi-loader on the base IPA node.
Documentation/devicetree/bindings/net/qcom,ipa.yaml documents omitting
qcom,gsi-loader as deprecated legacy behavior, even though
ipa_firmware_loader() still falls back to IPA_LOADER_SELF.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261206-sm7125-samsung-remoteprocs-v1-1-0388e5483ecd@gmail.com?part=1

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

end of thread, other threads:[~2026-12-05 22:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-05 22:00 [PATCH] arm64: dts: qcom: sm7125-samsung: enable remoteprocs Erikas Bitovtas
2026-12-05 22:09 ` sashiko-bot

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