Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp548375pxb; Thu, 19 Nov 2020 07:53:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJxAeUDghHBcASqBkOxlGnStrx9G9hKF+4Tj622EDyjW74PAjdUEeSYHqB66kPreOpEaDfms X-Received: by 2002:aa7:d286:: with SMTP id w6mr5668410edq.93.1605801225484; Thu, 19 Nov 2020 07:53:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605801225; cv=none; d=google.com; s=arc-20160816; b=1CVHnVoQzOaEj8Vi1KueFm5JIv7AfM/q1Kh4nrVjgPj4WndFV8WLfqhC4Jc8TApi9M 49PL43qdHGY83hkzk6AwVtuTIf9SkKNvzTs9JVNKsvgaRw2K+rvVJCmWATnxAiJh1mRG Tv43A27wjjY/6chQ14yC5lfRG4Z6uF+DK32nLC6RECj8fC0A/5HOhajSR3SXFEofsDKL fBtPc1fL4TJfB0inpLCv4+I6dQaOEeYpCbicG1nw54mxGaN5Q1wKUtDlo101MS1YlvNh qV0SzmJ5xG2ecrANtjbXFj/x/HpcEoGbbttTWsirRBOkaNw60MFjtw6KFWPuKPCMJ4c2 ntPw== 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=TQGpuhotXzI8yK/adV4LCWqJna7XIZD83dD898BZ2uV9XAAD/Id807znuMY2MDGMQ/ 5p64iIo9c+yPVigCYfIHkp+AYFxJ6StPjowRHDCNtpDqTTzdeVrBWthgc8FsrIA3WJ5t ZNhe3gYiN3wg41A9gZS5Fx333BBwpwyQ0cPzI+IoF0ExUIY1VQb5nhHdnp/fQUaH1cUe Uz7aOqO977c7PMRuNpDMF+EPsX+13SVVtrfJAjU5BCa9hcZ35219DNKMAGuODL6KeoWg WkTZYXLyQP1ET0/u+diCZJi1HaywlcZAgfQyiuM2EbjQkzWm3DqYtCaMM4N+n3NcKapa WwFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Dwn1JI3I; 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 z7si29597eja.279.2020.11.19.07.53.22; Thu, 19 Nov 2020 07:53:45 -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=Dwn1JI3I; 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 S1727962AbgKSPwv (ORCPT + 99 others); Thu, 19 Nov 2020 10:52:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728938AbgKSPwn (ORCPT ); Thu, 19 Nov 2020 10:52:43 -0500 Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9583C061A04 for ; Thu, 19 Nov 2020 07:52:42 -0800 (PST) Received: by mail-qk1-x72b.google.com with SMTP id 11so5779519qkd.5 for ; Thu, 19 Nov 2020 07:52:42 -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=Dwn1JI3IGVVrz9y1hJnMh9HlIiQF+/UE4yWOgcnTq+QHQ0LRgSEKDOa17UhFgxvw5W sfrnXKLoLKvWfb3hD8atziUk3EsE1xbMU/Paxw0f04Jrx9FaVGupvJVC8PtlLpAz9mTT YZNyEHaqD1c1sHi+lAHPsqQjYNB2C7hVqGlHXZ346pyCia0Td+Bn9V2H9gMwvS3F3cE+ /sXSXGVVWvDmDNU98wXz3r+hkVy1GpHWJZfSnFhTybRekpDX3GQiha9tvuFs2S1EoNH5 NtNal34ErNuxWUva/p0UbDHeDlh7hwO4BxyWAjjyqCuHOohH8T6OZelQaslPySs52tMO kVFA== 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=XJneSHif1b4GB7rl+P2FievbMHWc7SfT5S/j8G300U/zo3qtqbbAyUZgbbU9OlSP4v yB1Z+/t3EMqMPa4w2yGcUtT3oROKGD3o9wqg/3LiAzZqgmYKda0/nGW96guGV1Lef2Tw 4w+RNUSBwBb/VYAOj7Zu+pcCQHXkI7TOCikwPNE5cZHI8hKVheDAWUh+toTUa3AiUtMs rywajxPPdmAyRj+axHHpyFNyGjiN/Wchzi1ewS0JsfT/MMZVZ4JP1YhHjqRiaZqHJtnL fSwd6zDHszlq14kTV6qEzsNQ1r9PVkqmmfPe7R9yKVBSCXP5GtQQbxg0Skw0qGbnLNNY 3EAA== X-Gm-Message-State: AOAM530KJKNYPBVmJZib2dpC75Y339D8CtzbpvLFH4FDCztvn/WjhFVW hgZ8VMoxfKqRD4UzO7en5CcpKQ== X-Received: by 2002:a05:620a:d41:: with SMTP id o1mr11295674qkl.338.1605801161839; Thu, 19 Nov 2020 07:52:41 -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 g70sm127290qke.8.2020.11.19.07.52.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2020 07:52:41 -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 v2 5/6] dts: qcom: sdm845: Add dt entries to support crypto engine. Date: Thu, 19 Nov 2020 10:52:32 -0500 Message-Id: <20201119155233.3974286-6-thara.gopinath@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201119155233.3974286-1-thara.gopinath@linaro.org> References: <20201119155233.3974286-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