Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4639227rdb; Tue, 12 Dec 2023 05:33:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IFs/ZmLdzeNlMOcvGP9BmpyYXLadhLqzUNXMauG5kdhYY93X5lCj5e+LL0qO3UIa6wW4Xid X-Received: by 2002:a17:907:7e8c:b0:a02:ad84:3ab3 with SMTP id qb12-20020a1709077e8c00b00a02ad843ab3mr4500158ejc.44.1702388019898; Tue, 12 Dec 2023 05:33:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702388019; cv=none; d=google.com; s=arc-20160816; b=JdQfQR8pykozw82OiosOaHrmq7UwhxETXSn6YWnm1NE/c2SjiChqmrYeJ5VwV8or96 ypLBvbzB0rVKLjhYnot4pWxM3PJtpBbo2nFujfgsp49MRxPor1IgqHv9cA6SpU9OlLgM pvJqY6ZeJdhr0pXUQmMIVPECJNsFMzGjkgtIlZNUVwtQRHX8ZYcjfoubsgYAxwIGNSct Nbi4eInk3HKOakQPoP/KGPewW9pjAUyuI3D6uFAFAZRLi2b/f4jGIh9C6gYiAzkcmMiI DAU/mN6QEON7RU15siJ9ELSoB1RQDT77aHIy5zRI+z75WYz1w1n/iaCJDmCp1BcPi/R4 4OgA== 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=oVr8YV32TzNcJ7vwe+veBUyJhWy6NHBxNHXdbsJpJjU=; fh=ln0nItm0syOMHsiNignx7CG9Qb6sagium675KTXa4B0=; b=WITLdKlgFQioA47vOc3ye5G1odldhOV4ogTl+tEwVJyBjd5pgRZ1llwTofXovYr31b fxy2SQlSU/UKNyA4UFqa1PMQ2YoebKZ0UnGu/2BscE3VWR6urkzXswvxVpN9MRwjR4AV jsz81NAvdvJZanlTtoIOA7jHvnwfarEmNww4Vb0Yjo3StAj2c+ToqhypZxsmYq5nH90f QDwpFYZdr9cA/TI804aVdyBPrIih0DJbMHOYKVaT4AH6rOJx22gB6Y047fZGJ2jYHfmw l0pYGt3uetMY77ehwzhB6IqUl1lwdvOQ4QZhoJhbk9/RXR/e7v/m4GFSi29OjS3YDer3 +Y3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PLRdA2CF; spf=pass (google.com: domain of linux-crypto+bounces-753-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-crypto+bounces-753-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h24-20020a170906719800b00a1d7b969b61si4165496ejk.108.2023.12.12.05.33.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 05:33:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-753-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=PLRdA2CF; spf=pass (google.com: domain of linux-crypto+bounces-753-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-crypto+bounces-753-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 A7AD21F21614 for ; Tue, 12 Dec 2023 13:33:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 21D3D61FC1; Tue, 12 Dec 2023 13:33:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="PLRdA2CF" 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 7C228ED; Tue, 12 Dec 2023 05:33:31 -0800 (PST) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BCCZ8Rs017060; Tue, 12 Dec 2023 13:33:24 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=oVr8YV32TzNcJ7vwe+veBUyJhWy6NHBxNHXdbsJpJjU=; b=PL RdA2CFaFkyD6ZClv0FLo96Uc6gdNPkWuVrrw0Xx+5KdyD+L+gNrmsewHoLE2VJf+ a6gkDDgWSqjVjS3K3Mn2WZ/90J1q7s2dVv38O6bqeil2t1dgUFQWXd39Nt3+9G0A bF/5l66VjItqpK+UHlA8LRtca1E9nXjyzE0oDLIkwcL1EsDczbXbpF2JBHc4hIPV 7woWITOnEP6aKSG1Do8oBFUpfUPuiB7Q4dHvM4M+nj4m4ZZnTiO8aA6x0qb4DrNI vSA0JCfNlVaTv7fb3oMvV7py7PxOgQNMvSxoPSBCZVEIXnlIRwjEN49aORIC7AjI 6FBJbEOkGCFajL18l1iw== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uxepkhc2a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Dec 2023 13:33:24 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BCDXNMQ007444 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Dec 2023 13:33:23 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 05:33:18 -0800 From: Om Prakash Singh To: CC: , , , , , , , , , , , , , , Subject: [PATCH V2 2/2] arm64: dts: qcom: sc7280: add QCrypto nodes Date: Tue, 12 Dec 2023 19:02:47 +0530 Message-ID: <20231212133247.1366698-3-quic_omprsing@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231212133247.1366698-1-quic_omprsing@quicinc.com> References: <20231212133247.1366698-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: Z8eSrau29sVmXH87K2oQWUyN1hU0cXQA X-Proofpoint-ORIG-GUID: Z8eSrau29sVmXH87K2oQWUyN1hU0cXQA 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 mlxscore=0 clxscore=1015 malwarescore=0 adultscore=0 lowpriorityscore=0 phishscore=0 priorityscore=1501 bulkscore=0 mlxlogscore=895 spamscore=0 impostorscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312120104 Add the QCE and Crypto BAM DMA nodes. Signed-off-by: Om Prakash Singh --- Changes in V2: - Update DT node sequence as per register ascending order - Fix DT node properties as per convention 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