From patchwork Thu Mar 23 23:37:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Zapolskiy X-Patchwork-Id: 666245 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 92CFAC761AF for ; Thu, 23 Mar 2023 23:37:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231328AbjCWXht (ORCPT ); Thu, 23 Mar 2023 19:37:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230489AbjCWXhs (ORCPT ); Thu, 23 Mar 2023 19:37:48 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C618F2CFC3 for ; Thu, 23 Mar 2023 16:37:41 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id j11so12569lfg.13 for ; Thu, 23 Mar 2023 16:37:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679614660; 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=o07buN/HRuobmAQ+KkVeJRRlmdYaWjl/QV1UabYdb4s=; b=Pd/avFwuIxfoEIsL8Ol+tNu8Kp1QuJvMpvVVGzjCcluIhGeaJapsFAX35/yX2T2fLZ NgHdXxKC1G4c25KDjWVANSSaQz7R1z0EA6KqJYrf62u2WVFJKmS3U2FfktK36hpvx0wV ep6x36bnp0ONExyqU0lHEFu16O7XOrEBnTUtkVvJ0Td9QFOIXsKWpVbro6tWo8pOGXv7 9Qgg56ePyy6OZAZVDVaOKPL6fm8EHqGN0LCHu8hjCBNwcg0UMb831nrpcvjqz476UU7h 2R4PRIdLPJPZ1WhulAZWvF5rxh9PO8m7N/JTUiXs9hNqQFfhfxhYBWuy5SXJPeDOWz57 EDzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679614660; 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=o07buN/HRuobmAQ+KkVeJRRlmdYaWjl/QV1UabYdb4s=; b=a3s/0oZq5edgz8ZTixyUeRFmm1yry0NiYZwndEnOC2cKOWYys89X3Rq9WfxNSGstpN g2QS4w4tLMSUbatlqg1CGUyHmY0/h5k7wTwXT7KFHRUXhcvrz8RlXqcVIDjUWO+EGHIo 0duca4b1hUx521PWA9uXi+BwisNaRNaurE2Ea6Jr5F8rd+Bx/pNfObqRTEBbh+NhC5xb pY2zkpU2p8XvJkN5FcxS/b6wy/F09gZpw1OZVrmoFfY5146T9IaLZRaaIg8hgYvIwPaY bUjkfjZzpLt2RkkbPvA/rYcfpivkbU6NsFmq1x55yxp1XCelcZR1r02miPUxT4ex9Epc cdUg== X-Gm-Message-State: AAQBX9fTpiPk7f882Q1GwuhPrJTRwYOqhKhsTKIl/XCKekC4pDKsF+vE 6NGn4kIkiT960NbJuwET5+r2WQ== X-Google-Smtp-Source: AKy350bpYcxGJgy3ZamzBHh2LlTEdsqS/ijaqu3zHZghVZIfQR5LpR/cZxXFaFrXkUT1jEum5bowwg== X-Received: by 2002:a19:5211:0:b0:4ea:e573:f0e7 with SMTP id m17-20020a195211000000b004eae573f0e7mr129828lfb.5.1679614660172; Thu, 23 Mar 2023 16:37:40 -0700 (PDT) Received: from localhost.localdomain (88-112-131-206.elisa-laajakaista.fi. [88.112.131.206]) by smtp.gmail.com with ESMTPSA id w9-20020ac254a9000000b004e845b49d81sm3105264lfk.140.2023.03.23.16.37.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Mar 2023 16:37:39 -0700 (PDT) From: Vladimir Zapolskiy To: Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski Cc: Bhupesh Sharma , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 1/5] arm: dts: qcom: ipq4019: update a compatible for QCE IP on IPQ4019 SoC Date: Fri, 24 Mar 2023 01:37:31 +0200 Message-Id: <20230323233735.2131020-2-vladimir.zapolskiy@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20230323233735.2131020-1-vladimir.zapolskiy@linaro.org> References: <20230323233735.2131020-1-vladimir.zapolskiy@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Change the old deprecated compatible name to a new one, which is specific to IPQ4019 SoC. Signed-off-by: Vladimir Zapolskiy --- arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index dfcfb3339c23..3968bf0f585b 100644 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi @@ -315,7 +315,7 @@ cryptobam: dma-controller@8e04000 { }; crypto: crypto@8e3a000 { - compatible = "qcom,crypto-v5.1"; + compatible = "qcom,ipq4019-qce", "qcom,qce"; reg = <0x08e3a000 0x6000>; clocks = <&gcc GCC_CRYPTO_AHB_CLK>, <&gcc GCC_CRYPTO_AXI_CLK>, From patchwork Thu Mar 23 23:37:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Zapolskiy X-Patchwork-Id: 666641 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 2C658C77B60 for ; Thu, 23 Mar 2023 23:37:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230486AbjCWXhu (ORCPT ); Thu, 23 Mar 2023 19:37:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231307AbjCWXht (ORCPT ); Thu, 23 Mar 2023 19:37:49 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 453602CFD5 for ; Thu, 23 Mar 2023 16:37:43 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id k37so96376lfv.0 for ; Thu, 23 Mar 2023 16:37:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679614661; x=1682206661; 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=+68XLJlMQiAJbakqRYHZICNWbFaukDSRyNz+AoqyBhw=; b=jwmACRoXnboV8q9fE1FsAs64uaJ8smLtrZqQzpO/wvqpYjZXxbWBt0OJ4DsnwkBl4Y FQTf7+HtVg89pt8FphOn9g4qXRFO2H5SD5Xah7haJ+rtINEKDr1WlZ2+pwbWTtXSiviK osxRuXfifA7VE0PSjbI7O2cb9exD/OSccJGM9Mh/1p/kxx5Ao867U8+dz7brsDv2mmGu RuAb//MM5UQXWFUIy5x92PnHujdKhuaHhB3mCn2Hj+pRp1aOMSliX539/xskdLkSp77O ob14kW445A4/ifPfG1ashvyOD6+595A6MDYaFXsvq1dpHJUrXElJGsEeI63h9aQHynvo TuGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679614661; x=1682206661; 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=+68XLJlMQiAJbakqRYHZICNWbFaukDSRyNz+AoqyBhw=; b=claaKBZ+UuyPHyj5AWMymnyHVI5Otl5zvtT/SI253kV9Lwnl63PPYS5gKQ3wA6Kof1 ulkcvHhMPyEVcuC/7pzvY4Yc7rgqSVnmh999nGt76KAQNZra408H/m8hxipgUpU9lDL9 fWzVlB5oaekS1tLQjHhOQ7dnvPff7RNNFRp4fOIw8O/o6YghFNm4+Ou2Nce+UTTcFNqT LdngA+reFIHG1Qf5AsGS16B8RNbgoliC16/q6GRHUlEWwux5oS/HNs4q/q6SgbK2uMP+ PoEhbj3OsPu4WgiLvK/We50Z2qt3pjhIpLcHPE9iDoFuaj4BvuDLYIJAkHSTbHh7dH6y a8dQ== X-Gm-Message-State: AAQBX9ev4GiGTvNg4kf0LGd4JggTVQqfnMTLSzDMeocvzOu6G783Epje D0BbPrWOf2+h3aXytFIsrS3X2Q== X-Google-Smtp-Source: AKy350YXac/3/X8FMo8O7mW1GeLbcm/v9GdqyH6QFB6ytxYCPNSFRDArkX8Zfsx9jQ61znnXi5zAZg== X-Received: by 2002:ac2:4184:0:b0:4e9:d613:503e with SMTP id z4-20020ac24184000000b004e9d613503emr88592lfh.6.1679614661484; Thu, 23 Mar 2023 16:37:41 -0700 (PDT) Received: from localhost.localdomain (88-112-131-206.elisa-laajakaista.fi. [88.112.131.206]) by smtp.gmail.com with ESMTPSA id w9-20020ac254a9000000b004e845b49d81sm3105264lfk.140.2023.03.23.16.37.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Mar 2023 16:37:40 -0700 (PDT) From: Vladimir Zapolskiy To: Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski Cc: Bhupesh Sharma , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/5] arm64: dts: qcom: msm8996: update QCE compatible according to a new scheme Date: Fri, 24 Mar 2023 01:37:32 +0200 Message-Id: <20230323233735.2131020-3-vladimir.zapolskiy@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20230323233735.2131020-1-vladimir.zapolskiy@linaro.org> References: <20230323233735.2131020-1-vladimir.zapolskiy@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Change the old deprecated compatible name of QCE IP on MSM8996 to new ones based on SoC name. Signed-off-by: Vladimir Zapolskiy --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index 4661a556772e..2ee28f9b6229 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -784,7 +784,7 @@ cryptobam: dma-controller@644000 { }; crypto: crypto@67a000 { - compatible = "qcom,crypto-v5.4"; + compatible = "qcom,msm8996-qce", "qcom,ipq4019-qce", "qcom,qce"; reg = <0x0067a000 0x6000>; clocks = <&gcc GCC_CE1_AHB_CLK>, <&gcc GCC_CE1_AXI_CLK>, From patchwork Thu Mar 23 23:37:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Zapolskiy X-Patchwork-Id: 666244 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 134C3C77B62 for ; Thu, 23 Mar 2023 23:37:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230489AbjCWXhu (ORCPT ); Thu, 23 Mar 2023 19:37:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229590AbjCWXhu (ORCPT ); Thu, 23 Mar 2023 19:37:50 -0400 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CDE02DE65 for ; Thu, 23 Mar 2023 16:37:44 -0700 (PDT) Received: by mail-lf1-x12c.google.com with SMTP id h25so44854lfv.6 for ; Thu, 23 Mar 2023 16:37:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679614662; 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=szL/+w2Axq6DdFWIyIaTAORK+vW5wgvKFmHCeq8RaMo=; b=u41NO+Exq8W4WGyFIlN+wKKBahfz9V2+/sh9BMKPwceStIQ+hmIt1A8gNseEgcE5hu G6vqT/uUx0Eqv3vXjJbrZ8CVvsnp+KvAm790dssFgC2ZfoGDbobaSekDrtth+bY1Tk+J ZllBtS68iga0dcmylvRO034kGxuL1f8FvCpn4N+fbDhZ7sl9NvoxNSxQSiNy6BscBCYD Z3C57ua2MP5B7S10Zr9nJn0ynL+cev64YJw2x/j5LRUsOhFbbga8G3o8i00isEXtpO5K bJ4QD8nwgG2Z/5ZmlM+eIJLQX/ey/Tbd41stGiUhGM42OB76E5/71Va7pOK9KW2dS3fX cAjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679614662; 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=szL/+w2Axq6DdFWIyIaTAORK+vW5wgvKFmHCeq8RaMo=; b=z/OngM3+YZv71GXGBkAyaYPJJsBchwDVCgKTcd1s+vz/NHoFFH0FOAc3vyhAqE4HvG Lokd7/60KTbQCNSYp68iPzbGZiRpOIgyc5eFdljdpnwyXHUx9SYc/p7qBnvDsPkA+zkf oLtf5NbwkbLgFv+HYufL/ty4BzqoeVpHNhVnfeD+Hf63JyEwn3Opdoh6bEoUuf+jTD4O z27bX2Ob69LuKeIvtWKp2fVXZGxAGIIipj79An27db9fCLmem9GGfy1M/HD93f/WI88r 1wGoflKPxmompm+oUSeuiBDx5/mwG1Vb9CA7z9D9Eh95mTNvlGHW4LAjLqCWA2fTFZRO 9lig== X-Gm-Message-State: AAQBX9dK6hN+N+cvqdd7CpHYqLbsntAEyBIMJyLBr19RS9/YP+tPGzR8 XJKHLm7+1BzODFn4IOMhESub2w== X-Google-Smtp-Source: AKy350afuEbiBl0as0k2v2jYkjd+R4/OO+HuAW6aUF4y6jJppwFVRhfnQ2Chhf1YnbmVQLrL6OdnQg== X-Received: by 2002:ac2:4464:0:b0:4e8:5738:78a9 with SMTP id y4-20020ac24464000000b004e8573878a9mr149609lfl.3.1679614662576; Thu, 23 Mar 2023 16:37:42 -0700 (PDT) Received: from localhost.localdomain (88-112-131-206.elisa-laajakaista.fi. [88.112.131.206]) by smtp.gmail.com with ESMTPSA id w9-20020ac254a9000000b004e845b49d81sm3105264lfk.140.2023.03.23.16.37.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Mar 2023 16:37:42 -0700 (PDT) From: Vladimir Zapolskiy To: Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski Cc: Bhupesh Sharma , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 3/5] arm64: dts: qcom: sdm845: update QCE compatible according to a new scheme Date: Fri, 24 Mar 2023 01:37:33 +0200 Message-Id: <20230323233735.2131020-4-vladimir.zapolskiy@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20230323233735.2131020-1-vladimir.zapolskiy@linaro.org> References: <20230323233735.2131020-1-vladimir.zapolskiy@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Change the old deprecated compatible name of QCE IP on SDM845 to new ones based on SoC name. Signed-off-by: Vladimir Zapolskiy --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 2f32179c7d1b..bca0521dc08c 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2643,7 +2643,7 @@ cryptobam: dma-controller@1dc4000 { }; crypto: crypto@1dfa000 { - compatible = "qcom,crypto-v5.4"; + compatible = "qcom,sdm845-qce", "qcom,ipq4019-qce", "qcom,qce"; reg = <0 0x01dfa000 0 0x6000>; clocks = <&gcc GCC_CE1_AHB_CLK>, <&gcc GCC_CE1_AXI_CLK>, From patchwork Thu Mar 23 23:37:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Zapolskiy X-Patchwork-Id: 666640 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 E106BC74A5B for ; Thu, 23 Mar 2023 23:37:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231350AbjCWXhw (ORCPT ); Thu, 23 Mar 2023 19:37:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231240AbjCWXhv (ORCPT ); Thu, 23 Mar 2023 19:37:51 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A04F2E0D8 for ; Thu, 23 Mar 2023 16:37:45 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id h25so44893lfv.6 for ; Thu, 23 Mar 2023 16:37:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679614664; x=1682206664; 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=jVIns/0vdM7AwgpqxnEx6iUpxqqxllZdFf87dpNAnJU=; b=abBKd4ZDlEc5hYjhxUul+uzqGFPqvc3EP4UFC3cp0x0DSsIaB6aw9fWew717zqcXxH vKLA/fQ46ZdcfwePS6xl1Vb4knN4G5Vsq0RhBPS9uUelXktp63OEHLHWstYD1fHpdaDX X1ZufydXn2IwG4GVbESHJChXfuqDkWTk+MzMFaQFt+Lp3sa+klfqPKOadNA/ENKXzdlI Q3rLosO5ORObCV2JhiMLw/Cr5ZPjoZpYoMzAGDMVZaBZuK3ytJ2gY+WL7UdmZeHCGRUa YQv/8DM/yQ5lZmY+SFwGC2dj/U3IeHjWG91gG3BTOWfWCIHEcwv58dQMB5kKH8SborDr ZOVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679614664; x=1682206664; 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=jVIns/0vdM7AwgpqxnEx6iUpxqqxllZdFf87dpNAnJU=; b=lN1NWU83lz40x8RaH98to5WYkr1IiyGB663G0pugthA9VZPzAQvK7OG/Z2yc3pNl++ 0bd38AyRzhv6cAgxppWPs3l0EvFfiSb/FdmdWZNx28q75F/U0wwMVhGx33X+k+z2a/RR D+aRmI6ePlCJ4ohvykLpvEdikVfeuVIzX3OKqigsGu6uGxE3Rd8fpfrFh2xmni7NNgFb vlL+iI14NlMsKJf6MFOV6DOAFrW9GDN3i+/vqCLVllcMfheOGp3UTrG0U0LkddIAz0g8 r39oZv//hGzdw/00OMOsYLdAQ7VzPn8pS3301Vj4DTmYOHlD7XFelamjDKO6s7rXypUF AD1Q== X-Gm-Message-State: AAQBX9do6EIERc841MPzhK3uff2ZJmSBF2Zha4by9D0aHc+25mGq2AIh fg8YHSge/qPFA2YXvHFstE00rg== X-Google-Smtp-Source: AKy350YdL+5thge7GM/3A38JSAtVXWh3DVzg8a9F2x1ccun6FvWXQlHh+n8DLDNb8Ta6HFY2ZsLEmA== X-Received: by 2002:ac2:4184:0:b0:4e9:d613:503e with SMTP id z4-20020ac24184000000b004e9d613503emr88625lfh.6.1679614663880; Thu, 23 Mar 2023 16:37:43 -0700 (PDT) Received: from localhost.localdomain (88-112-131-206.elisa-laajakaista.fi. [88.112.131.206]) by smtp.gmail.com with ESMTPSA id w9-20020ac254a9000000b004e845b49d81sm3105264lfk.140.2023.03.23.16.37.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Mar 2023 16:37:43 -0700 (PDT) From: Vladimir Zapolskiy To: Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski Cc: Bhupesh Sharma , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 4/5] arm64: dts: qcom: sm8250: add description of Qualcomm Crypto Engine IP Date: Fri, 24 Mar 2023 01:37:34 +0200 Message-Id: <20230323233735.2131020-5-vladimir.zapolskiy@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20230323233735.2131020-1-vladimir.zapolskiy@linaro.org> References: <20230323233735.2131020-1-vladimir.zapolskiy@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 7b78761f2041..363818da792a 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2222,6 +2222,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", "qcom,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>; From patchwork Thu Mar 23 23:37:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Zapolskiy X-Patchwork-Id: 666243 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 0BFC4C6FD1C for ; Thu, 23 Mar 2023 23:38:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231434AbjCWXiB (ORCPT ); Thu, 23 Mar 2023 19:38:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231382AbjCWXhy (ORCPT ); Thu, 23 Mar 2023 19:37:54 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04D402E0E0 for ; Thu, 23 Mar 2023 16:37:46 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id t11so69088lfr.1 for ; Thu, 23 Mar 2023 16:37:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679614665; x=1682206665; 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=wCsZad9X/4syLP5Vggx9hok5CS9phhLBm89vT4ELF4Y=; b=Am2Sw0F2UcRFFO/VT+AhylPotRXwCbP/ptLNEw2L6kZOnEiLaMccIT4/hvTQxwMHLx 4lnnMOXkMPcHaAs7OBbyGyXucx4fgJqg73OgjNlhSvDADyr2/Glk+GRCfSS5AvQRdFlP ugaZIs+xA2uQCRV8hCb5XJtFcq+s58oXfGrloiOFyhgZpiqLNaNl3n7Dgj5V3kfKamoa 9H04k6p1Cir+BYXF1pcmkEn0drMrjrRpcS9TA3xM8nlCowFxhQLWQYheNjgDsO+Q52Te /4jAbGrUwn5+mpKLoIKCXOc5MJM5KLNMpFYQWW32qN0jhUYedPoDrrtpEnJ/t3VOOYan F9+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679614665; x=1682206665; 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=wCsZad9X/4syLP5Vggx9hok5CS9phhLBm89vT4ELF4Y=; b=DN5UOth24nErZUyY+kr65E2vT5ujmBqkkti7tbKOHHFLEfQ1nMIuNB1lheWywHM2C9 0G1dwxXEIpW6oUo5FjvXKsZBcut5JFVjZ9+ihIym7QlqKJGnv3zXII6KMAnNlCAVULYy ABagFRuFQFVyFtYKVCtNLqE4yKdPKHm96OIPWgHy0IxNNMQD3+AT42MzJfad0CFhfUD3 GrVZMcRCMEvw+r181yHhCvOJBqnWMkyQ4CMU34WyF+8auv3HmPKb+M5iHatyt5hoqIz7 0+jJVnDQQeDsndTgBmLL92PGr4FpVn1P1M2x6UKMMAoLcxRMgIz40EKJzqVv6HQPGssA yy9g== X-Gm-Message-State: AAQBX9fJkn4pUDHUjGBE/fPK0Cwl1XxLkmcYy4ETUQp8+w9xJoVn5ybo a1+K5tYAXvRQU8VqHeEXJlESCQ== X-Google-Smtp-Source: AKy350b0uRDsG0Egt/nKDBTPMgykgkHTr0qtr9WmkQhZ8QpVPrTOqdG8/sU0qU82wODZqfbG1gFGxA== X-Received: by 2002:ac2:5961:0:b0:4e1:f70a:3b04 with SMTP id h1-20020ac25961000000b004e1f70a3b04mr75636lfp.4.1679614664970; Thu, 23 Mar 2023 16:37:44 -0700 (PDT) Received: from localhost.localdomain (88-112-131-206.elisa-laajakaista.fi. [88.112.131.206]) by smtp.gmail.com with ESMTPSA id w9-20020ac254a9000000b004e845b49d81sm3105264lfk.140.2023.03.23.16.37.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Mar 2023 16:37:44 -0700 (PDT) From: Vladimir Zapolskiy To: Bjorn Andersson , Konrad Dybcio , Krzysztof Kozlowski Cc: Bhupesh Sharma , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 5/5] arm64: dts: qcom: sm8450: add description of Qualcomm Crypto Engine IP Date: Fri, 24 Mar 2023 01:37:35 +0200 Message-Id: <20230323233735.2131020-6-vladimir.zapolskiy@linaro.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20230323233735.2131020-1-vladimir.zapolskiy@linaro.org> References: <20230323233735.2131020-1-vladimir.zapolskiy@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add description of QCE and its corresponding BAM DMA IPs on SM8450 SoC. Signed-off-by: Vladimir Zapolskiy --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index ce4b7d0a09ab..228c26fb9003 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -4081,6 +4081,28 @@ 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 0x584 0x11>; + }; + + crypto: crypto@1dfa000 { + compatible = "qcom,sm8450-qce", "qcom,sm8150-qce", "qcom,qce"; + reg = <0x0 0x01dfa000 0x0 0x6000>; + dmas = <&cryptobam 4>, <&cryptobam 5>; + dma-names = "rx", "tx"; + interconnects = <&aggre2_noc MASTER_CRYPTO 0 &mc_virt SLAVE_EBI1 0>; + interconnect-names = "memory"; + iommus = <&apps_smmu 0x584 0x11>; + }; + sdhc_2: mmc@8804000 { compatible = "qcom,sm8450-sdhci", "qcom,sdhci-msm-v5"; reg = <0 0x08804000 0 0x1000>;