Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp29489rwd; Fri, 19 May 2023 14:52:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7kvarvY2Kb3JN1zefYi/4L+7gSIjb8QAtevll0bcT76ICoXc5KztuRpTb8yNHfmjO5Dbta X-Received: by 2002:a17:902:7683:b0:1ac:637d:5888 with SMTP id m3-20020a170902768300b001ac637d5888mr3602517pll.43.1684533166664; Fri, 19 May 2023 14:52:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684533166; cv=none; d=google.com; s=arc-20160816; b=Wk1JeT5STc7BTxJ4fAGblr8bTmypdi7blpM1G4ooHOTOcJCPDHuS+rO7rS/UlppV+A SiGTMbxs+TGXw6o+T46KsIe7JWUp9i0rtIvSjv/2amdG/wlUzHBQiJSgKdvHWlM1ZsJY oNffCXjrYwJ+nSQDagKpnrOVMFjRUuHC2tSLlmY/LO46ydwC5U8q6AeOEM9TYxx9lqyj B5eiRKI6yU6pulxMyClm5YEchY14tFZV504xcsdF6dMmpdUAAqzhEWasjZbSqiJhyooc 9TbhLE/3qrGUXYuo+BLNZybapcba0MWdTdoZAOv8HzcO9ikmYRbyXNDfaye2rjCn4Fjt apOw== 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=ZX3REAuTIsVZ6DzzbZjgxi6x6RxwtquozCIGLLCHmIk=; b=rEzZf9oQu4BCn48QlbMee1e6UM6hde66CDkOdqMcjBRCj7b2oXCJjwmeaJ6FkHWizb ZtqtJ1+xvwnP7dm4TXtlb9U5UBVl1fSNlolOwZtSGTyfmX/EndXqQwyn7pfL25pON0Al xt1RthaC9l9c3HrI8Sf8aaekJhZjql23lqm2kGB3CnEczXCtG+xhB5jVh5q3UloGbt9l dKeuHq+yhmYSoBggDfSymiFXCRjFrSfPQVBAivVwm5hrWqkFQeD/hwBIXDxh8pFLXqtS qkvjOB0hT03kfXJL4mQbk8MkQ5fbHpYI1W/VQ+J028D9d4cr2Pcfa4mLMdHc9Ep48xJD +O2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b1RKkDvk; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s19-20020a170902a51300b001a8102f5d7fsi14723plq.504.2023.05.19.14.52.34; Fri, 19 May 2023 14:52:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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=b1RKkDvk; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231883AbjESVuk (ORCPT + 99 others); Fri, 19 May 2023 17:50:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231951AbjESVuH (ORCPT ); Fri, 19 May 2023 17:50:07 -0400 Received: from mail-pf1-x434.google.com (mail-pf1-x434.google.com [IPv6:2607:f8b0:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30899170F for ; Fri, 19 May 2023 14:49:37 -0700 (PDT) Received: by mail-pf1-x434.google.com with SMTP id d2e1a72fcca58-64d3fbb8c1cso770045b3a.3 for ; Fri, 19 May 2023 14:49:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684532975; x=1687124975; 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=ZX3REAuTIsVZ6DzzbZjgxi6x6RxwtquozCIGLLCHmIk=; b=b1RKkDvksKLGmpT/EePmAxBCny09Q8ABI2ZOS/AahJ95WTR/XKUx1Xi0Lwupi84AgN q78qnHcZbVvTREDAWZHIlQKI3/17yFz7MfSnN25tKUTNdvjl7zTbtMPDr7OpB2smOM4x 64ftMOc4OHycDjXL7Qa7WBBnI+0II0yCBr+RggyFd8kDWGSKv+Es245t+2CPwlsDJpw/ ImaGahLSj5iVkZHHNEIz1q88iXVBVVpPIgJ84bVrTg1ncjUEQB0pVBn0NuUKtQUF2Xw0 G7kofeFvOjbG13fZVqTVzZ6C3pNvNR3q/YZS4B+xizw27dY/QM7CgrMtkfYLZU8SpcxZ B1RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684532975; x=1687124975; 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=ZX3REAuTIsVZ6DzzbZjgxi6x6RxwtquozCIGLLCHmIk=; b=dBIKjsKqwSzA5IFegfcXzSCYELSOMIPvZDc8ZS336z14umEsJB28tALBrYEUz3N92U XV3Zi3Brdp06sNONBgnKdtbseusNeYNaZG2RBAy/vozRtLyC1PeOKzr6DnTeBsCiuuXy iH5DIhXoCQPlCiGUuW93kuoXccJP3l3AgxqD1znjeUy+arnAHNsX3L1yn9VDevZgDgTO g9bNI/Ie5FmVNv04Sne0zWQeu7R9pY9JexSelsY2OeiNdAsNGz4UbJkj8N/rjc7bzm3R HOfYDjiSkQr4+OCSE752lzyzyV1yShAlHxEMMQV1+yyxFj3SmzsoV54X372OKydmQLbF 711A== X-Gm-Message-State: AC+VfDwnQToHVCB88JinRaJJCOBBfonWtnuQwZ/35pS9AarYN+QYa5pu N4YPxesXIIjMdfWPVOkzCWL0iw== X-Received: by 2002:a05:6a00:2405:b0:640:f313:efba with SMTP id z5-20020a056a00240500b00640f313efbamr4225248pfh.19.1684532975199; Fri, 19 May 2023 14:49:35 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:d309:883d:817e:8e91:be39]) by smtp.gmail.com with ESMTPSA id n14-20020aa7904e000000b006470a6ef529sm144891pfo.88.2023.05.19.14.49.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 14:49:34 -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, stephan@gerhold.net, Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v7 11/11] arm64: dts: qcom: sm8450: add crypto nodes Date: Sat, 20 May 2023 03:18:13 +0530 Message-Id: <20230519214813.2593271-12-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> References: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,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-crypto@vger.kernel.org From: Neil Armstrong Add crypto engine (CE) and CE BAM related nodes and definitions for the SM8450 SoC. Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing Signed-off-by: Neil Armstrong [Bhupesh: Corrected the compatible list] Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index 595533aeafc4..1c65f7dc67f2 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -4138,6 +4138,34 @@ ufs_mem_phy_lanes: phy@1d87400 { }; }; + cryptobam: dma-controller@1dc4000 { + compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; + reg = <0 0x01dc4000 0 0x28000>; + interrupts = ; + #dma-cells = <1>; + qcom,ee = <0>; + qcom,controlled-remotely; + iommus = <&apps_smmu 0x584 0x11>, + <&apps_smmu 0x588 0x0>, + <&apps_smmu 0x598 0x5>, + <&apps_smmu 0x59a 0x0>, + <&apps_smmu 0x59f 0x0>; + }; + + crypto: crypto@1de0000 { + compatible = "qcom,sm8450-qce", "qcom,sm8150-qce", "qcom,qce"; + reg = <0 0x01dfa000 0 0x6000>; + dmas = <&cryptobam 4>, <&cryptobam 5>; + dma-names = "rx", "tx"; + iommus = <&apps_smmu 0x584 0x11>, + <&apps_smmu 0x588 0x0>, + <&apps_smmu 0x598 0x5>, + <&apps_smmu 0x59a 0x0>, + <&apps_smmu 0x59f 0x0>; + interconnects = <&aggre2_noc MASTER_CRYPTO 0 &mc_virt SLAVE_EBI1 0>; + interconnect-names = "memory"; + }; + sdhc_2: mmc@8804000 { compatible = "qcom,sm8450-sdhci", "qcom,sdhci-msm-v5"; reg = <0 0x08804000 0 0x1000>; -- 2.38.1