Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43C54C6FD1C for ; Wed, 8 Feb 2023 18:39:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231442AbjBHSi6 (ORCPT ); Wed, 8 Feb 2023 13:38:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231466AbjBHSi2 (ORCPT ); Wed, 8 Feb 2023 13:38:28 -0500 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 870B732507 for ; Wed, 8 Feb 2023 10:38:27 -0800 (PST) Received: by mail-ej1-x631.google.com with SMTP id m2so53400373ejb.8 for ; Wed, 08 Feb 2023 10:38:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=G3EO5siwdhGpkelYPYEIcK9+XxHqnaj+3eHiFrzR7l0=; b=WshMmb3W+09KjIoeUP1uAeVHbEeyyAIzdgDymmxrCu+bj0OobG7Sw6/TOt/EYF7L+w BVyW+1DPAlXCukjEqeUFdPbHOJ2R0KPIKpFuklmwzStCEPfUhPb160Gf8flLK4TxSfoU ae2/whHNQAkpJeXPKeng6lMaxu/VXGDLpuTRhU7HjTfYoc2ESAPhtB4nchgyINRH5UbP zaQZiKO9+URY8Ky4UMGoHt+Rk523jXav7k7AEJiL8+uG/DsIPErScpUmX3uNgkDiBvFA XUrlLHg1BZNTUclbsaqlwxRsp3Vxub0ImQV47s4y2MGXic2arPsSUQzZaLQLUCQx8vmA mMGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=G3EO5siwdhGpkelYPYEIcK9+XxHqnaj+3eHiFrzR7l0=; b=PHFu+hklBR7LIRgfnJRPWAti+q9VpheS9Zt8cth2s/yTTB4OLLoe6ON5OoNahEchf1 kRdRLHfB5n9MvtTKiqhn5eaZgyZB4zO3Ie91jnBj30/f9jZ6g8OGFwloOFP1vZpZE2ry 9HlloemCbdJEInYyeypPaywmaZtaBXLbVEiK3eaU4hkF2xTkw3q1HLEV2HX9CYLfTBFe e/nfSJ04y2g1C++WRWbArJqvu7NQeP1ATsXSxd9Sq+tJGF9l7UcEa1YOlj/5k84VI6sv fwOEBIw7TUhQGRZwFyCWkJNvpR241vSWPMLrJAg4xUtO+EBVREJTH2voUagFwvSXZsRZ WA/Q== X-Gm-Message-State: AO0yUKWhK2iUf7QEGUKDGmFdfytU99rugJ+i6wjV2BD71+qMUeltW8Ju L13qSbkVUCvDE2xKnU9So9ACfw== X-Google-Smtp-Source: AK7set+MQnEt0EjwbBUXBv9Max2YvnT4UFCtu7Ky/NgIX32Bwh6SdCSEiaWBlQSub5VYHXJnMcETmw== X-Received: by 2002:a17:906:2098:b0:889:3d10:ae93 with SMTP id 24-20020a170906209800b008893d10ae93mr8112409ejq.6.1675881506124; Wed, 08 Feb 2023 10:38:26 -0800 (PST) Received: from localhost.localdomain (88-112-131-206.elisa-laajakaista.fi. [88.112.131.206]) by smtp.gmail.com with ESMTPSA id d22-20020a50cd56000000b004aaa8e65d0esm5179663edj.84.2023.02.08.10.38.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Feb 2023 10:38:25 -0800 (PST) From: Vladimir Zapolskiy To: Krzysztof Kozlowski , Bjorn Andersson , Herbert Xu , Thara Gopinath , Bhupesh Sharma Cc: Rob Herring , Konrad Dybcio , Andy Gross , "David S. Miller" , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org Subject: [PATCH v9 11/14] arm64: dts: qcom: sm8250: add description of Qualcomm Crypto Engine IP Date: Wed, 8 Feb 2023 20:37:52 +0200 Message-Id: <20230208183755.2907771-12-vladimir.zapolskiy@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20230208183755.2907771-1-vladimir.zapolskiy@linaro.org> References: <20230208183755.2907771-1-vladimir.zapolskiy@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Add description of QCE and its corresponding BAM DMA IPs on SM8250 SoC. Signed-off-by: Vladimir Zapolskiy --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index e59c16f74d17..d8698d18223e 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2215,6 +2215,30 @@ ufs_mem_phy_lanes: phy@1d87400 { }; }; + cryptobam: dma-controller@1dc4000 { + compatible = "qcom,bam-v1.7.0"; + reg = <0x0 0x01dc4000 0x0 0x24000>; + interrupts = ; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely; + num-channels = <8>; + qcom,num-ees = <2>; + iommus = <&apps_smmu 0x586 0x11>, + <&apps_smmu 0x596 0x11>; + }; + + crypto: crypto@1dfa000 { + compatible = "qcom,sm8250-qce", "qcom,sm8150-qce"; + reg = <0x0 0x01dfa000 0x0 0x6000>; + dmas = <&cryptobam 6>, <&cryptobam 7>; + dma-names = "rx", "tx"; + interconnects = <&aggre2_noc MASTER_CRYPTO_CORE_0 &mc_virt SLAVE_EBI_CH0>; + interconnect-names = "memory"; + iommus = <&apps_smmu 0x586 0x11>, + <&apps_smmu 0x596 0x11>; + }; + tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex"; reg = <0x0 0x01f40000 0x0 0x40000>; -- 2.33.0