All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Enable various remoteprocs for qcm6490-idp and qcs6490-rb3gen2
@ 2024-04-17 12:09 Komal Bajaj
  2024-04-17 12:09 ` [PATCH v3 1/2] arm64: dts: qcom: qcm6490-idp: Enable various remoteprocs Komal Bajaj
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Komal Bajaj @ 2024-04-17 12:09 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Bjorn Andersson, quic_tsoni
  Cc: linux-arm-msm, devicetree, linux-kernel, Komal Bajaj

Enable various applicable remoteproc nodes for qcm6490-idp
and qcs6490-rb3gen2.

Firmwares are not shared at linux-firmware.git, it is under legal approval process.
Meantime, submitting the DT node changes for FW for review.

--------
Changes in v3:
* Rebased on top of linux-next
* Added firmware path for modem for rb3gen2 board for GPS usecase
* Link to v2: https://lore.kernel.org/all/20240402090349.30172-1-quic_kbajaj@quicinc.com/

Changes in v2:
* Updating the firmware name from mdt to mbn
* Link to v1: https://lore.kernel.org/all/20231220114225.26567-1-quic_kbajaj@quicinc.com/

Komal Bajaj (2):
  arm64: dts: qcom: qcm6490-idp: Enable various remoteprocs
  arm64: dts: qcom: qcs6490-rb3gen2: Enable various remoteprocs

 arch/arm64/boot/dts/qcom/qcm6490-idp.dts     | 20 ++++++++++++++++++++
 arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 10 ++++++++++
 2 files changed, 30 insertions(+)

--
2.42.0


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

* [PATCH v3 1/2] arm64: dts: qcom: qcm6490-idp: Enable various remoteprocs
  2024-04-17 12:09 [PATCH v3 0/2] Enable various remoteprocs for qcm6490-idp and qcs6490-rb3gen2 Komal Bajaj
@ 2024-04-17 12:09 ` Komal Bajaj
  2024-04-17 18:25   ` Dmitry Baryshkov
  2024-04-17 12:09 ` [PATCH v3 2/2] arm64: dts: qcom: qcs6490-rb3gen2: " Komal Bajaj
  2024-04-21 22:29 ` [PATCH v3 0/2] Enable various remoteprocs for qcm6490-idp and qcs6490-rb3gen2 Bjorn Andersson
  2 siblings, 1 reply; 6+ messages in thread
From: Komal Bajaj @ 2024-04-17 12:09 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Bjorn Andersson, quic_tsoni
  Cc: linux-arm-msm, devicetree, linux-kernel, Komal Bajaj

Enable the ADSP, CDSP, MPSS and WPSS that are found on the SoC.

Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
---
 arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
index f8f8a43f638d..01ea64b16969 100644
--- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
+++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
@@ -580,6 +580,26 @@ &qupv3_id_0 {
 	status = "okay";
 };

+&remoteproc_adsp {
+	firmware-name = "qcom/qcm6490/adsp.mbn";
+	status = "okay";
+};
+
+&remoteproc_cdsp {
+	firmware-name = "qcom/qcm6490/cdsp.mbn";
+	status = "okay";
+};
+
+&remoteproc_mpss {
+	firmware-name = "qcom/qcm6490/modem.mbn";
+	status = "okay";
+};
+
+&remoteproc_wpss {
+	firmware-name = "qcom/qcm6490/wpss.mbn";
+	status = "okay";
+};
+
 &sdhc_1 {
 	non-removable;
 	no-sd;
--
2.42.0


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

* [PATCH v3 2/2] arm64: dts: qcom: qcs6490-rb3gen2: Enable various remoteprocs
  2024-04-17 12:09 [PATCH v3 0/2] Enable various remoteprocs for qcm6490-idp and qcs6490-rb3gen2 Komal Bajaj
  2024-04-17 12:09 ` [PATCH v3 1/2] arm64: dts: qcom: qcm6490-idp: Enable various remoteprocs Komal Bajaj
@ 2024-04-17 12:09 ` Komal Bajaj
  2024-04-17 18:24   ` Dmitry Baryshkov
  2024-04-21 22:29 ` [PATCH v3 0/2] Enable various remoteprocs for qcm6490-idp and qcs6490-rb3gen2 Bjorn Andersson
  2 siblings, 1 reply; 6+ messages in thread
From: Komal Bajaj @ 2024-04-17 12:09 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Bjorn Andersson, quic_tsoni
  Cc: linux-arm-msm, devicetree, linux-kernel, Komal Bajaj

Enable the ADSP, CDSP and WPSS that are found on qcs6490-rb3gen2.

Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
---
 arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
index c98c41f8f3b1..a085ff5b5fb2 100644
--- a/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
+++ b/arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts
@@ -17,7 +17,6 @@
 #include "pmk8350.dtsi"

 /delete-node/ &ipa_fw_mem;
-/delete-node/ &remoteproc_mpss;
 /delete-node/ &rmtfs_mem;
 /delete-node/ &adsp_mem;
 /delete-node/ &cdsp_mem;
@@ -617,6 +616,16 @@ &remoteproc_cdsp {
 	status = "okay";
 };

+&remoteproc_mpss {
+	firmware-name = "qcom/qcs6490/modem.mdt";
+	status = "okay";
+};
+
+&remoteproc_wpss {
+	firmware-name = "qcom/qcs6490/wpss.mbn";
+	status = "okay";
+};
+
 &tlmm {
 	gpio-reserved-ranges = <32 2>, /* ADSP */
 			       <48 4>; /* NFC */
--
2.42.0


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

* Re: [PATCH v3 2/2] arm64: dts: qcom: qcs6490-rb3gen2: Enable various remoteprocs
  2024-04-17 12:09 ` [PATCH v3 2/2] arm64: dts: qcom: qcs6490-rb3gen2: " Komal Bajaj
