[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c8e36d23-3325-4ad8-91da-94f9f31c3c15@oss.qualcomm.com>
Date: Wed, 23 Apr 2025 11:29:37 +0200
From: Konrad Dybcio <konrad.dybcio@....qualcomm.com>
To: Lijuan Gao <quic_lijuang@...cinc.com>,
Bjorn Andersson <andersson@...nel.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley
<conor+dt@...nel.org>,
Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>,
Konrad Dybcio <konradybcio@...nel.org>
Cc: kernel@...cinc.com, linux-arm-msm@...r.kernel.org,
linux-remoteproc@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, Kyle Deng <quic_chunkaid@...cinc.com>
Subject: Re: [PATCH 3/6] arm64: dts: qcom: qcs615: Add mproc node for SEMP2P
On 4/23/25 11:17 AM, Lijuan Gao wrote:
> From: Kyle Deng <quic_chunkaid@...cinc.com>
>
> The Shared Memory Point to Point (SMP2P) protocol facilitates
> communication of a single 32-bit value between two processors.
> Add these two nodes for remoteproc enablement on QCS615 SoC.
>
> Signed-off-by: Kyle Deng <quic_chunkaid@...cinc.com>
> Signed-off-by: Lijuan Gao <quic_lijuang@...cinc.com>
> ---
> arch/arm64/boot/dts/qcom/qcs615.dtsi | 79 ++++++++++++++++++++++++++++++++++++
> 1 file changed, 79 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/qcs615.dtsi b/arch/arm64/boot/dts/qcom/qcs615.dtsi
> index edfb796d8dd3..ab3c6ba5842b 100644
> --- a/arch/arm64/boot/dts/qcom/qcs615.dtsi
> +++ b/arch/arm64/boot/dts/qcom/qcs615.dtsi
> @@ -332,6 +332,80 @@ mc_virt: interconnect-2 {
> qcom,bcm-voters = <&apps_bcm_voter>;
> };
>
> + qcom,smp2p-adsp {
Remove the qcom prefix
> + compatible = "qcom,smp2p";
> + qcom,smem = <443>, <429>;
> + interrupts = <GIC_SPI 172 IRQ_TYPE_EDGE_RISING>;
> + mboxes = <&apss_shared 26>;
> + qcom,ipc = <&apcs 0 26>;
> + qcom,local-pid = <0>;
> + qcom,remote-pid = <2>;
> +
> + adsp_smp2p_out: master-kernel {
> + qcom,entry-name = "master-kernel";
> + #qcom,smem-state-cells = <1>;
> + };
> +
> + adsp_smp2p_in: slave-kernel {
> + qcom,entry-name = "slave-kernel";
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + };
> +
> + sleepstate_smp2p_out: sleepstate-out {
> + qcom,entry-name = "sleepstate";
> + #qcom,smem-state-cells = <1>;
> + };
> +
> + sleepstate_smp2p_in: qcom,sleepstate-in {
> + qcom,entry-name = "sleepstate_see";
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + };
> + smp2p_rdbg2_out: qcom,smp2p-rdbg2-out {
> + qcom,entry-name = "rdbg";
> + #qcom,smem-state-cells = <1>;
> + };
> +
> + smp2p_rdbg2_in: qcom,smp2p-rdbg2-in {
> + qcom,entry-name = "rdbg";
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + };
> + };
> +
> + qcom,smp2p-cdsp {
> + compatible = "qcom,smp2p";
> + qcom,smem = <94>, <432>;
> + interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>;
> + mboxes = <&apss_shared 6>;
> + qcom,ipc = <&apcs 0 6>;
> + qcom,local-pid = <0>;
> + qcom,remote-pid = <5>;
> +
> + cdsp_smp2p_out: master-kernel {
> + qcom,entry-name = "master-kernel";
> + #qcom,smem-state-cells = <1>;
> + };
> +
> + cdsp_smp2p_in: slave-kernel {
> + qcom,entry-name = "slave-kernel";
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + };
> +
> + smp2p_rdbg5_out: qcom,smp2p-rdbg5-out {
> + qcom,entry-name = "rdbg";
> + #qcom,smem-state-cells = <1>;
> + };
> +
> + smp2p_rdbg5_in: qcom,smp2p-rdbg5-in {
> + qcom,entry-name = "rdbg";
> + interrupt-controller;
> + #interrupt-cells = <2>;
> + };
> + };
> +
> qup_opp_table: opp-table-qup {
> compatible = "operating-points-v2";
> opp-shared;
> @@ -3337,6 +3411,11 @@ apss_shared: mailbox@...00000 {
> #mbox-cells = <1>;
> };
>
> + apcs: syscon@...0000c {
> + compatible = "syscon";
There is already a description for this block above what you added
qcom,ipc under smp2p is mutually exclusive with `mboxes`, so adding
the above isn't necessary at all
Konrad
Powered by blists - more mailing lists