From patchwork Fri Nov 22 15:26:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13883293 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4838D2E3EE for ; Fri, 22 Nov 2024 15:27:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732289224; cv=none; b=J2saHfyWEbadYmh/S3Cbl8X3ZzqXd5Ondv74yH2vBQ0B1lYqI8CJGiOyTfbBJB7ZX9SpVrYLAYVeebZSoJhPTZhjo4IAZmMyN35ngJlrLglceXwshkOndRfZiR8y5n/i0uRw8wvzEgf/c7segfbrNFL9ILAsQQt4oila46NTx2Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732289224; c=relaxed/simple; bh=OxtfIizlInMQLJOVwxv3lqR2c1aKkI/srChQv4aj16Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PxCmevilEuCtPTpIbIr63aCqUMqQV4inY3QdkSIpCe6gan7C47bEi/ysyQHXjpBuiTDd41Vm0z0q4wUdxRv/B12MbbbpOQ67IKO6FPxBnE04lvR284JkGPUJUwUQPUYFOh5OZW8wInGBUz6GtCoieCEw0jTXNH6XHEdT5RygGFY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=cgQ+j+oK; arc=none smtp.client-ip=209.85.128.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="cgQ+j+oK" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-4315b0bd4ddso3348935e9.3 for ; Fri, 22 Nov 2024 07:27:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732289221; x=1732894021; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=07DrWQLmvM/zsRSeHGvpGmL9a07pj4BFtUDD+dGDJGo=; b=cgQ+j+oKw4JNYOnDycRAq09l/9vxz7HJlP/04WMeWtxAz1d7IDTEOMrI7TqQ35zPLr oBDgN63OSWuUPCKVSj1K11LZk2/7gfBSwnHX5KgsgzYQn+kIAu3h21dYyXLNNwmXpxpu 5dad3DWAiD7wZmCVU/gGf44YpHT55G40yOW+q8BOu0foMkmKX8z3Ibx7AruLvHHqDENk u/eBfJiJstzTvmlqYBJJmEywzvIiLxZ7f7plRh7j16z5tH+aO74/+m9wgwu0/zAYTVYJ i3CMX4Hqi9J9yjpzPjIIZfXEPFymbBo1hVihfl5mGeXbZ7nPpVVgXLnIqzrtvToN+JUl CrrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732289221; x=1732894021; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=07DrWQLmvM/zsRSeHGvpGmL9a07pj4BFtUDD+dGDJGo=; b=HcXOcLadodpU+n6/1PlkgtU6mz1k34r3X+vap40oOugYX4p505RV6gv4+e/GHLrc+8 S7Rlnnb70IBUzkkxf/f4FOcah9c1Ffv/AIjt/HxDDo1Id3RYJdEK3kGwJOKyzUsBLraK 6meO7qWCmX9suFgSaxO9MZEkUzb6zd8yeKBNZaLCKQMxp0iSfop1JwSwlQFfkcMamCM/ 7zLJ6JdOGk9HvQQy5z28+eGglxQcQ02VaT1nbNhgTKwGruJvCRobXy6qvze68Rwzyxvb PKrM6dL+4SmVUwv1JX1w64yDuHi0gVidp2C/0g/5JgtKSsjRw/uVTi92Er9/Exvx03bN x5+w== X-Gm-Message-State: AOJu0YxC9qtrXy5BOByJSllAXYcWSTx2XNA4kDit/J0r04ZJYIVWgkuL GTrtiNxg9mUTb270sTvsrsIVh6MmmQrAOGSX8Yo15zbaDbIy6Kz6N3x8AaKAeUVJOmHzY24wqGB ktPk= X-Gm-Gg: ASbGnctNB+hNqyAxJO1DKeUe4vGe04vznige++esLu88s+GsGTRo5s0ZJ9Akzy2c7YJ BaiTQwbNDgJYtARjpw+KEZounMC4Mtu4SocOO6rQHeTDlzErFdRUusVq4z8rYOpn1X4nMdL0f2Q Lag2KEYm5utVDtq5t2VbPUeTSSRfWiZaZOdA3xOxamwV7hotWFk//AxyutCQ+ly0QlmJRD8Z37V IH2iGQjHxjVJ2X1jWlTXxwJAbaIi6Z/H3x5w0SH4E2l0W1QOkl8sS3iw68E9zO1zg== X-Google-Smtp-Source: AGHT+IHwuhTEytuKqWwrA8tXoW9eLb7eZVXOuNgB4uqemnWqZKAhiSyt3b/On63YHMNj6bYJcVVOuA== X-Received: by 2002:a05:600c:4f41:b0:42c:c59a:ac21 with SMTP id 5b1f17b1804b1-433ce41fe5amr12533155e9.2.1732289220575; Fri, 22 Nov 2024 07:27:00 -0800 (PST) Received: from [127.0.1.1] ([178.197.211.167]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b45d4c68sm93002935e9.22.2024.11.22.07.26.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Nov 2024 07:26:59 -0800 (PST) From: Krzysztof Kozlowski Date: Fri, 22 Nov 2024 16:26:48 +0100 Subject: [PATCH 1/4] arm64: dts: qcom: sm8750: Add CDSP Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241122-b4-sm8750-cdsp-v1-1-9a69a889d1b7@linaro.org> References: <20241122-b4-sm8750-cdsp-v1-0-9a69a889d1b7@linaro.org> In-Reply-To: <20241122-b4-sm8750-cdsp-v1-0-9a69a889d1b7@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=6221; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=OxtfIizlInMQLJOVwxv3lqR2c1aKkI/srChQv4aj16Q=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnQKK9jKRZpomeWSvMCT8ZN3Ncr689dNDIlJl+b PkbqfCVRXaJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ0CivQAKCRDBN2bmhouD 10DMD/9d7+ThZMk1C4nI1Df1j2ckRtrqOF+jcI5RfPi06YKinPsTQiquvDqVOdgFNqwaJPXylDn tZJ052bt2zOwERJUi5MYkSjklndVql9cCvxsdb6ptoq69/nMZkTWZwgllDkvjiR4lx+Xg6HVObe aLTw3MNRoxh5h6CZfMfMVq0S2aexdjfdj4BXxBpkXlnK6wi8AEflBJCTsnMTZsghn9vmSN1mW1s K9frE4vx24k1X0ztDkKUXHryUNQF1z2fySzDU4tYeYLHr+/8hFi91YpRjZNdB0OS0IW3muUloNq M/I3lXfURjqFgl4osuw/B+GpU7xFWj+aE0q0IRTaDWi5y+mohNI4So3gAjZY3gZy3AXxeT6+X8P 2vfZ0jmMT6ehtWp+plwK0Jo/YBgDJ1Bo+5SM9A61K0CBIwLTIIQosACn9+Wfk8WpscShilxSBby q+wsISgy8Na7v0HunNWRz65SRKK5EouvQ2ojXG3uEEitIUf8257MQT0oZ7ZrfTXc4xuJIJWfiD9 l1zSYMlj3VfLe/S9/yymzxzeeFKe3/fXiOJx93zirMjferjyvKFrKaUdciEpSl+cIY/dPyTD3ui zkJlWg2tKaQIY8UaZ0pyrsYW7ZdEq14UGiMl8S5GrdltWM2Gngk+EwMTR2QCPazrVBpdQL0KGVS bfEBb0nIf2vdwWQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Add nodes for the CDSP and its SMP2P. These are compatible with earlier SM8650 with difference in one more interrupt. Signed-off-by: Krzysztof Kozlowski --- 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 12ad35f0885282d0191e596d0962e242ff30a28a..344331cd97e292a46e3061760817acf643fbe1ff 100644 --- a/arch/arm64/boot/dts/qcom/sm8750.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi @@ -551,6 +551,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"; @@ -3246,6 +3272,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 0x1400000>; + + 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 { From patchwork Fri Nov 22 15:26:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13883294 Received: from mail-wm1-f46.google.com (mail-wm1-f46.google.com [209.85.128.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A03521DE3A2 for ; Fri, 22 Nov 2024 15:27:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732289225; cv=none; b=iJYU0YuW43R9oDoGDb58c4B73mmqAqpWON0KxJXOjGTWeIr5g4K7/31vAjrKEOnRShjps7/wCvS6P3sEMP2H0w/+y00TYykLBFXegeMZPtZq1qCCXK3+LTpwfQ3VGzgvjj0kJ7O1T/dtmvbbE/B4J8f/ENCcoJM1pNe6Mvi+XNQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732289225; c=relaxed/simple; bh=p49U9NAU5krgj1dSK3Eb2xRq3GLwcQGpQocbS4+mhYI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=etfKyQTNN6Ir7yttOJfNCiY1KNXcBe8vFamX92oYICRKHYg7OE7GsY6pKVTl17NNJwht4UOvzTv7e4WHyS2jgjhynxIhialIztAYatRTRsL80xKqJxaprccjOD3LkQr8tfCIJvU88hIV/qwCBHPSqBhG2fHtuUpH8uNR8Ji5ncU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=OlWsWn/F; arc=none smtp.client-ip=209.85.128.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="OlWsWn/F" Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-43152fa76aaso1484165e9.1 for ; Fri, 22 Nov 2024 07:27:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732289222; x=1732894022; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=vvTKaIGEGWboSFBGVBtY0+Yh8vni8ZgsmfuTvGtZ4ZU=; b=OlWsWn/FaXqhySJmf/UrZNs90ZDfn7ZI3WkcbfvDcTTaZ2McoiNdrcWHnuoWrYp/pe SkipmS0SSGDxfZmmrljFL/VKmDFjnfAg76JAAdd5ERHp19cRce0xG5jpvdNc2Is/OQY6 9g1tkdoGkGxlpkMynliH5zQxOiFbXyyiwfqiQUpWL2M8fsTxlyDJhO+7O+o1//kwjMa8 DRdsJoZgUMOqSBJlar2CEiQZWLP7PDxKm+F5hZ0VYA4ueCHYuaPtc9qcfI7jpKCo0h7b JZa1baNB2ANJNMdh+kEhfoU662db8JNzegCTyqmaRuKZp5oJbw6EKOL1NWKiEmCOHVUr FiaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732289222; x=1732894022; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vvTKaIGEGWboSFBGVBtY0+Yh8vni8ZgsmfuTvGtZ4ZU=; b=VlB7MBrCuVFQwo8UHMdDKG5SKimshMaQ2pFL53pjRDAyQimSytp5bpuP403aYUmSPe DzQNWY7yhsHlD1sKXxZjxEDEQL9xhuseG2Ro3pfPJXu7AFlWoH8StVqrJSZ3O7Q6kXre hJGkN+Poy4cDRymvUbsTypvEs4PqqLo9RBh3AXW+bMJ5JLOVHy+WVEwJr5IqsFXvgpSd oMImvPeskw0CfAMMP/NZfxRvplIxUot4Vu2S6AmenKsL3v0ZLNuZZKEdTdXutKZiAde6 Mita0b7BMiKxLPkcee/8fGiqqmRmNNu6nke/Lt2Yui+9KT8JcINBpUb/Ox44c5vZnnjk dS/w== X-Gm-Message-State: AOJu0YyXSUjhDLHApNd6X1IgRi+jGc90DkQIzhi894VThaL6wAPZP6n0 xd2dUyKVFlJeWeSSagPTonM6J2rtB65W80JUeKsYCJTjRVjtSfbQRBexIjEs4mM= X-Gm-Gg: ASbGncuCzh+BOq8mlXSV7a0sF4J5b69PP8kYtnxVoiG4kb1DTSiWTZhB3o8ZV65LA4X OZIDAkh4kK431z1q3tFk/17oopusFuj6u5GX97+3iJarEAMfvwTuJ8ZoUfXrd0mFcn00amBf5iF v88rhHt3aZd0YB7XJAKRgUWnxc+t1ncIWHiVTOZ2OE5n7DeYfz94A/hZQsgUpxy3zMCXw3RD3k4 i3YDum/AF+35vdnczOJXlDFJ44eO5UlEnXznE8d0AfwXyRVYZ+VJbTIOosQR8cuig== X-Google-Smtp-Source: AGHT+IEoQg99+8VQDt9Yj6MiOVpvbYoBq/F11g17I7xjVmQx2kHnHBIHX8GDjlF791PycbsXh4XqSw== X-Received: by 2002:a05:600c:1d1c:b0:42c:aeee:80c with SMTP id 5b1f17b1804b1-433ce4f28a6mr12136905e9.9.1732289221765; Fri, 22 Nov 2024 07:27:01 -0800 (PST) Received: from [127.0.1.1] ([178.197.211.167]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b45d4c68sm93002935e9.22.2024.11.22.07.27.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Nov 2024 07:27:01 -0800 (PST) From: Krzysztof Kozlowski Date: Fri, 22 Nov 2024 16:26:49 +0100 Subject: [PATCH 2/4] arm64: dts: qcom: sm8750: Add Modem / MPSS Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241122-b4-sm8750-cdsp-v1-2-9a69a889d1b7@linaro.org> References: <20241122-b4-sm8750-cdsp-v1-0-9a69a889d1b7@linaro.org> In-Reply-To: <20241122-b4-sm8750-cdsp-v1-0-9a69a889d1b7@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=3207; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=p49U9NAU5krgj1dSK3Eb2xRq3GLwcQGpQocbS4+mhYI=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnQKK+xQ4ON6WOOKUPsVxACRj4plAeXUcEB5fvm KBEmHvY7yaJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ0CivgAKCRDBN2bmhouD 14yxD/0V2vCFHGlSFPSRzj3MQSz6CUCBO9A2HYq2RwFIu4vXB9BE0M+iAmySgBH/YT/aKeV4gwt nRMvdSc7ndcaSm4bz3YbG22gESWeFfNBME94ApktGHKYTNrTu0YsQWW307Eq8zdIcSYQ9Nu3rts dT98j5K0EM2zK8Pt8u9Chu/yRTAtctG+j74RHLvCsadJZCqr70EmWeyBSxkOFToCrEF60Gcd3P4 +TLm0mYkOwT2Dp7+nmMk00jaQ9DkYR+FS/lvINvqLzW/en9HDxNKcUQuleWeDK3Jl/qBZKT87FF VPpWUZQRkIe8BzUrfaLuOQjVcVNEXq64a1QQLy+C/HaZghK4DnvGlPLo0rNDHTQYpYYlmyFAmB0 DR5WH78OTGw4nn0wzPsoqKR3Pp/a1C6n5YamBwBKElW9KtCLC9BTQae5wEyD2hAvyS+f4fNP/ct e6fZShmp3voTORpqBy8stW8R1pZbu48D/AjB2iX7itAZ6GY6EPxeNNS6wvywS1wycdEu/jiSYn8 BekXLf4A+y3u55MD8DjDCkk7ucLacfbeyWFrIK5KjLtV+DZbMO6FxsioiRIlPNx20vXKNJFZrqr HTcJvkOnfrbXwUzJUIeBizzxDm5iNcxTz9RixhFyIKP6H6mM3I4DEI7kUyz4c9nDRux9/Yshv61 1auuOEPjU4pzhGw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B 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. Signed-off-by: Krzysztof Kozlowski --- 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 344331cd97e292a46e3061760817acf643fbe1ff..798b3634299fc2bad96ed6061d4a304c35e5bafd 100644 --- a/arch/arm64/boot/dts/qcom/sm8750.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi @@ -577,6 +577,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"; @@ -3440,6 +3479,59 @@ compute-cb@14 { }; }; }; + + remoteproc_mpss: remoteproc@4080000 { + compatible = "qcom,sm8750-mpss-pas"; + reg = <0x0 0x04080000 0x0 0x4040>; + + 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"; + }; + }; }; timer { From patchwork Fri Nov 22 15:26:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13883295 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C13631DED7F for ; Fri, 22 Nov 2024 15:27:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732289226; cv=none; b=GZ24OW5jqioBqTXLRPBoivgC2Q0C7Myp8SeJivDXKo2aTBMo4AN8mHt7xvKftZq6t1CnHXiUz6Yuz418z2mCBaOyA+X3ijUiHezJv30Eor+9twbeC/c8bnqhiV92Ik3eCfk5h/7X4CMU/pVlMRl80FpEGvW12zz+BP2fkaKXsxk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732289226; c=relaxed/simple; bh=WEn2LdCENvI7ZZRxHVDvG5b9idzgAhl/oH1+Mhlk0B0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=NxIUbZhNuxDiwRNSABPvKYNKOOZQT05rJq/OLL7mNrhokeR6fU0PPMxPeZvDG3K5Uk8mujTbPauqpBoZEgYypV+wETEWtNr3XN6j2BbehKv7nvh+uO19pZ1PX28svNs9Ux5m2V52MX+QW1ML2zp12eSFXIgHMAidj4NPQW1b+DQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=rS2WEDf7; arc=none smtp.client-ip=209.85.128.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="rS2WEDf7" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-4315549c4d5so3385425e9.0 for ; Fri, 22 Nov 2024 07:27:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732289223; x=1732894023; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=GKboDuuAfYreEQlmYjD9FbJSEQzkrF5QbvfF74wL8Vc=; b=rS2WEDf7SU8TvQ5soTItLIvrQtsaxQOUN2i/OWMDgAN/UOlkm/TrXnilUTcyb3V3u2 Bae9apcWcY+SXbQy0X1b3Ye0VuJdcrW7EbpBwB4ZB8C+nBCrQ+R7dUkVke6LOGT4eAlS qvCxq4biH7de46Cna225nf6gldyRF7Cn0wyXqZXxEZIU1EuLzN8VjHnfFuLh+ruGQZIs jv66jgeJHbqY5o7+TrHyiEoR6PJiWysgm2v0cNmdG0P+z+062UUteQVm1bSZt8yWkk8D ZEgR7p4XUrLuBaDnYg7ybJFYqSWfyWpCt8Wg4XfXgXFZ5DfsTx6fIxqR3suvpXgA4B+K DqYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732289223; x=1732894023; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GKboDuuAfYreEQlmYjD9FbJSEQzkrF5QbvfF74wL8Vc=; b=UvX6/GDzfQ7xVteyCceQF4aMazh8SXGdz3yIy/hgJE06PikY96JE28eO9qPWTWGTOF w/dxxjRZwq45Ueh4I/9WZMTZvesV0KVYmFZletjQe66YIb/S4TRcweVWy5NJpS2zNiBf tXkvmjdPhIrd+uIMA/n33CBZRdk4AeEQQ+1dWOOR05710EjXZjyT/6Fqj3e+BJB34GMG h73RfugaS7c/PfNNSUAERN5ibU4TE5QVSYITJ/5PvH05UtHGM5nw1+F1IY7LANFynfAK pQMOa6D6IA/Cp7YgLGIdSEQi1qGeO0YOPkaqP52/q3e5BG+Zcbf0uWT5wL+YQRAWmGBg 5SrA== X-Gm-Message-State: AOJu0YzFrtRJZOfWxhlYjbm1NRl2y4OuOERDFYRyiDavRxcFn8E8+Cqy GK/pxjswR6pLGzioPXGhYQKXkKvB6YoURhapzitfvR42C/X9xQ21k11ZmcifZnRQRaiRod6COyB AP0I= X-Gm-Gg: ASbGncsUXh8YnWG8vlV2lsevrZM80xope3Onx3hE/mVPNmWISlVX/kkCv/WOGKbQC1h CR9tDXvVZ4xcKx2VU/JLTF1a4acLZc7jPhkAW1d2JuZg0DWXBbvk8jLZuuA6TCw0YFtIRMQ41jZ jBgp/kyjNoWV96R6wod5Y6OONcuZDWahFwB9hodIZ6XT9mlCFPXQZ2rd9tYdn7nmC4Yxov3VWr3 Sz8+e1d4kKzSoLR9e5ipIPRvH6p1OlB02rAPohlr0kXnHK5r7BW7/iUkB8mDEjdzA== X-Google-Smtp-Source: AGHT+IGdGcc0ozdHBR3hwfKEVkKOVYmxhtDyvuHXY8O0HrEo4F7ZttU57Vr+Wky0g7Y/Ju9JUxfsgA== X-Received: by 2002:a05:600c:1ca8:b0:42c:df54:18f6 with SMTP id 5b1f17b1804b1-433ce426bf4mr12465095e9.3.1732289223104; Fri, 22 Nov 2024 07:27:03 -0800 (PST) Received: from [127.0.1.1] ([178.197.211.167]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b45d4c68sm93002935e9.22.2024.11.22.07.27.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Nov 2024 07:27:02 -0800 (PST) From: Krzysztof Kozlowski Date: Fri, 22 Nov 2024 16:26:50 +0100 Subject: [PATCH 3/4] arm64: dts: qcom: sm8750-mtp: Enable CDSP and mention MPSS Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241122-b4-sm8750-cdsp-v1-3-9a69a889d1b7@linaro.org> References: <20241122-b4-sm8750-cdsp-v1-0-9a69a889d1b7@linaro.org> In-Reply-To: <20241122-b4-sm8750-cdsp-v1-0-9a69a889d1b7@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1108; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=WEn2LdCENvI7ZZRxHVDvG5b9idzgAhl/oH1+Mhlk0B0=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnQKK/84NMiEC2kHae1rNdwnjlqul7ZcsmQB1N3 Ef1HI/0NruJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ0CivwAKCRDBN2bmhouD 1xstEACPa93odV8tfqIs3yAXU0wZFdwt8pn/qke37JGNl651UXjIwP0yEB/Tf4lLXIaRPCXqh8w GoxuZ8mcEHAxXDziBBjq22DMJnpkKk3kU79tvuEH7TI+2qgiyHMIJ22aBxp2+cQq4GRTbX+PPZD PSPPYaaivihUWoHAlfd6oFPe5Tb0Mz9eLEJCfvFPbIoqh3fvCd7uxYqSA/9HtzcQFOpdxKuRhjQ pZABgHBRwquCdozPiQqYzj0DBFm01f/RrjQk8fqe7g7t4q0TbGO2Y0qXEMXi01f8xbiSUIuoAAj BC81frUKRywRqtuzOdXuZG1BUo/F4hLUY80Jyt3xVxqWid/+S/RXM00u+kQ3a9eyoZ/qCS8k3G5 tbPjq/xekhM2riod08TZLX2MwQoyxmAuAi3faIf98MSEvFWBMZWB7CZL5x4RqZvylgOgrQJdJRM MMB5ATxgRG5A+EIB82eDrZVLDIEsnp7eLP9X1KioiHk/d4XLL1LgCyIeg1nUCKrowHSGFV7jm1e kiWd+XkWKwCfeBRBlMSkABiMVlDvShHBLKqnKDBAeu+2f+7Zqd5Ds+4Tk2hBvYVb6hy6h/NEZgU h82YJmEVEicpDJnAg0fA1qU7KgOK7Ux51NHtbH49SAOxxVYMylE7D7kaY4Rkez4GehEI9bRc3wl Z1cxCYIwZiZ1z2g== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B 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. Signed-off-by: Krzysztof Kozlowski --- 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..e2562ea5996ddfb1bee03b367082f4e1890131f3 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 with "DOG detects stalled initialization" */ + status = "fail"; +}; + &tlmm { /* reserved for secure world */ gpio-reserved-ranges = <36 4>, <74 1>; From patchwork Fri Nov 22 15:26:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13883296 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D631B1DF24A for ; Fri, 22 Nov 2024 15:27:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732289228; cv=none; b=Fq4rTkan1oTKpn/9yvzuK3sNs4Fc9GxKQ2AQE8bRiT2L3wGZKMTI07l7q2R+iENqx5v5jTwCxFsAxPcvkiYFe2edgMp05zXR2IIe1eSorVXalONN7WH1xByFnFYJfAs3Acerw7QvDdTlsJ2bFHOvq8qEi7dzG7AmutEozXwIn4A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732289228; c=relaxed/simple; bh=qjecPisH1rDv0vmW4e3Z5k4GWR0TA6ZJS+WGTzwZWHQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=O5cak56foSc0qYR5RrrwAFLUdktsUtWNkfzb6NXytYfKmbcPSD3mhlYhPITEURr3ogN42VIjkmnhedVt5Cg6lhijz1+XVWvgGTjuDliuDOv1wb84J5GERDjlpAyrBaW5bdB5y1HQXNC2w5YXekFYdVcTV28Gu5l0uhs4h4P9lk0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=P1p9zTcu; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="P1p9zTcu" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-43160c5bad8so1972525e9.3 for ; Fri, 22 Nov 2024 07:27:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732289224; x=1732894024; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=0X1Xegl4oVpMjzZ8PB7qzQH/4FIAntXlEuYmUQlA770=; b=P1p9zTcuEjExdh+BEeflgQrlhbkpyxsZxeJQCuB9bfS/5/bYpNbOJVpumsNRvUOHKq mvkpt5zIxBjGlmwt7gnX08HApaWYLc/SRcwClpnAkGBWKW7i03xOQilQPFYOM/D6ka/z JQBzhMZtdQ2tfJqWzmiCiRLSPNImSOt7bNEbCj+S96oi6TGl+OrhbM47q2ZWy6muGX6u 1/m4v8QYuUJOC4TQ1L5eaC9BzHSZX1d3d34M3Tn/Y4XtbCr/D5IU4aBcfB7CaW9ie6qu AbsBwsKYY8ftk4e7VZYgJ2UracQQzldpUs4eufU1xoVh0wWkw+T7u8QTqLLzYM4DUS7G xRBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732289224; x=1732894024; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0X1Xegl4oVpMjzZ8PB7qzQH/4FIAntXlEuYmUQlA770=; b=d4n40LUI1D1f38PRbudXz3AqjfcmnOWwdUUq+EQQDXv7D436mm4BS4FIVbGcM+MxGd J+VksX6yoWK2WCwC4kf64rd6EIxMN49Pw0zdH25/B2WMfMI0goQU9oNSthjYmk+o0bdh ocTHZbb+9++MbSqYfmbzntDSmRtv+7y+QRo+KiPX610xmYFloK4Mct+XHQ3gJD+Em+tf KUeWvSEZ/ZWGfPEhvsd5S+cefkyu46kRDfFI07kyhIy2tx+jMFLFzFUKm4lSB12Ielb7 dzevg6ckapFhTdskXGE4EArQYokX6uamgLgaElb+sTn+fOd4PZrV96GMbG100tOdnshT LZNQ== X-Gm-Message-State: AOJu0YxWGcDxXfLJcNJIY4iQS4i58lOUtlSfC9Gk/EusDQBLnBYP+6zM 9iiAzXHovs8r+qEHXgWveLIiAeJnKUH4FQzb1gqz+YMUNFicSsGjhOokMinTPB8= X-Gm-Gg: ASbGncuqXhYBxqN+l4wq/Ekqa6xWfkg4cbf+Zt3BgrpGzWSxl9rWsKCoV7LWcbOisQ5 iuWBHkMRNueu6dMFSGqaPaC1CCHfOCydFVS+BUQaCneUDQQPLHPeigtQDAOFeY4fxvR2D6iXtnT Tut7EfTx9pDfR6RlEKPIdVl/TqU9/V3E8sL0R0fX6rF3dDq0Yg7nb1e6LOj8Sr/zW6fnxssi0bx P0QAJgC5zoeB/l5+o5fu94IBGKZWmoO6+Ovs9l2me2O/DMsIeqNsZO3IMv1kh7mSw== X-Google-Smtp-Source: AGHT+IFH6jXnahHKvEKTrcqIFxJfwrjr+1CcU0LecZfJrqwau291DbTfkYHttu8w0eM6MmGhjaWi2w== X-Received: by 2002:a05:600c:1c03:b0:430:52ec:1e2a with SMTP id 5b1f17b1804b1-433ce4aa1c1mr12469075e9.7.1732289224313; Fri, 22 Nov 2024 07:27:04 -0800 (PST) Received: from [127.0.1.1] ([178.197.211.167]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433b45d4c68sm93002935e9.22.2024.11.22.07.27.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Nov 2024 07:27:03 -0800 (PST) From: Krzysztof Kozlowski Date: Fri, 22 Nov 2024 16:26:51 +0100 Subject: [PATCH 4/4] arm64: dts: qcom: sm8750-qrd: Enable CDSP and mention MPSS Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241122-b4-sm8750-cdsp-v1-4-9a69a889d1b7@linaro.org> References: <20241122-b4-sm8750-cdsp-v1-0-9a69a889d1b7@linaro.org> In-Reply-To: <20241122-b4-sm8750-cdsp-v1-0-9a69a889d1b7@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=981; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=qjecPisH1rDv0vmW4e3Z5k4GWR0TA6ZJS+WGTzwZWHQ=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnQKLAImNxV7FL9Y805KQGpPyfRUNmJWupleiZ1 xHDFKUZM92JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ0CiwAAKCRDBN2bmhouD 14fUD/9+MGN9EtNpnhWMVCubiXnLItxYnghxOB6jcruviHcyqwxYrmHMQHYDaxa69m2y7tubP0s ixkobsktYXURi7urv/JxDulHtlTgBN7a1lfsKs1vd3eVbAgJUKCLfRHth7DoM1j4C2wT+j0wnAf jVG49hZxFDHGY1Cp8SNwUHdNkwIhJPa7yi06BgAB/X/7wD/a0WY+eNkbesACnDNryFWJIsKppA0 QYi+RxWtXjzHaRkRFcPC10vQVquBRXGC6MnoYijmhpwhCKYywMkrjBr1r4eTCM9bfdZs3XLb8N/ BHf2Wt9qBiPoaWSIYFxy7DOQXUKWjKEscryWQYPoWGdeUb5skYJ5a428242MIaUnaNh1FsqKQBb N1xWUX3ipZFwiu8PbgwMqGrfbxhaMfV0Ajsd9fARujY4aAMfhrB5++f0JKjGkN3hW7twvWmYxbG pl1a8BKRB4/9MgA+lNbybORe/c5gNYVY5usbCptWyH3kGDPLYO/epsC0YGM2Kf+aFuC8URQQKYP JzFwfhPUbFHBE+9/rQx0ECshR68UP/n4jES0MKofv1/oGBL0ohA7H49aN0PHVYheTPUa/68OSI0 sTV7O9sCnHAx1geMU/2sfN6BfuzA0cP/opX7bVUKIjlWTnpaKl8/AMtkvzey4DW4KH6eH6nSNG7 gakbmYF5n5l1B/Q== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Enable the CDSP and MPSS (modem) on QRD8750 board. Signed-off-by: Krzysztof Kozlowski --- 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>;