Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5954452rwl; Wed, 22 Mar 2023 04:47:21 -0700 (PDT) X-Google-Smtp-Source: AK7set+W4AYRLAL2/IudzNPne2mDzotVlsQsD3QB25I5rn1N08T2Kor0dHM5Mprtet69s/35Q7XB X-Received: by 2002:a17:90a:195a:b0:23d:c49:3875 with SMTP id 26-20020a17090a195a00b0023d0c493875mr3716093pjh.33.1679485641651; Wed, 22 Mar 2023 04:47:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679485641; cv=none; d=google.com; s=arc-20160816; b=vHh3l1F7En1y9nlW01AOurN2HRkfjRAB6SCNbDqdQxflqUCWD4A5CGpubErI1MbtIj cadxMh4ctbcrJSi2VhRgBLOct6DgMHP/GA/PVhAgGQM8AN48Tds6JHvUmebUMn0weO4F t0SSDWUFRK5tXsaRY3qHBOLpcXDCq+AXUZqm3RtkzUQ8G5VTS2hPH3Dva0xhyn2yykaC YtNYWLU96qRnD6LeoC7jiXYNsl59udbSj1SwgMU2YNhtEAhlpyoldvY1g2dpR21LBKWw u6+JZBkufkSVNh47z7FR79RiNvUi3O8Q0+AZ6LtnOifW2d2TklLhGIMfkUKV3974mMho YpQA== 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=b+8IuRB7wPiG8RcwMJh7jwuTW8oHkpDSzf2to+aWgkk=; b=iOR6XPCS+QKERRYHYxAj21Za5m5FE2JRoREwFzyXN8c549RRcBal4qs9mWAxDbto4I wXQ2PoZonzedytG3x/1CEIdK67ZUt2ueWLdcqV0WYSeKI/e7qphO13+v+MEthz5TVW+a XOzbeGS4VdOW+bPYxvj/4GIibqC8ILpcyrF0BkBQDGq+Yg7puOPyGhkPo7g4qgBhKNbF 0j08jFBmrUgRSeM39Mjw7e3BzR4iZ8ja+Jpx3TomdlDEOqBD5kjppggp5uZM9QExEs+W rioT6doFxXqUXbLmOmBAFSRvPNW/XmOjvpmV0ueLh9NEODKv9wtnViF8MtN7VtPZQKX2 t3iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JuLXRqui; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b10-20020a17090a6e0a00b0023f7d84cb10si11996889pjk.127.2023.03.22.04.47.10; Wed, 22 Mar 2023 04:47:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JuLXRqui; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S230348AbjCVLqn (ORCPT + 99 others); Wed, 22 Mar 2023 07:46:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230341AbjCVLqV (ORCPT ); Wed, 22 Mar 2023 07:46:21 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B0CA61899 for ; Wed, 22 Mar 2023 04:46:04 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id c18so18986182ple.11 for ; Wed, 22 Mar 2023 04:46:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679485562; 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=b+8IuRB7wPiG8RcwMJh7jwuTW8oHkpDSzf2to+aWgkk=; b=JuLXRqui+5M3hNGpgOtC9Y1YzExdFvkHC7RdPWtEVyntoiFH4r1wOhLskjgGLJ6R7S kyF3jr7HMLgYOS3+21KKkGK8s0ampd+vWvtbDuBppPfizAk9uEmwlAs6Yq78q6rTXR/T qTQGNFy5JepXGqOzWu5ALkuNQIQwFnQmjU+7VPLZw+mIvB4fmHNlk8g4LTpkzLOAA9lZ r5iJjoV5ec8AjSp7y87rJHORt0smLFVW5rgM36zMGAofEQw9YyF31Faq/A7t1jAbbk17 9enRAWne3t/FrurWH7t6qF4w8jSI2Ejp6VmUplWhrtMRnVSFXb9CAcy7ikrL+FpAQZrm SOHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679485562; 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=b+8IuRB7wPiG8RcwMJh7jwuTW8oHkpDSzf2to+aWgkk=; b=S66VY1ExZM8ybucZ+LKAXWRH/QgLXiTBiRgxIQSPbljwCb7EbktgTEJyitmUD+1oOu +24GU9kAFrbUfeigf0WmxGZaF+ZmYOxcbGARtVWbqCwB2U84wHl3kcU0g7E3m8hlDk0H TeyGuOq/eqP/WIXKqZG31fzdKRmJCARbT2dV6PO3GPNxuT7/nb7w91+1w7vV0uO4hhD9 QikeWcR9gvTHZ6s2gEDPo23xuwiXuYmz2P1U3hbI6iaKrMMJnYd/WBD8bSheyGaXnOtF R591Dq8/PKonE6xzaWj/g9wYIfjiFXTAHTDZXN4t5pQHNcS3VgC7NvCNfy7iYUselUI8 2bVQ== X-Gm-Message-State: AO0yUKXGcCtj3R+DLyHsiMHmnD8YaJ/sUQRC/8eoo6u91gkb27sVZgLP t/W0/kTNwZoIhUBx+xjj1w4YQg== X-Received: by 2002:a17:903:686:b0:1a0:4b9a:bae6 with SMTP id ki6-20020a170903068600b001a04b9abae6mr2459904plb.30.1679485562498; Wed, 22 Mar 2023 04:46:02 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:d4c3:8671:83c0:33ae:5a96]) by smtp.gmail.com with ESMTPSA id jd1-20020a170903260100b0019b0afc24e8sm10386649plb.250.2023.03.22.04.45.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Mar 2023 04:46:02 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org Subject: [PATCH v2 06/10] arm64: dts: qcom: sm6115: Add Crypto Engine support Date: Wed, 22 Mar 2023 17:15:15 +0530 Message-Id: <20230322114519.3412469-7-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230322114519.3412469-1-bhupesh.sharma@linaro.org> References: <20230322114519.3412469-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add crypto engine (CE) and CE BAM related nodes and definitions to 'sm6115.dtsi'. Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index c56738633431..d657e1b02062 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -664,6 +664,28 @@ usb_1_hsphy: phy@1613000 { status = "disabled"; }; + cryptobam: dma-controller@1b04000 { + compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; + reg = <0x0 0x01b04000 0x0 0x24000>; + interrupts = ; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely; + num-channels = <8>; + qcom,num-ees = <2>; + iommus = <&apps_smmu 0x94 0x11>, + <&apps_smmu 0x96 0x11>; + }; + + crypto: crypto@1b3a000 { + compatible = "qcom,sm6115-qce", "qcom,sm8150-qce", "qcom,qce"; + reg = <0x0 0x01b3a000 0x0 0x6000>; + dmas = <&cryptobam 6>, <&cryptobam 7>; + dma-names = "rx", "tx"; + iommus = <&apps_smmu 0x94 0x11>, + <&apps_smmu 0x96 0x11>; + }; + qfprom@1b40000 { compatible = "qcom,sm6115-qfprom", "qcom,qfprom"; reg = <0x0 0x01b40000 0x0 0x7000>; -- 2.38.1