Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4502315rdb; Tue, 12 Dec 2023 00:55:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IEgvAo34/EZftiAPtaU+HqvJ0VvH7qysF1zvbS6/+pI+/PlM0wBwoR5CfuSDXME497R2A4N X-Received: by 2002:a17:903:41c6:b0:1d0:5878:d4e6 with SMTP id u6-20020a17090341c600b001d05878d4e6mr7864645ple.4.1702371352800; Tue, 12 Dec 2023 00:55:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702371352; cv=none; d=google.com; s=arc-20160816; b=Ct4bo9ocfL0PRx9uDnb3XqZqvFAMzYhNLHoFW6iO3fv2mXsQc2le0kbKikgVdIIp1h dDRx+s0QcKMZqLIqQ8sDCsfJnck6Gwj5JoOPjqMe5bu9v+nmE9tY7YcuOlOCSTwJus74 0Pufa/Jns8b5jCA6d19rlIWXw0tDmnwLXWuz5qx/qme9w/i/1CSSwpPhHu1qY+0o3IPm xJzcpSK2rKU41sUDVgPCDYEflVGdnuYS+tYBefswb6vpb7iopEIn+vgqhGJvgsEyLUpp y/NNaAnLYXiPNbmP2axDuev3VKDZBniBRqivDIJWs9jhJ6DeNOiiVm6AXb2v9SVYXiUd jqbg== ARC-Message-Signature: i=1; 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=0+aSQB4y9lrRPlWL2Rgesic27y0Sb8FdnkQsRUodTSY=; fh=l0nXbwzw13wb9rQ3+7Rggz6xc2xc8Ln+BsypDZGW3q4=; b=bP61K867YDkS0T4DI4qzC0odNHP8sWWmnI0NbkgmCXGbsKv+WSWWq1FuOUvUfilYGB nPCIJ0JjV10n9r/sOy4h2hZxO8dYcuqAM+aY3AbY0/HbNjAKxh+4oOyXZWL9/6vjKSxz xQq/zy1e+PgDjAArmJoc9yMq8a6KpWf9WuUQpUkbzZhGaDzjTLdzOtsLQcNjJMsVQZ47 0RhPtsXwIdV40OMGrHPNFHeXvPE2CQCsLuS3aPzfhhJhyZ2idcej2pwVUYtqP7LmTjVt USO4Y9NEhV5efl48BLsZZ7dl+gr6OSQ+CYyWx89LJbX3c/fXU+nBGGKT6UdXqhjbuY/x LzKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=fFKzsnRv; spf=pass (google.com: domain of linux-crypto+bounces-738-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-crypto+bounces-738-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id iw15-20020a170903044f00b001cfd6baa008si7398396plb.511.2023.12.12.00.55.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 00:55:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-738-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=fFKzsnRv; spf=pass (google.com: domain of linux-crypto+bounces-738-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-crypto+bounces-738-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id ACF9A282B20 for ; Tue, 12 Dec 2023 08:55:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C2C54879D; Tue, 12 Dec 2023 08:55:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="fFKzsnRv" X-Original-To: linux-crypto@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9103FDB; Tue, 12 Dec 2023 00:55:42 -0800 (PST) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BC4rwvS020478; Tue, 12 Dec 2023 08:55:33 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s= qcppdkim1; bh=0+aSQB4y9lrRPlWL2Rgesic27y0Sb8FdnkQsRUodTSY=; b=fF KzsnRvOGNt4htBIyPRnPooyMAPunIVF4UNQaNzWNLcXY4gAkL0McK47vfM/wdeSG 1rvmHy+BFbBMvnYCPhgWA7FsNFTWbPkT8FZ0ZTic0j7vr5rOJHAUIlhfEYyoxI+F UedlkzvQluMLFObiZwbF1kj+RbbCMFo2WlJpMQ+r2CGaxaK/o+xopqnr8FNLX70b JXNLBL5ePGIujy8XqskDYaNzysz+ED0zV+FRiDpbxpT3GaXif/PCClMwbIV7gWSO CDfDsxb0jp45Gli08OX+5tIBnGSGwouZllHAS1Zk3mkjdTRJsO7wswNj1FXWDuL9 +U+bzkZDNCI/xApEsxuQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uxctary24-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Dec 2023 08:55:33 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BC8tWLv008268 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Dec 2023 08:55:32 GMT Received: from hu-omprsing-hyd.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Tue, 12 Dec 2023 00:55:27 -0800 From: Om Prakash Singh To: CC: , , , , , , , , , , , , , , , Subject: [PATCH V1 2/2] arm64: dts: qcom: sc7280: add QCrypto nodes Date: Tue, 12 Dec 2023 14:24:53 +0530 Message-ID: <20231212085454.1238896-3-quic_omprsing@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231212085454.1238896-1-quic_omprsing@quicinc.com> References: <20231212085454.1238896-1-quic_omprsing@quicinc.com> Precedence: bulk X-Mailing-List: linux-crypto@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 nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: cfgmsTnu2Ir3xJDSzZw873Q3dUxbX3k2 X-Proofpoint-ORIG-GUID: cfgmsTnu2Ir3xJDSzZw873Q3dUxbX3k2 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 malwarescore=0 lowpriorityscore=0 phishscore=0 impostorscore=0 bulkscore=0 mlxscore=0 adultscore=0 suspectscore=0 priorityscore=1501 clxscore=1015 mlxlogscore=727 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312120070 Add the QCE and Crypto BAM DMA nodes. Signed-off-by: Om Prakash Singh --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 66f1eb83cca7..7b705df21f4e 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -2272,6 +2272,28 @@ ipa: ipa@1e40000 { status = "disabled"; }; + cryptobam: dma-controller@1dc4000 { + compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; + reg = <0x0 0x01dc4000 0x0 0x28000>; + interrupts = ; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely; + iommus = <&apps_smmu 0x4E4 0x0011>, + <&apps_smmu 0x4E6 0x0011>; + }; + + crypto: crypto@1dfa000 { + compatible = "qcom,sc7280-qce", "qcom,sm8150-qce", "qcom,qce"; + reg = <0x0 0x01dfa000 0x0 0x6000>; + dmas = <&cryptobam 4>, <&cryptobam 5>; + dma-names = "rx", "tx"; + iommus = <&apps_smmu 0x4E4 0x0011>, + <&apps_smmu 0x4E4 0x0011>; + interconnects = <&aggre2_noc MASTER_CRYPTO 0 &mc_virt SLAVE_EBI1 0>; + interconnect-names = "memory"; + }; + tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex"; reg = <0 0x01f40000 0 0x20000>; -- 2.25.1