Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5890257rdb; Thu, 14 Dec 2023 02:36:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IG5kRQR+S7JdcTt5LV4FOqm40vaOQvnAomLGj5SncxaQzuf4yJem9EEW6PuM09zx5Nk5obU X-Received: by 2002:a05:6870:70a0:b0:1fb:9b:3d49 with SMTP id v32-20020a05687070a000b001fb009b3d49mr9382831oae.53.1702550209290; Thu, 14 Dec 2023 02:36:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702550209; cv=none; d=google.com; s=arc-20160816; b=VMUVnsEEY0Y1nJGzM2ZUzANsw+0xxw2h9y4DMyQ98CWJ2f6okEuw506B8AbmAMCpgY l8IkrSljQJqZgRFVrN/n+gFM55ADKJsz6fOKVxFCE0OtJHoPVIMHVXo3wZdIP03yQLjp Xg1ns1Mr52Wnd68EdpC8Zsu5ABENyfnlml1Ns5MlXbl53GyP3EjZVkBBjURcXKLzstIl wz+eVacvxtD5o+zX9lcygoqMpAzhqpZwkJdI3XHIrE2ozRslybPGjfRJqDtTyPGRLq2T ZtJBgICLZhbjSTwZctshfEwQdVRLIL1ilYDR8CN7L2t8IvzU5gN1ePn7kVRPNgZ+vbu9 dQdA== 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=Hy0ZCuxeshJ9OJqrWSouk5mKlu/Kf0gzIP9t1ih7CTA=; fh=l0nXbwzw13wb9rQ3+7Rggz6xc2xc8Ln+BsypDZGW3q4=; b=nL51moFTJBNt5CWrl90W/27hseX15hYK4I2qLPrlSk+q3tSvgUAUgaQc/jjaQ64DOd BlufnKFrPUxTu4lSBds8SuY9oE5PBSxwKMiIFCnJiiQNqfCdYWUTTr2X+ZzElcW5alHV wKIXkfqD7D+g0CdzCH6ke78nLQtJbk8vvKWOaEe19Dhxjc7X6lYG9ZBLEjHrAKMqU2W0 xt+48dgFPOS8ET+AgtERtDQtI1aKjF9r8IwXAkW+GcdkILvZnMCYqmJPknNWIXbY06bK tWj7B3zL1yUnA3KRHXcCb4FrcCWhrtC7d5E78wnp5wsqJT4bxb6rR28Qo/wG2T/gPKSo Maew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=LNOkMoFK; spf=pass (google.com: domain of linux-crypto+bounces-831-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-831-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 28-20020a63175c000000b005c6bab48f48si10807045pgx.111.2023.12.14.02.36.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 02:36:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-831-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=LNOkMoFK; spf=pass (google.com: domain of linux-crypto+bounces-831-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-831-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 E9444281ABA for ; Thu, 14 Dec 2023 10:36:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E2A633C08D; Thu, 14 Dec 2023 10:36:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="LNOkMoFK" 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 0DDED10E; Thu, 14 Dec 2023 02:36:41 -0800 (PST) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BE9K6JT028706; Thu, 14 Dec 2023 10:36: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=Hy0ZCuxeshJ9OJqrWSouk5mKlu/Kf0gzIP9t1ih7CTA=; b=LN OkMoFKYjFQD+lYDukDIkcmZ09DimEPdpEaJazOMOf1SrEJRjAGtJrMmrPeXSekeM 1HIGT3IC8VRKmFv1rxy8oOXvX/VQ7+hnG50D8CF08Hyk6QdhNHj8ZS3WnXYuGZeL yoNsOSY6zSIH4TDO9QQUrL8hbID9OJq3loyPrgIZdCmYx952TBh5EGnugQD1Lwrd 4D+KIIy4Os56qkxlKF0laYQG2O2hKGkMk5z/bQnu4r89SmwgvOXv4QdMXwO2jsDp ZFES3Zq5+MrrjMDAjIELnCDTeoAioAOBlVEay1bkLjRb7zR+bLOLxILZKzi0zNyU 6jBhagoCEsRC5yOoBONQ== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uyqgt115s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 10:36: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 3BEAaW2O002868 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 14 Dec 2023 10:36: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; Thu, 14 Dec 2023 02:36:27 -0800 From: Om Prakash Singh To: CC: , , , , , , , , , , , , , , , Subject: [PATCH V3 2/2] arm64: dts: qcom: sc7280: add QCrypto nodes Date: Thu, 14 Dec 2023 16:06:00 +0530 Message-ID: <20231214103600.2613988-3-quic_omprsing@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231214103600.2613988-1-quic_omprsing@quicinc.com> References: <20231214103600.2613988-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: eI1ZMDqxm7hjzoiataeKDsSfKo5OS_qG X-Proofpoint-ORIG-GUID: eI1ZMDqxm7hjzoiataeKDsSfKo5OS_qG 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 priorityscore=1501 phishscore=0 adultscore=0 suspectscore=0 lowpriorityscore=0 impostorscore=0 malwarescore=0 mlxlogscore=810 mlxscore=0 clxscore=1015 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312140070 Add the QCE and Crypto BAM DMA nodes. Signed-off-by: Om Prakash Singh --- Changes in V3: - V2 patch was sent without actual modification. Resending the patch with modified file. 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..b819724c1255 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -2233,6 +2233,28 @@ pcie1_phy: phy@1c0e000 { 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>; + iommus = <&apps_smmu 0x4e4 0x0011>, + <&apps_smmu 0x4e6 0x0011>; + qcom,ee = <0>; + qcom,controlled-remotely; + }; + + 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"; + }; + ipa: ipa@1e40000 { compatible = "qcom,sc7280-ipa"; -- 2.25.1