Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2175914rwl; Thu, 6 Apr 2023 06:56:13 -0700 (PDT) X-Google-Smtp-Source: AKy350aTSuPaOpnxW9uaErJTNy44seuGS/XqoSgMcliA5SdlYw3oocmu0SGBArFqzgQHj11Dm4As X-Received: by 2002:a05:6a20:1b0f:b0:d7:34a1:859a with SMTP id ch15-20020a056a201b0f00b000d734a1859amr2964576pzb.27.1680789373179; Thu, 06 Apr 2023 06:56:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680789373; cv=none; d=google.com; s=arc-20160816; b=YRZVr1vyJgvDDkRP93o9lhyr/T2N+jS6OHHZfaZSOEgp7gohp/mbRhq8cv4BficzPX /hZpAV5Ysjuy558fEACRCy1x5Ril/OFo8xKxJrMGODAtokfKTXCCkYsvv7KxLqxsPbyM GzemH54F1xlD7DnNdYnmUwQcAIcl9RwRclggIKv9zn08GZI4ElVBYSabB4y5nRNSDYXO f/UILR6HH+B1O7Qe6nvhUdfH2hDW6DGeK/xXfrVOSXNI99OIKX/LRuskULk4fxD5OE+Z MgZ9+DhFWruuBKWc+Yx/6L6WsUn0jKB7T9gveY+s5KXISeipiSxjw/Pku1UkKib+4vmg W3aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Fi3MbKEX3/1oXOmLA6/02HNxunRbR6J+mBMPZLKnID4=; b=J5tC+iYK0yC+ObBpq9/xqEkpnj2lOrAjGHT8FD/um5k182m1iX1vfBqUi1MH06IsWC p4CxCgtAsXBoSNySXN+XYHKBKMaFOPTnLILCD1CJZv1Qma7i4Jm0HiGCiOVPcHhIgkrb PBEiV3LCAHCtX5QYV4e7W3hlY4yai2u9k0mB63BnCNnCA/T4HDF7CUDb63yHMNPbnbA/ taSeq0Lj4BGcHsKz2dxbdRn90Ip27QmK5GtmQpt74qYD6Uepo5hQXhTbFUGqT18PyqMo he5+3DSIGHm77gIDtZk3++DiCeV/wHUjPAuYo6x6FfwSqdGOItKhllYURkKuyvh0vdPH Pn4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V6Lvgn5U; 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 14-20020a63114e000000b00502e6e5b580si1243950pgr.756.2023.04.06.06.56.01; Thu, 06 Apr 2023 06:56:13 -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=V6Lvgn5U; 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 S229917AbjDFNwZ (ORCPT + 99 others); Thu, 6 Apr 2023 09:52:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229968AbjDFNwX (ORCPT ); Thu, 6 Apr 2023 09:52:23 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FC4559CD for ; Thu, 6 Apr 2023 06:52:21 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id o20so37855808ljp.3 for ; Thu, 06 Apr 2023 06:52:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680789140; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Fi3MbKEX3/1oXOmLA6/02HNxunRbR6J+mBMPZLKnID4=; b=V6Lvgn5UmaJHwGcsdXTIlnxWzrSKyZcw3V2db72LTXKnPOF7k5mYDurVM4PrZBtBzK n5edXOVBy0oZ2KEilqIVEZSplIwyhgICDhNmuENrVHbPlR+Cwf0dQixpyU+66BdCmrJu RyclY0AdpVi5bVaQiwx02gcE6l8/CWQOLWaGgcxai1MHkWLeorJdDTWk/Y/CbfmK9oED xpRDF7mVhrNfwPDcP/IudYw7CGng6u0gUk0zgMbIhohWYoN/TKF25KnNfOVsVYFdzdLq vWW6iHsgO33I1eYzzetlWD8JgiCpTO6SQzwGT4d4q8pSbkv2t4BfuEaBnLHXp1FjhNkz 3yHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680789140; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Fi3MbKEX3/1oXOmLA6/02HNxunRbR6J+mBMPZLKnID4=; b=FbIJJyELr0i1wnCXOWUptJYfl5NatA6kP0R3qDUWzXnRSnk/H+1YIo/ipeX1fCEvbb rj6FjzXbL4hv5+/dPZNCZuXoslGIvIMc/aBN1Vi+c8vX3vnWPdXptToICIxy5ShI90rH d3hAwxm+Tm/mMlZVm9KdRBptljydKJ/eZ5p+hbYed62HGhFbsueF+Pk19EnUPlod1TMg mXEkuVwwmsAr9XWfDI0zFI56rl4r7JWbWJH2XOtP6S+3Mb/J+Z3MGxhCxrRM+7rcKWet r0xGvWuG3G4Y12dcGSEazFeSsSpm9YoOIFwnMvVaav4fIzni4z9ucoBfGLvGaUZ7eVdK cgVw== X-Gm-Message-State: AAQBX9euxZeHoVkNYz350BpThPj5pNEhGkhkC9PuoDRIAkw4h32zwuky uFYMcWKoVGnIBt35FoOtAa/new== X-Received: by 2002:a2e:8058:0:b0:29b:aee8:29b3 with SMTP id p24-20020a2e8058000000b0029baee829b3mr3005558ljg.38.1680789139665; Thu, 06 Apr 2023 06:52:19 -0700 (PDT) Received: from [192.168.1.101] (abxh37.neoplus.adsl.tpnet.pl. [83.9.1.37]) by smtp.gmail.com with ESMTPSA id p3-20020a2e9a83000000b0029462e98c07sm295517lji.35.2023.04.06.06.52.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Apr 2023 06:52:19 -0700 (PDT) Message-ID: Date: Thu, 6 Apr 2023 15:52:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH v6 07/11] arm64: dts: qcom: sm6115: Add Crypto Engine support Content-Language: en-US To: Bhupesh Sharma , 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.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org, djakov@kernel.org References: <20230405072836.1690248-1-bhupesh.sharma@linaro.org> <20230405072836.1690248-8-bhupesh.sharma@linaro.org> From: Konrad Dybcio In-Reply-To: <20230405072836.1690248-8-bhupesh.sharma@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 5.04.2023 09:28, Bhupesh Sharma wrote: > Add crypto engine (CE) and CE BAM related nodes and definitions to > 'sm6115.dtsi'. > > Signed-off-by: Bhupesh Sharma > --- Reviewed-by: Konrad Dybcio Tested-by: Konrad Dybcio Konrad > 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>;