@ 2024-04-17 18:24   ` Dmitry Baryshkov
  0 siblings, 0 replies; 6+ messages in thread
From: Dmitry Baryshkov @ 2024-04-17 18:24 UTC (permalink / raw)
  To: Komal Bajaj
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Bjorn Andersson, quic_tsoni, linux-arm-msm,
	devicetree, linux-kernel

On Wed, 17 Apr 2024 at 15:11, Komal Bajaj <quic_kbajaj@quicinc.com> wrote:
>
> Enable the ADSP, CDSP and WPSS that are found on qcs6490-rb3gen2.
>
> Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
> ---
>  arch/arm64/boot/dts/qcom/qcs6490-rb3gen2.dts | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

-- 
With best wishes
Dmitry

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

* Re: [PATCH v3 1/2] arm64: dts: qcom: qcm6490-idp: Enable various remoteprocs
  2024-04-17 12:09 ` [PATCH v3 1/2] arm64: dts: qcom: qcm6490-idp: Enable various remoteprocs Komal Bajaj
@ 2024-04-17 18:25   ` Dmitry Baryshkov
  0 siblings, 0 replies; 6+ messages in thread
From: Dmitry Baryshkov @ 2024-04-17 18:25 UTC (permalink / raw)
  To: Komal Bajaj
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Bjorn Andersson, quic_tsoni, linux-arm-msm,
	devicetree, linux-kernel

On Wed, 17 Apr 2024 at 15:11, Komal Bajaj <quic_kbajaj@quicinc.com> wrote:
>
> Enable the ADSP, CDSP, MPSS and WPSS that are found on the SoC.
>
> Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
> ---
>  arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
> index f8f8a43f638d..01ea64b16969 100644
> --- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
> +++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
> @@ -580,6 +580,26 @@ &qupv3_id_0 {
>         status = "okay";
>  };
>
> +&remoteproc_adsp {
> +       firmware-name = "qcom/qcm6490/adsp.mbn";

Is there a difference between qcm6490 and qcs6490 firmware files? If
there is none, can we use the existing paths?

I assume that modem is the only difference there. In such a case,
please use "modem_nm.mbn" for the not-modem mpss and plain "modem.mbn"
for the standard one.

> +       status = "okay";
> +};
> +
> +&remoteproc_cdsp {
> +       firmware-name = "qcom/qcm6490/cdsp.mbn";
> +       status = "okay";
> +};
> +
> +&remoteproc_mpss {
> +       firmware-name = "qcom/qcm6490/modem.mbn";
> +       status = "okay";
> +};
> +
> +&remoteproc_wpss {
> +       firmware-name = "qcom/qcm6490/wpss.mbn";
> +       status = "okay";
> +};
> +
>  &sdhc_1 {
>         non-removable;
>         no-sd;
> --
> 2.42.0
>
>


-- 
With best wishes
Dmitry

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

* Re: [PATCH v3 0/2] Enable various remoteprocs for qcm6490-idp and qcs6490-rb3gen2
  2024-04-17 12:09 [PATCH v3 0/2] Enable various remoteprocs for qcm6490-idp and qcs6490-rb3gen2 Komal Bajaj
  2024-04-17 12:09 ` [PATCH v3 1/2] arm64: dts: qcom: qcm6490-idp: Enable various remoteprocs Komal Bajaj
  2024-04-17 12:09 ` [PATCH v3 2/2] arm64: dts: qcom: qcs6490-rb3gen2: " Komal Bajaj
@ 2024-04-21 22:29 ` Bjorn Andersson
  2 siblings, 0 replies; 6+ messages in thread
From: Bjorn Andersson @ 2024-04-21 22:29 UTC (permalink / raw)
  To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Bjorn Andersson, quic_tsoni, Komal Bajaj
  Cc: linux-arm-msm, devicetree, linux-kernel


On Wed, 17 Apr 2024 17:39:26 +0530, Komal Bajaj wrote:
> Enable various applicable remoteproc nodes for qcm6490-idp
> and qcs6490-rb3gen2.
> 
> Firmwares are not shared at linux-firmware.git, it is under legal approval process.
> Meantime, submitting the DT node changes for FW for review.
> 
> --------
> Changes in v3:
> * Rebased on top of linux-next
> * Added firmware path for modem for rb3gen2 board for GPS usecase
> * Link to v2: https://lore.kernel.org/all/20240402090349.30172-1-quic_kbajaj@quicinc.com/
> 
> [...]

Applied, thanks!

[1/2] arm64: dts: qcom: qcm6490-idp: Enable various remoteprocs
      commit: 99a1c9eedf6098826c0f9dcbda2c23e5dad20244
[2/2] arm64: dts: qcom: qcs6490-rb3gen2: Enable various remoteprocs
      commit: ac6d35b9b74c113753bd266e01d6b853618a1e37

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

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

end of thread, other threads:[~2024-04-21 22:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-17 12:09 [PATCH v3 0/2] Enable various remoteprocs for qcm6490-idp and qcs6490-rb3gen2 Komal Bajaj
2024-04-17 12:09 ` [PATCH v3 1/2] arm64: dts: qcom: qcm6490-idp: Enable various remoteprocs Komal Bajaj
2024-04-17 18:25   ` Dmitry Baryshkov
2024-04-17 12:09 ` [PATCH v3 2/2] arm64: dts: qcom: qcs6490-rb3gen2: " Komal Bajaj
2024-04-17 18:24   ` Dmitry Baryshkov
2024-04-21 22:29 ` [PATCH v3 0/2] Enable various remoteprocs for qcm6490-idp and qcs6490-rb3gen2 Bjorn Andersson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.