* [PATCH v2 0/4] arm64: dts: qcom: sm8750: CDSP and modem
@ 2025-02-20 15:44 Krzysztof Kozlowski
2025-02-20 15:44 ` [PATCH v2 1/4] arm64: dts: qcom: sm8750: Add CDSP Krzysztof Kozlowski
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Krzysztof Kozlowski @ 2025-02-20 15:44 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Dmitry Baryshkov,
Krzysztof Kozlowski
Hi,
Changes in v2:
- Fix CDSP and MPSS PAS address space range.
- Re-order nodes for correct placement.
- Rb tags.
- Link to v1: https://lore.kernel.org/r/20241122-b4-sm8750-cdsp-v1-0-9a69a889d1b7@linaro.org
Context of this depends on my audio patches:
https://lore.kernel.org/r/20250220-sm8750-audio-v2-0-fbe243c4afc3@linaro.org
Bindings for remoteproc:
https://lore.kernel.org/linux-arm-msm/20250220154132.199358-1-krzysztof.kozlowski@linaro.org/T/#t
Best regards,
Krzysztof
---
Krzysztof Kozlowski (4):
arm64: dts: qcom: sm8750: Add CDSP
arm64: dts: qcom: sm8750: Add Modem / MPSS
arm64: dts: qcom: sm8750-mtp: Enable CDSP and mention MPSS
arm64: dts: qcom: sm8750-qrd: Enable CDSP and mention MPSS
arch/arm64/boot/dts/qcom/sm8750-mtp.dts | 15 ++
arch/arm64/boot/dts/qcom/sm8750-qrd.dts | 14 ++
arch/arm64/boot/dts/qcom/sm8750.dtsi | 286 ++++++++++++++++++++++++++++++++
3 files changed, 315 insertions(+)
---
base-commit: 51ad5d52335d6aa0bda1d8305d44679dddbbfec5
change-id: 20241122-b4-sm8750-cdsp-38a6c2643a3d
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
^ permalink raw reply [flat|nested] 9+ messages in thread* [PATCH v2 1/4] arm64: dts: qcom: sm8750: Add CDSP 2025-02-20 15:44 [PATCH v2 0/4] arm64: dts: qcom: sm8750: CDSP and modem Krzysztof Kozlowski @ 2025-02-20 15:44 ` Krzysztof Kozlowski 2025-02-20 15:44 ` [PATCH v2 2/4] arm64: dts: qcom: sm8750: Add Modem / MPSS Krzysztof Kozlowski ` (2 subsequent siblings) 3 siblings, 0 replies; 9+ messages in thread From: Krzysztof Kozlowski @ 2025-02-20 15:44 UTC (permalink / raw) To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, devicetree, linux-kernel, Dmitry Baryshkov, Krzysztof Kozlowski Add nodes for the CDSP and its SMP2P. These are compatible with earlier SM8650 with difference in one more interrupt. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- arch/arm64/boot/dts/qcom/sm8750.dtsi | 194 +++++++++++++++++++++++++++++++++++ 1 file changed, 194 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qcom/sm8750.dtsi index 55668ee979a465aa0149ff9317d2cbc733e9c27b..033e8153aa73cea00d1d4394c572bf8e19231305 100644 --- a/arch/arm64/boot/dts/qcom/sm8750.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi @@ -545,6 +545,32 @@ smp2p_adsp_in: slave-kernel { }; }; + smp2p-cdsp { + compatible = "qcom,smp2p"; + + interrupts-extended = <&ipcc IPCC_CLIENT_CDSP + IPCC_MPROC_SIGNAL_SMP2P + IRQ_TYPE_EDGE_RISING>; + + mboxes = <&ipcc IPCC_CLIENT_CDSP + IPCC_MPROC_SIGNAL_SMP2P>; + + qcom,smem = <94>, <432>; + qcom,local-pid = <0>; + qcom,remote-pid = <5>; + + smp2p_cdsp_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + smp2p_cdsp_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; + soc: soc@0 { compatible = "simple-bus"; @@ -3236,6 +3262,174 @@ nsp_noc: interconnect@320c0000 { qcom,bcm-voters = <&apps_bcm_voter>; #interconnect-cells = <2>; }; + + remoteproc_cdsp: remoteproc@32300000 { + compatible = "qcom,sm8750-cdsp-pas", "qcom,sm8650-cdsp-pas"; + reg = <0x0 0x32300000 0x0 0x10000>; + + interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp_in 0 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp_in 1 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp_in 2 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp_in 3 IRQ_TYPE_EDGE_RISING>, + <&smp2p_cdsp_in 7 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", + "fatal", + "ready", + "handover", + "stop-ack", + "shutdown-ack"; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + interconnects = <&nsp_noc MASTER_CDSP_PROC QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + + power-domains = <&rpmhpd RPMHPD_CX>, + <&rpmhpd RPMHPD_MXC>, + <&rpmhpd RPMHPD_NSP>; + power-domain-names = "cx", + "mxc", + "nsp"; + + memory-region = <&cdsp_mem>, <&q6_cdsp_dtb_mem>, <&global_sync_mem>; + qcom,qmp = <&aoss_qmp>; + qcom,smem-states = <&smp2p_cdsp_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts-extended = <&ipcc IPCC_CLIENT_CDSP + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + mboxes = <&ipcc IPCC_CLIENT_CDSP + IPCC_MPROC_SIGNAL_GLINK_QMP>; + qcom,remote-pid = <5>; + label = "cdsp"; + + fastrpc { + compatible = "qcom,fastrpc"; + qcom,glink-channels = "fastrpcglink-apps-dsp"; + label = "cdsp"; + qcom,non-secure-domain; + #address-cells = <1>; + #size-cells = <0>; + + compute-cb@1 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <1>; + iommus = <&apps_smmu 0x19c1 0x0>, + <&apps_smmu 0x0c21 0x0>, + <&apps_smmu 0x0c01 0x40>; + dma-coherent; + }; + + compute-cb@2 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <2>; + iommus = <&apps_smmu 0x1962 0x0>, + <&apps_smmu 0x0c02 0x20>, + <&apps_smmu 0x0c42 0x0>, + <&apps_smmu 0x19c2 0x0>; + dma-coherent; + }; + + compute-cb@3 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <3>; + iommus = <&apps_smmu 0x1963 0x0>, + <&apps_smmu 0x0c23 0x0>, + <&apps_smmu 0x0c03 0x40>, + <&apps_smmu 0x19c3 0x0>; + dma-coherent; + }; + + compute-cb@4 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <4>; + iommus = <&apps_smmu 0x1964 0x0>, + <&apps_smmu 0x0c24 0x0>, + <&apps_smmu 0x0c04 0x40>, + <&apps_smmu 0x19c4 0x0>; + dma-coherent; + }; + + compute-cb@5 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <5>; + iommus = <&apps_smmu 0x1965 0x0>, + <&apps_smmu 0x0c25 0x0>, + <&apps_smmu 0x0c05 0x40>, + <&apps_smmu 0x19c5 0x0>; + dma-coherent; + }; + + compute-cb@6 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <6>; + iommus = <&apps_smmu 0x1966 0x0>, + <&apps_smmu 0x0c06 0x20>, + <&apps_smmu 0x0c46 0x0>, + <&apps_smmu 0x19c6 0x0>; + dma-coherent; + }; + + compute-cb@7 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <7>; + iommus = <&apps_smmu 0x1967 0x0>, + <&apps_smmu 0x0c27 0x0>, + <&apps_smmu 0x0c07 0x40>, + <&apps_smmu 0x19c7 0x0>; + dma-coherent; + }; + + compute-cb@8 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <8>; + iommus = <&apps_smmu 0x1968 0x0>, + <&apps_smmu 0x0c08 0x20>, + <&apps_smmu 0x0c48 0x0>, + <&apps_smmu 0x19c8 0x0>; + dma-coherent; + }; + + /* note: secure cb9 in downstream */ + + compute-cb@12 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <12>; + iommus = <&apps_smmu 0x196c 0x0>, + <&apps_smmu 0x0c2c 0x20>, + <&apps_smmu 0x0c0c 0x40>, + <&apps_smmu 0x19cc 0x0>; + dma-coherent; + }; + + compute-cb@13 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <13>; + iommus = <&apps_smmu 0x196d 0x0>, + <&apps_smmu 0x0c0d 0x20>, + <&apps_smmu 0x0c2e 0x0>, + <&apps_smmu 0x0c4d 0x0>, + <&apps_smmu 0x19cd 0x0>; + dma-coherent; + }; + + compute-cb@14 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <14>; + iommus = <&apps_smmu 0x196e 0x0>, + <&apps_smmu 0x0c0e 0x20>, + <&apps_smmu 0x19ce 0x0>; + dma-coherent; + }; + }; + }; + }; }; timer { -- 2.43.0 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v2 2/4] arm64: dts: qcom: sm8750: Add Modem / MPSS 2025-02-20 15:44 [PATCH v2 0/4] arm64: dts: qcom: sm8750: CDSP and modem Krzysztof Kozlowski 2025-02-20 15:44 ` [PATCH v2 1/4] arm64: dts: qcom: sm8750: Add CDSP Krzysztof Kozlowski @ 2025-02-20 15:44 ` Krzysztof Kozlowski 2025-02-20 15:44 ` [PATCH v2 3/4] arm64: dts: qcom: sm8750-mtp: Enable CDSP and mention MPSS Krzysztof Kozlowski 2025-02-20 15:44 ` [PATCH v2 4/4] arm64: dts: qcom: sm8750-qrd: " Krzysztof Kozlowski 3 siblings, 0 replies; 9+ messages in thread From: Krzysztof Kozlowski @ 2025-02-20 15:44 UTC (permalink / raw) To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, devicetree, linux-kernel, Dmitry Baryshkov, Krzysztof Kozlowski Add nodes for the MPSS and its SMP2P. These are compatible with earlier SM8650 with difference in lack of fifth memory region for Qlink Logging. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- arch/arm64/boot/dts/qcom/sm8750.dtsi | 92 ++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qcom/sm8750.dtsi index 033e8153aa73cea00d1d4394c572bf8e19231305..a0316514d8aaa3a3ec3599c1fb2f9b2ba948145f 100644 --- a/arch/arm64/boot/dts/qcom/sm8750.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi @@ -571,6 +571,45 @@ smp2p_cdsp_in: slave-kernel { }; }; + smp2p-modem { + compatible = "qcom,smp2p"; + + interrupts-extended = <&ipcc IPCC_CLIENT_MPSS + IPCC_MPROC_SIGNAL_SMP2P + IRQ_TYPE_EDGE_RISING>; + + mboxes = <&ipcc IPCC_CLIENT_MPSS + IPCC_MPROC_SIGNAL_SMP2P>; + + qcom,smem = <435>, <428>; + qcom,local-pid = <0>; + qcom,remote-pid = <1>; + + smp2p_modem_out: master-kernel { + qcom,entry-name = "master-kernel"; + #qcom,smem-state-cells = <1>; + }; + + smp2p_modem_in: slave-kernel { + qcom,entry-name = "slave-kernel"; + interrupt-controller; + #interrupt-cells = <2>; + }; + + ipa_smp2p_out: ipa-ap-to-modem { + qcom,entry-name = "ipa"; + #qcom,smem-state-cells = <1>; + }; + + ipa_smp2p_in: ipa-modem-to-ap { + qcom,entry-name = "ipa"; + interrupt-controller; + #interrupt-cells = <2>; + }; + + /* TODO: smem mailbox in and out */ + }; + soc: soc@0 { compatible = "simple-bus"; @@ -2011,6 +2050,59 @@ tcsr_mutex: hwlock@1f40000 { #hwlock-cells = <1>; }; + remoteproc_mpss: remoteproc@4080000 { + compatible = "qcom,sm8750-mpss-pas"; + reg = <0x0 0x04080000 0x0 0x10000>; + + interrupts-extended = <&intc GIC_SPI 264 IRQ_TYPE_EDGE_RISING>, + <&smp2p_modem_in 0 IRQ_TYPE_EDGE_RISING>, + <&smp2p_modem_in 1 IRQ_TYPE_EDGE_RISING>, + <&smp2p_modem_in 2 IRQ_TYPE_EDGE_RISING>, + <&smp2p_modem_in 3 IRQ_TYPE_EDGE_RISING>, + <&smp2p_modem_in 7 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "wdog", + "fatal", + "ready", + "handover", + "stop-ack", + "shutdown-ack"; + + clocks = <&rpmhcc RPMH_CXO_CLK>; + clock-names = "xo"; + + interconnects = <&mc_virt MASTER_LLCC QCOM_ICC_TAG_ALWAYS + &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>; + + power-domains = <&rpmhpd RPMHPD_CX>, + <&rpmhpd RPMHPD_MSS>; + power-domain-names = "cx", + "mss"; + + memory-region = <&mpss_mem>, <&q6_mpss_dtb_mem>, + <&dsm_partition_1_mem>, + <&dsm_partition_2_mem>; + + qcom,qmp = <&aoss_qmp>; + + qcom,smem-states = <&smp2p_modem_out 0>; + qcom,smem-state-names = "stop"; + + status = "disabled"; + + glink-edge { + interrupts-extended = <&ipcc IPCC_CLIENT_MPSS + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + + mboxes = <&ipcc IPCC_CLIENT_MPSS + IPCC_MPROC_SIGNAL_GLINK_QMP>; + + qcom,remote-pid = <1>; + + label = "mpss"; + }; + }; + remoteproc_adsp: remoteproc@6800000 { compatible = "qcom,sm8750-adsp-pas", "qcom,sm8550-adsp-pas"; reg = <0x0 0x06800000 0x0 0x10000>; -- 2.43.0 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v2 3/4] arm64: dts: qcom: sm8750-mtp: Enable CDSP and mention MPSS 2025-02-20 15:44 [PATCH v2 0/4] arm64: dts: qcom: sm8750: CDSP and modem Krzysztof Kozlowski 2025-02-20 15:44 ` [PATCH v2 1/4] arm64: dts: qcom: sm8750: Add CDSP Krzysztof Kozlowski 2025-02-20 15:44 ` [PATCH v2 2/4] arm64: dts: qcom: sm8750: Add Modem / MPSS Krzysztof Kozlowski @ 2025-02-20 15:44 ` Krzysztof Kozlowski 2025-02-20 16:19 ` Dmitry Baryshkov 2025-02-20 15:44 ` [PATCH v2 4/4] arm64: dts: qcom: sm8750-qrd: " Krzysztof Kozlowski 3 siblings, 1 reply; 9+ messages in thread From: Krzysztof Kozlowski @ 2025-02-20 15:44 UTC (permalink / raw) To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, devicetree, linux-kernel, Dmitry Baryshkov, Krzysztof Kozlowski Enable the CDSP on MPT8750 board and add firmware for the modem, however keep it as failed because modem crashes after booting for unknown reasons. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- arch/arm64/boot/dts/qcom/sm8750-mtp.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8750-mtp.dts b/arch/arm64/boot/dts/qcom/sm8750-mtp.dts index 8eeed7f2f7766326cfc7830002768087e9783b9b..72f081a890dfe49bfbee5e91b9e51da53b9d8baf 100644 --- a/arch/arm64/boot/dts/qcom/sm8750-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8750-mtp.dts @@ -791,6 +791,21 @@ &remoteproc_adsp { status = "okay"; }; +&remoteproc_cdsp { + firmware-name = "qcom/sm8750/cdsp.mbn", + "qcom/sm8750/cdsp_dtb.mbn"; + + status = "okay"; +}; + +&remoteproc_mpss { + firmware-name = "qcom/sm8750/modem.mbn", + "qcom/sm8750/modem_dtb.mbn"; + + /* Modem crashes after some time with "DOG detects stalled initialization" */ + status = "fail"; +}; + &tlmm { /* reserved for secure world */ gpio-reserved-ranges = <36 4>, <74 1>; -- 2.43.0 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 3/4] arm64: dts: qcom: sm8750-mtp: Enable CDSP and mention MPSS 2025-02-20 15:44 ` [PATCH v2 3/4] arm64: dts: qcom: sm8750-mtp: Enable CDSP and mention MPSS Krzysztof Kozlowski @ 2025-02-20 16:19 ` Dmitry Baryshkov 2025-02-21 8:38 ` Krzysztof Kozlowski 0 siblings, 1 reply; 9+ messages in thread From: Dmitry Baryshkov @ 2025-02-20 16:19 UTC (permalink / raw) To: Krzysztof Kozlowski Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, devicetree, linux-kernel On Thu, Feb 20, 2025 at 04:44:13PM +0100, Krzysztof Kozlowski wrote: > Enable the CDSP on MPT8750 board and add firmware for the modem, however > keep it as failed because modem crashes after booting for unknown > reasons. So the modem crashes on MTP, but does not on QRD? > > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > --- > arch/arm64/boot/dts/qcom/sm8750-mtp.dts | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm8750-mtp.dts b/arch/arm64/boot/dts/qcom/sm8750-mtp.dts > index 8eeed7f2f7766326cfc7830002768087e9783b9b..72f081a890dfe49bfbee5e91b9e51da53b9d8baf 100644 > --- a/arch/arm64/boot/dts/qcom/sm8750-mtp.dts > +++ b/arch/arm64/boot/dts/qcom/sm8750-mtp.dts > @@ -791,6 +791,21 @@ &remoteproc_adsp { > status = "okay"; > }; > > +&remoteproc_cdsp { > + firmware-name = "qcom/sm8750/cdsp.mbn", > + "qcom/sm8750/cdsp_dtb.mbn"; > + > + status = "okay"; > +}; > + > +&remoteproc_mpss { > + firmware-name = "qcom/sm8750/modem.mbn", > + "qcom/sm8750/modem_dtb.mbn"; > + > + /* Modem crashes after some time with "DOG detects stalled initialization" */ > + status = "fail"; > +}; > + > &tlmm { > /* reserved for secure world */ > gpio-reserved-ranges = <36 4>, <74 1>; > > -- > 2.43.0 > -- With best wishes Dmitry ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 3/4] arm64: dts: qcom: sm8750-mtp: Enable CDSP and mention MPSS 2025-02-20 16:19 ` Dmitry Baryshkov @ 2025-02-21 8:38 ` Krzysztof Kozlowski 2025-02-21 14:15 ` Dmitry Baryshkov 0 siblings, 1 reply; 9+ messages in thread From: Krzysztof Kozlowski @ 2025-02-21 8:38 UTC (permalink / raw) To: Dmitry Baryshkov Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, devicetree, linux-kernel On 20/02/2025 17:19, Dmitry Baryshkov wrote: > On Thu, Feb 20, 2025 at 04:44:13PM +0100, Krzysztof Kozlowski wrote: >> Enable the CDSP on MPT8750 board and add firmware for the modem, however >> keep it as failed because modem crashes after booting for unknown >> reasons. > > So the modem crashes on MTP, but does not on QRD? QRD was not tested - which mentioned in that patch - and I hope someone will test it and tell me :) Best regards, Krzysztof ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 3/4] arm64: dts: qcom: sm8750-mtp: Enable CDSP and mention MPSS 2025-02-21 8:38 ` Krzysztof Kozlowski @ 2025-02-21 14:15 ` Dmitry Baryshkov 2025-02-21 15:12 ` Krzysztof Kozlowski 0 siblings, 1 reply; 9+ messages in thread From: Dmitry Baryshkov @ 2025-02-21 14:15 UTC (permalink / raw) To: Krzysztof Kozlowski Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, devicetree, linux-kernel On Fri, Feb 21, 2025 at 09:38:09AM +0100, Krzysztof Kozlowski wrote: > On 20/02/2025 17:19, Dmitry Baryshkov wrote: > > On Thu, Feb 20, 2025 at 04:44:13PM +0100, Krzysztof Kozlowski wrote: > >> Enable the CDSP on MPT8750 board and add firmware for the modem, however > >> keep it as failed because modem crashes after booting for unknown > >> reasons. > > > > So the modem crashes on MTP, but does not on QRD? > QRD was not tested - which mentioned in that patch - and I hope someone > will test it and tell me :) Then it might also be broken. I have the same situation on SAR2130P, ADSP works, but CDSP crashes. Please separate modem to a separate series and clearly mark that it is not supposed to work. Until it works on any of the boards I don't think we should be merging corresponding driver bits, which are known-broken. -- With best wishes Dmitry ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 3/4] arm64: dts: qcom: sm8750-mtp: Enable CDSP and mention MPSS 2025-02-21 14:15 ` Dmitry Baryshkov @ 2025-02-21 15:12 ` Krzysztof Kozlowski 0 siblings, 0 replies; 9+ messages in thread From: Krzysztof Kozlowski @ 2025-02-21 15:12 UTC (permalink / raw) To: Dmitry Baryshkov Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-arm-msm, devicetree, linux-kernel On 21/02/2025 15:15, Dmitry Baryshkov wrote: > On Fri, Feb 21, 2025 at 09:38:09AM +0100, Krzysztof Kozlowski wrote: >> On 20/02/2025 17:19, Dmitry Baryshkov wrote: >>> On Thu, Feb 20, 2025 at 04:44:13PM +0100, Krzysztof Kozlowski wrote: >>>> Enable the CDSP on MPT8750 board and add firmware for the modem, however >>>> keep it as failed because modem crashes after booting for unknown >>>> reasons. >>> >>> So the modem crashes on MTP, but does not on QRD? >> QRD was not tested - which mentioned in that patch - and I hope someone >> will test it and tell me :) > > Then it might also be broken. I have the same situation on SAR2130P, > ADSP works, but CDSP crashes. Please separate modem to a separate series > and clearly mark that it is not supposed to work. Until it works on any > of the boards I don't think we should be merging corresponding driver > bits, which are known-broken. > OK Best regards, Krzysztof ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v2 4/4] arm64: dts: qcom: sm8750-qrd: Enable CDSP and mention MPSS 2025-02-20 15:44 [PATCH v2 0/4] arm64: dts: qcom: sm8750: CDSP and modem Krzysztof Kozlowski ` (2 preceding siblings ...) 2025-02-20 15:44 ` [PATCH v2 3/4] arm64: dts: qcom: sm8750-mtp: Enable CDSP and mention MPSS Krzysztof Kozlowski @ 2025-02-20 15:44 ` Krzysztof Kozlowski 3 siblings, 0 replies; 9+ messages in thread From: Krzysztof Kozlowski @ 2025-02-20 15:44 UTC (permalink / raw) To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley Cc: linux-arm-msm, devicetree, linux-kernel, Dmitry Baryshkov, Krzysztof Kozlowski Enable the CDSP and MPSS (modem) on QRD8750 board. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- Not tested on QRD hardware. --- arch/arm64/boot/dts/qcom/sm8750-qrd.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8750-qrd.dts b/arch/arm64/boot/dts/qcom/sm8750-qrd.dts index 341774bb042ff88af8acf49c2f0ef14f9994dfc9..840a6d8f8a24670a01376f8fce511da222159016 100644 --- a/arch/arm64/boot/dts/qcom/sm8750-qrd.dts +++ b/arch/arm64/boot/dts/qcom/sm8750-qrd.dts @@ -789,6 +789,20 @@ &remoteproc_adsp { status = "okay"; }; +&remoteproc_cdsp { + firmware-name = "qcom/sm8750/cdsp.mbn", + "qcom/sm8750/cdsp_dtb.mbn"; + + status = "okay"; +}; + +&remoteproc_mpss { + firmware-name = "qcom/sm8750/modem.mbn", + "qcom/sm8750/modem_dtb.mbn"; + + status = "okay"; +}; + &tlmm { /* reserved for secure world */ gpio-reserved-ranges = <36 4>, <74 1>; -- 2.43.0 ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2025-02-21 15:12 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2025-02-20 15:44 [PATCH v2 0/4] arm64: dts: qcom: sm8750: CDSP and modem Krzysztof Kozlowski 2025-02-20 15:44 ` [PATCH v2 1/4] arm64: dts: qcom: sm8750: Add CDSP Krzysztof Kozlowski 2025-02-20 15:44 ` [PATCH v2 2/4] arm64: dts: qcom: sm8750: Add Modem / MPSS Krzysztof Kozlowski 2025-02-20 15:44 ` [PATCH v2 3/4] arm64: dts: qcom: sm8750-mtp: Enable CDSP and mention MPSS Krzysztof Kozlowski 2025-02-20 16:19 ` Dmitry Baryshkov 2025-02-21 8:38 ` Krzysztof Kozlowski 2025-02-21 14:15 ` Dmitry Baryshkov 2025-02-21 15:12 ` Krzysztof Kozlowski 2025-02-20 15:44 ` [PATCH v2 4/4] arm64: dts: qcom: sm8750-qrd: " Krzysztof Kozlowski
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®