Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp312169rwl; Wed, 5 Apr 2023 00:32:50 -0700 (PDT) X-Google-Smtp-Source: AKy350b/HU7wmpJNJKFoF95oguomKVEAl+eGKUHJ+k1VSAzY2iBvpTiWe0R4DbpquLpfV8Gf+roO X-Received: by 2002:a05:6a20:bf25:b0:dd:44a8:9d2b with SMTP id gc37-20020a056a20bf2500b000dd44a89d2bmr4178801pzb.1.1680679970719; Wed, 05 Apr 2023 00:32:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680679970; cv=none; d=google.com; s=arc-20160816; b=lHg60z4SenjAyfdjfgeFwU4RCYBxuxjiTKglrfXiyWhKmw4aih3iy/fVCAdrQL159R E4rScDzrkTCmsYijIiFZTHktHrypV04uejE8wGX2aCh5PJD8fNNkBO2vdHTYOmzf78LC pkKiJBYsW/yoHfvxST0LxkA1ndMIGx5UA468vPsQLYTkEN0JDxzsslG709FVmx2VvTDk 5d3oYMPB4jaUf0I8YkxTwNcIVRscMDfSrH7ur9fjyDKpOo133RhSSWsMXRmHHU4TtDu6 3WVPtJknicBFy3D1G0QOdz3vw4DwJ89PSoOxyH6zjJzvty/3dBsoSG52AaqIO/W3C/Vd k6xA== 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=PuEDYxPh1iqRLp/0Giai1ZnY3ruEMo64qCfhktsCtAU=; b=AZPzc4inPALCLbe4wxX+KMCCTGarfCPAofpAS6FqVqg6vWCf6LcNDQltYunBN4QkdC 3qT+X2sejkFiEtgUADyhNcTnpqlYvrB9jvD5DSnY/zucgbHuiKZ4/PPaRyQzgi5JLt/C XlshstDco3aKRuOBIHfN2uYLPiBq7jsJJa61fuGSdOeIKYME1VRAvj2IQGUj4ZK10X7f oAKZcDaW7mvqblqdjopsCIbxFjzjwO21bIDLmB0SIjWxMYdevakdocTY+HvjIqlCO1Nu cOuumhNoqBZq76N/kKXTxx64tJ2GzCXSmau3z6tTfJoPqGJRmzUfvQTd5EjYJHq2l31g gPCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ElPO4X4V; 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 y191-20020a638ac8000000b005077ef783b7si12138161pgd.484.2023.04.05.00.32.39; Wed, 05 Apr 2023 00:32:50 -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=ElPO4X4V; 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 S237165AbjDEHcO (ORCPT + 99 others); Wed, 5 Apr 2023 03:32:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237150AbjDEHbq (ORCPT ); Wed, 5 Apr 2023 03:31:46 -0400 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC98859D1 for ; Wed, 5 Apr 2023 00:31:24 -0700 (PDT) Received: by mail-pl1-x62b.google.com with SMTP id n14so17787520plc.8 for ; Wed, 05 Apr 2023 00:31:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680679884; 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=PuEDYxPh1iqRLp/0Giai1ZnY3ruEMo64qCfhktsCtAU=; b=ElPO4X4VI6hM3TLE2EKMn0hQnqxOq5LnXCJzh/eljphQ7I0O659V/gE47hUOQih6xG /0Q7tWMa2VEyuOd+Qa6NyDazjs/jrasx5a9bFXnR7BLFGayV2zn4Cwx43WxCSeQp9o9I VncHVpVDvSrXpnOHCdqlWm/dEN7lJL9bncJUBzjZ4jTwJKnTy898QFafyHM+P2U4O6FP fU+5yhJkv33XEAjfw+WgDugLQ4KbUj0aMxyH5BZG+8NetNuJmrrB+23e4ZUVoBUwPZEy MYiDOimhwl6Xawau8UjLZP0o1bojBJdSLH8CF9ycDs3DEV8NFVdjFotNENwbUYL+1U0/ 8Rpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680679884; 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=PuEDYxPh1iqRLp/0Giai1ZnY3ruEMo64qCfhktsCtAU=; b=s24qYFAajFdNNqOipaeFTuEPqbd3eFm7ur93fyAcjAZB/GMqX8LK80gznM/mS9+j1h pT5jSJJ79xv8WVSpmnAdWCAN7gjma8Zasau47lTfETqDOhfiqZxr49pW1SXMo+pU549g O9zkq7DU5wEok7hj3QcRhh5C1ch0fVLE1i+uvgJwplp2KhJB+OJ+rxskveE7kw8DRO31 uxiIsn/5ekF6LsxOpNRJB8BC5ex4Sv7A32kOEGGrlS7S46earQRS6vppAwM6A1ZKFFh8 2pGNDeAIKf+jHh25kHizMwOHygWfhaK1+MuIhhaLEvPSxm8O0SglcyTT9s9zhtj2WATs 6JnA== X-Gm-Message-State: AAQBX9djsfVGQ4pq+ve4E/PDJL+Qo+hIRIoT3qOHAJm+YFVTpdVBcao1 p306sQl5TUUnZ2RAVUVAt3k9mA== X-Received: by 2002:a05:6a20:811a:b0:d6:8c70:85ce with SMTP id g26-20020a056a20811a00b000d68c7085cemr4102017pza.54.1680679883953; Wed, 05 Apr 2023 00:31:23 -0700 (PDT) Received: from localhost.localdomain ([223.233.67.41]) by smtp.gmail.com with ESMTPSA id l7-20020a635b47000000b004facdf070d6sm8781507pgm.39.2023.04.05.00.31.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Apr 2023 00:31:23 -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, djakov@kernel.org Subject: [PATCH v6 07/11] arm64: dts: qcom: sm6115: Add Crypto Engine support Date: Wed, 5 Apr 2023 12:58:32 +0530 Message-Id: <20230405072836.1690248-8-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230405072836.1690248-1-bhupesh.sharma@linaro.org> References: <20230405072836.1690248-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 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 2a51c938bbcb..ebac026b4cc7 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -650,6 +650,28 @@ usb_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