Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1310013lqj; Mon, 3 Jun 2024 18:14:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUvvJzyXkkNAEddEJVLWqZepAR1JUzj+m2fa1ZLhcSYZpm/mO5epE0+YWVL94Vz5Z7UaH5STFCeSXl2/ippANGkfd57+Vtw9zFIvT60yA== X-Google-Smtp-Source: AGHT+IEnVhL/xi/LHpTxACszWxM0uY+uX2jjaRCcff7WNtwM+/ookt+Fl/4ycYq1PN9c1Gwjeyq7 X-Received: by 2002:a50:aa93:0:b0:57a:1c44:581c with SMTP id 4fb4d7f45d1cf-57a365b32c9mr9601654a12.32.1717463676074; Mon, 03 Jun 2024 18:14:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717463676; cv=pass; d=google.com; s=arc-20160816; b=zCzSioSdzS9VmNoEpJyZ0etXWcZG4We+ZzgUkbUKOf2j1XjjAbow9on5AU94AIUijZ 0fz4D8eLXw3B3iaLyEdafJafghD49pdQl5g97RzgB4Gn/iUujEhmCkwJ96Zw1trk+tbt Z8PFX+6FEVWeH8RoFYlIYnR2bdaR7skWqQ1rvsrg0fEdAlb35tHyS7j42YZ+GfXqxwLx 7UZcg1+n176VcHP44thClgNNGpuXfVFnR7ht6Q2y7wVHvZEc09euD1+XapRn8/8604Ww n1Ul6YDgSUO0Bc1KkyeTBRD4pkawfmpClI9ETX20t5DYs4jS9fua15qH1OjfC2SkmmRH OtlA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=5CnW80lYICCpRYMpoRMwkl3G0FelFZhQiGYOUNlDSW8=; fh=Uu9ZDwg+MtVyZgAp/Y+whyRK27A4LJoOQCDTGYmYyQo=; b=s+edr17OpomvDo2VTcP10eh3MLGTWOyPJpmmdkmEFsgZhQ5WivBcsY9ihYoarPUCUD oJktl+hvh+zW3lFK3IGnfe7+YIh9to6R396rtE77o/tFWVYsWnGeiqlm1GMCHhRjJpDC F+PoMzy8cyNszhruQ3x+nW4v4NN3S/tfDfHbvizY/wuOEqxjeh9EIaklpNURrBY77Pcb /pYQ2KR1i/Mk2t0evS+1TJQRE4O3MXUpAMVOGdn3mtqj/zV7NTQTfShKwugu47Fb0HiM acpta88sN09pD7+6Eekvvc5WzoI+chJTdRb2Fl+xsgvlWIIbZ3Kd53UXSqcFza9mS3Zn 7MRA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=fkqrEXAG; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-199896-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199896-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a31b819besi4657374a12.118.2024.06.03.18.14.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 18:14:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199896-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=fkqrEXAG; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-199896-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199896-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 465891F24904 for ; Tue, 4 Jun 2024 01:14:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 80E6138398; Tue, 4 Jun 2024 01:13:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="fkqrEXAG" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2552524A08; Tue, 4 Jun 2024 01:13:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717463613; cv=none; b=u6+TvU97Ub0bHyLJY93BjJFnFQX7MB0s/fDpKMdUd2zEHzw2CM7M5eiDBqpsXrawL6OeWYf8ih8t95LAXO2wUhY7DROCrp/2XPVYRZt/xBuPg7RuZpP6+qzoHOXDBayJ3PdgR4XRNzEKMR4NIaj0aZMu1VSszKYqqlOoxf4LoCE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717463613; c=relaxed/simple; bh=3qw0MaJni88pwleg/7aVtdME2YvjeNzDSsDWc1eCUCA=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Y8jLjgmmJk9mzda/MNJuDlzMvMuSF2cS19Cq7fNHMEmiQGPeNmFbRto6na0iWClP5Ty/yb6toe1Q33EeW0+ijCZCCHvGVyDDclBGkkp+Y4BDF7sM+hQBkOo+l9AUlskOlUrovYfuYrMhDqDOP/DvuAPw4lyJxtm/MpbSVbAHnu8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=fkqrEXAG; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 453CGM3G028674; Tue, 4 Jun 2024 01:13:29 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 5CnW80lYICCpRYMpoRMwkl3G0FelFZhQiGYOUNlDSW8=; b=fkqrEXAGkMH79Qil zDlbRsaralPfDFIdZm04JaTzcYG2RbBs5iZoZ6NEFcbTa6sm17XDcJrPrvDFX4xR d0Hp469Yn/xfvpzoIGQSP7cDaAUkdZhikkix3jWhwMkkjRYxHOMs1M02OuS/sHY7 3jiiLtOXdy4UgWcc9SWBRyfmI1bTEPsPvnhDW2qWI9W0BsMSbzK9zMGhf8P+6P2N NYQUbJqBRqREA9jBW1c0mRoXAJ82t/t4uMhN5bpsR+/pLrslCe4E5hihPVl1mls0 tRhtQEx9J81+IwghlJd+1f0H7TFoWE4OnmmJSZSyZNKzUYlw8ViZ4YDSHpEevciU GznuFQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yfw5t55js-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 04 Jun 2024 01:13:29 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 4541DSc2012575 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 4 Jun 2024 01:13:28 GMT Received: from hu-sibis-blr.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Mon, 3 Jun 2024 18:13:23 -0700 From: Sibi Sankar To: , , , , , CC: , , , , , , , , , Subject: [PATCH 4/4] arm64: dts: qcom: x1e80100: Add fastrpc nodes Date: Tue, 4 Jun 2024 06:41:57 +0530 Message-ID: <20240604011157.2358019-5-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240604011157.2358019-1-quic_sibis@quicinc.com> References: <20240604011157.2358019-1-quic_sibis@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: jTKPC6OOZy6OgkCht_WT-68_F8nO_quL X-Proofpoint-GUID: jTKPC6OOZy6OgkCht_WT-68_F8nO_quL X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-06-03_17,2024-05-30_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 bulkscore=0 spamscore=0 suspectscore=0 priorityscore=1501 impostorscore=0 clxscore=1015 malwarescore=0 phishscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=725 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406040008 Add fastrpc nodes for ADSP and CDSP on X1E80100 SoC. Signed-off-by: Sibi Sankar --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 156 +++++++++++++++++++++++++ 1 file changed, 156 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi index d86c4d3be126..4edabe0ff592 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -5567,6 +5567,55 @@ IPCC_MPROC_SIGNAL_GLINK_QMP label = "lpass"; qcom,remote-pid = <2>; + fastrpc { + compatible = "qcom,fastrpc"; + qcom,glink-channels = "fastrpcglink-apps-dsp"; + label = "adsp"; + qcom,non-secure-domain; + #address-cells = <1>; + #size-cells = <0>; + + compute-cb@3 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <3>; + iommus = <&apps_smmu 0x1003 0x80>, + <&apps_smmu 0x1063 0x0>; + dma-coherent; + }; + + compute-cb@4 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <4>; + iommus = <&apps_smmu 0x1004 0x80>, + <&apps_smmu 0x1064 0x0>; + dma-coherent; + }; + + compute-cb@5 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <5>; + iommus = <&apps_smmu 0x1005 0x80>, + <&apps_smmu 0x1065 0x0>; + dma-coherent; + }; + + compute-cb@6 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <6>; + iommus = <&apps_smmu 0x1006 0x80>, + <&apps_smmu 0x1066 0x0>; + dma-coherent; + }; + + compute-cb@7 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <7>; + iommus = <&apps_smmu 0x1007 0x80>, + <&apps_smmu 0x1067 0x0>; + dma-coherent; + }; + }; + gpr { compatible = "qcom,gpr"; qcom,glink-channels = "adsp_apps"; @@ -5656,6 +5705,113 @@ IPCC_MPROC_SIGNAL_GLINK_QMP label = "cdsp"; qcom,remote-pid = <5>; + + 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 0x0c01 0x20>, + <&apps_smmu 0x0c21 0x20>; + dma-coherent; + }; + + compute-cb@2 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <2>; + iommus = <&apps_smmu 0x0c02 0x20>, + <&apps_smmu 0x0c22 0x20>; + dma-coherent; + }; + + compute-cb@3 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <3>; + iommus = <&apps_smmu 0x0c03 0x20>, + <&apps_smmu 0x0c23 0x20>; + dma-coherent; + }; + + compute-cb@4 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <4>; + iommus = <&apps_smmu 0x0c04 0x20>, + <&apps_smmu 0x0c24 0x20>; + dma-coherent; + }; + + compute-cb@5 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <5>; + iommus = <&apps_smmu 0x0c05 0x20>, + <&apps_smmu 0x0c25 0x20>; + dma-coherent; + }; + + compute-cb@6 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <6>; + iommus = <&apps_smmu 0x0c06 0x20>, + <&apps_smmu 0x0c26 0x20>; + dma-coherent; + }; + + compute-cb@7 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <7>; + iommus = <&apps_smmu 0x0c07 0x20>, + <&apps_smmu 0x0c27 0x20>; + dma-coherent; + }; + + compute-cb@8 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <8>; + iommus = <&apps_smmu 0x0c08 0x20>, + <&apps_smmu 0x0c28 0x20>; + dma-coherent; + }; + + /* note: compute-cb@9 is secure */ + + compute-cb@10 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <10>; + iommus = <&apps_smmu 0x0c0c 0x20>, + <&apps_smmu 0x0c2c 0x20>; + dma-coherent; + }; + + compute-cb@11 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <11>; + iommus = <&apps_smmu 0x0c0d 0x20>, + <&apps_smmu 0x0c2d 0x20>; + dma-coherent; + }; + + compute-cb@12 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <12>; + iommus = <&apps_smmu 0x0c0e 0x20>, + <&apps_smmu 0x0c2e 0x20>; + dma-coherent; + }; + + compute-cb@13 { + compatible = "qcom,fastrpc-compute-cb"; + reg = <13>; + iommus = <&apps_smmu 0x0c0f 0x20>, + <&apps_smmu 0x0c2f 0x20>; + dma-coherent; + }; + }; }; }; }; -- 2.34.1