Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3868180pxb; Tue, 17 Nov 2020 05:48:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJx4VD5VyXLY8Jio/VAMg2LJd+8P4iuvgV0UokTezxwDS6AOxArBNX18mvubrADPLVeBydT7 X-Received: by 2002:a17:906:5c43:: with SMTP id c3mr21026543ejr.390.1605620887169; Tue, 17 Nov 2020 05:48:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605620887; cv=none; d=google.com; s=arc-20160816; b=bgM0QQIuhaasqIg/dmGwpzWFp9G733arxaiyNM5ex2CWLe3z/Fw9Kou9Q+PibhucWz ZS5JWzH1DIeaaqz1m3yIjw5fReFJDkt8tddny5yNF0oB1xDN3lbz7P79Zk+n1fhlh0Wp VTXo5yTcd0JIi60bsH/7LoOQ2Ty+Wdapec+/7GYiA6gYk4hyByZEwZGB4XbbSWFtyx6C SDc/6kcd5RceovAparVhca7rEsb4T9x3a7m64RuxFGI0YECtyL6fN3cJiF+a4jZT7oqd VnnYKdET8f5qggMikwL0+n85Eh06bY+kY2VoNmaCY0CjYmg40NWIj6+2Qv5TUQyFsiyt b3uA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ncm4tg3t1i7YF0Acj05l9+ZFtRqok/Gt9GCUMfnO+SI=; b=WbQCxYtyJ39UADadEPjjeJJWo4y9W0qbHHgvwhoAYk+tp3EooJdv1q/DF6mvnu57Zt BRNn4yyRMBWmWCkMbLq+IqIkfSvFfMln7mUiaYy+AxDS2RBpZ7NXOyoAj68M7V2t0uYx URCssaG3wtG5YzjsMpUXe4+r+euFD3O424yjS6189aTqujvoaOUXNIgYJIGSJZ5JyFBX YSxBKa/SkHgwtei21RCN7QMu5ojYi37iA/e9rkpKKrCOyXQfV/YfQPfpAU87Kg1+wWnQ hen3y4cIhy6JdG+ZaOZKuTGlERJG4LFp+hx4vpS13Fy/JoL87vpDrqFiMzGw9XHCETmJ C8dQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AzK6Yrvt; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u6si14779634edq.475.2020.11.17.05.47.43; Tue, 17 Nov 2020 05:48:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AzK6Yrvt; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387728AbgKQNr2 (ORCPT + 99 others); Tue, 17 Nov 2020 08:47:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387720AbgKQNrX (ORCPT ); Tue, 17 Nov 2020 08:47:23 -0500 Received: from mail-qt1-x843.google.com (mail-qt1-x843.google.com [IPv6:2607:f8b0:4864:20::843]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CAADC061A04 for ; Tue, 17 Nov 2020 05:47:23 -0800 (PST) Received: by mail-qt1-x843.google.com with SMTP id g15so15525472qtq.13 for ; Tue, 17 Nov 2020 05:47:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ncm4tg3t1i7YF0Acj05l9+ZFtRqok/Gt9GCUMfnO+SI=; b=AzK6Yrvt4ojnePSkMjrD04IdokAWSGtpGueCwZFlbrhy7hQtMjiEOjBlKkuMmv6pF4 leZpG5bdulABRj/GDDtcY6PUZ5V1E/u5F0ajbytrEoDoQcJOiWgT7x4ZeNaOQEDTqidx f76yEpQVEvddQO9gwcy6YJ9Pu7setxaG5HL22KwMqHotBYmx6iXb+A3xsegUbQDBXIUL ZoTMtx1W8jBbgR35hor5jUn8/hJl7XabBUYuGd1xYcFXg1cKrkYUKXxyFrjyUMBsp9k8 2/tZf+yEKOzk10sjnHHvV+6+biGQXnG0cz68sUCmsxOQvv1zb2MeGo3yoRDCqHj5Vve9 GLlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ncm4tg3t1i7YF0Acj05l9+ZFtRqok/Gt9GCUMfnO+SI=; b=iJQSDozk8yf8Ui9RjXEgz6I5evjY4TNrcgsrBGYvInQRMDa1JZhwf/AI4/04URlolR tXGvZthcU64u69HmB2cYE9mV54f0u9xLbigro57CswtT3fmUb/q22MN7+5EzgkmSDF0m boZtnbVyMZJ7Z9fif0Qpjp2w5RkiQ9OXEhiSdpx18s3J7Shios/VHtuGNpxIxAwlYDXM m2x5P8vGPNZA/pFe8XD/OgnbbCkEDKstGdnsTR3wi247RU+9AUnO1nF0p4hJJtdT31ET IbbiTK2sZQ7tKXNS2ZPyWvUb6GWeovsggc43muwuHW5MVhnMsp4EgJ0LnEc4L6Ca/ZZM a1oQ== X-Gm-Message-State: AOAM530x2JRU6StSOPykgKj9JljEPBN5AV/u2pqHuycu0h2xE8+nDFJz 7zL2ZcCSZPeQlfbQ8EHCqasBDw== X-Received: by 2002:aed:3fb7:: with SMTP id s52mr19611498qth.100.1605620842278; Tue, 17 Nov 2020 05:47:22 -0800 (PST) Received: from pop-os.fios-router.home (pool-71-163-245-5.washdc.fios.verizon.net. [71.163.245.5]) by smtp.googlemail.com with ESMTPSA id t133sm14607355qke.82.2020.11.17.05.47.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Nov 2020 05:47:21 -0800 (PST) From: Thara Gopinath To: agross@kernel.org, bjorn.andersson@linaro.org, herbert@gondor.apana.org.au, davem@davemloft.net, robh+dt@kernel.org, sboyd@kernel.org, mturquette@baylibre.com Cc: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH 5/6] dts:qcom:sdm845: Add dt entries to support crypto engine. Date: Tue, 17 Nov 2020 08:47:13 -0500 Message-Id: <20201117134714.3456446-6-thara.gopinath@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201117134714.3456446-1-thara.gopinath@linaro.org> References: <20201117134714.3456446-1-thara.gopinath@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Add crypto engine (CE) and CE BAM related nodes and definitions to "sdm845.dtsi". Signed-off-by: Thara Gopinath --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 40e8c11f23ab..b5b2ea97681f 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2138,6 +2138,36 @@ ufs_mem_phy_lanes: lanes@1d87400 { }; }; + cryptobam: dma@1dc4000 { + compatible = "qcom,bam-v1.7.0"; + reg = <0 0x01dc4000 0 0x24000>; + interrupts = ; + clocks = <&rpmhcc RPMH_CE_CLK>; + clock-names = "bam_clk"; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely = <1>; + iommus = <&apps_smmu 0x704 0x1>, + <&apps_smmu 0x706 0x1>, + <&apps_smmu 0x714 0x1>, + <&apps_smmu 0x716 0x1>; + }; + + crypto: crypto@1dfa000 { + compatible = "qcom,crypto-v5.4"; + reg = <0 0x01dfa000 0 0x6000>; + clocks = <&gcc GCC_CE1_AHB_CLK>, + <&gcc GCC_CE1_AHB_CLK>, + <&rpmhcc RPMH_CE_CLK>; + clock-names = "iface", "bus", "core"; + dmas = <&cryptobam 6>, <&cryptobam 7>; + dma-names = "rx", "tx"; + iommus = <&apps_smmu 0x704 0x1>, + <&apps_smmu 0x706 0x1>, + <&apps_smmu 0x714 0x1>, + <&apps_smmu 0x716 0x1>; + }; + ipa: ipa@1e40000 { compatible = "qcom,sdm845-ipa"; -- 2.25.1