From patchwork Wed Mar 10 05:25:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 396677 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp93454jai; Tue, 9 Mar 2021 21:26:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJzCVtQHVotZOMwUuesV10rys7piwaCuy2Vks55/fHfM0qd5gXKtSCOjbmV0mL9aSAT1CMWo X-Received: by 2002:a17:906:7150:: with SMTP id z16mr1657147ejj.103.1615354012778; Tue, 09 Mar 2021 21:26:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615354012; cv=none; d=google.com; s=arc-20160816; b=FrCjwqZXeqvdl+3APGcyhzhtzp6yQXXcuuohi27xRQy78xKFbAA9w1FpCAqGcevwnR u/u7zxgK24+AxtFRtUc9b7t92wi8QKRatv3BuxaulINWVF74/UkSueUktKj7IUCGtBxO 1zcsICWBradSML8wFr7DbUq/0d5FCdbbctDXQ4Bws2aCJRdLOHh7pqFyVnKm3e8Ao99T SjroGGjIEPw8OhNCKH9QGXopPtlNUUMuUeMdqDibs92doG/MlLYjvgrxlQryHCoDGCwH 2cBlOELiYNu6ux7lNIVx1LvWXyEkzwFDBYpjF9ABRRHn+vuau07/jLEncejZPSxWBH09 rCfQ== 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=4q+Rnnlb5GLA1MWkdel8vTxzZ4mQRlT1eDV72kpg7eE=; b=UhtfWhFmy2Z4NzMR0a3MfBYqiVWtTEpdLaQUiEnsvgs4NzywtKTa6BwRUQvgaDpgE9 +eAEYtD/smdslhnGiTRz9nklt+f/TyKk+L3TrACR+05EcxPvcH0yAQv8B895hlNvBPe/ KDnPtfRQJ4G+Bd1FtHHJxJz1u5gLu59d60KvKTM5Nq+Dq98kkVYSTe5uSLURESfiHjJx 4njZtYlrRr49LoIuX5MYuun52++2Pg+QjGLVAkfKQA2X7PhKH8FX2N74tCcOwD67/IQt DJCguu3fQCdXRS93h7uTWI06VE47oQRj7J04wkz/B2cwzv47Cd56xqBJ1mKZH+FynaT+ wcgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tCWJDmMS; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s9si11236441edc.296.2021.03.09.21.26.52; Tue, 09 Mar 2021 21:26:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tCWJDmMS; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S232322AbhCJF0T (ORCPT + 16 others); Wed, 10 Mar 2021 00:26:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232340AbhCJF0K (ORCPT ); Wed, 10 Mar 2021 00:26:10 -0500 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9053FC061763 for ; Tue, 9 Mar 2021 21:26:10 -0800 (PST) Received: by mail-pl1-x631.google.com with SMTP id e2so2640537pld.9 for ; Tue, 09 Mar 2021 21:26:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4q+Rnnlb5GLA1MWkdel8vTxzZ4mQRlT1eDV72kpg7eE=; b=tCWJDmMSuygEMZgc6WnxrwMZsV4E4gtraesMWAf1pwWhmu0MgG6W2PXfkChEHHS2Zu d+3dCnZuSrvoYq0MeIBkkLU9y2hLt/r2LZY03c8twD75l1OYHjnavxqtNsD7D6vMYatt /bjYkmBigXxF4bZWddXqvmRHbAICBz6SjQH1jUyH/ej6LHtoHUG43b4kZPDkZ5HmkduJ CeEiRdqMvGqNIC6eDLsGFA/65VrJnlI2oXtLFooL8Ch97NOsuQVgUfkN+YNlkSFZQAWj X7MP+z57BRlIYTtpYiU830Pn7kbAt9fwAYwZoIdqEZ7zZR8fJKh1YuiIUxNyyRHvA8Rx MSdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4q+Rnnlb5GLA1MWkdel8vTxzZ4mQRlT1eDV72kpg7eE=; b=iEURWkYs18LffUSanuKekRtOmwB83vpLHIF4RWQphQWYMDJD8aKKI2johepwfvFhaX T78YwEnOr4v1vhOeMxP8hi2HRTp/aVD9fJxNDn9ZvzprLbMF0tg5nplB9oANixvqN7dA pSmJQasL3p0BkH7joI/wb1SC1SfYW6hC+9Zvgrq+52FUx+D0VPocx2mRyMDgsnBJoJTP PXbnKKGkMs4U9qyd5vJSJQlJ5KyUujTGj6iDm4yNahl6hSQE0lCkCB77Mi7JjGKwaM3s uWvAsjrhloT+gVmmqrvgkRqUFF+MfLPwzkVrB54Sq8ybhUrIOuvIgNWlDJmHqv2kxZUJ ntyQ== X-Gm-Message-State: AOAM533nkR/YAtHMtaCQrm40A2O8oAsKVF/z+KRn/QIv1y6K3MKtNtxX 4RU1h1eXTNvbiU/MySy3M5sS022QBUskIS60D94= X-Received: by 2002:a17:90a:68cf:: with SMTP id q15mr1730691pjj.231.1615353969992; Tue, 09 Mar 2021 21:26:09 -0800 (PST) Received: from localhost.localdomain ([2402:3a80:9f4:a436:21bd:7573:25c0:73a0]) by smtp.gmail.com with ESMTPSA id g7sm13915224pgb.10.2021.03.09.21.26.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Mar 2021 21:26:09 -0800 (PST) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, Thara Gopinath , Bjorn Andersson , Rob Herring , Andy Gross , Herbert Xu , "David S . Miller" , Stephen Boyd , Michael Turquette , linux-clk@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bhupesh.linux@gmail.com Subject: [PATCH 7/8] drivers: crypto: qce: Enable support for crypto engine on sm8250. Date: Wed, 10 Mar 2021 10:55:02 +0530 Message-Id: <20210310052503.3618486-8-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210310052503.3618486-1-bhupesh.sharma@linaro.org> References: <20210310052503.3618486-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add support for Qualcomm Crypto Engine accelerated encryption and authentication algorithms available on sm8250 by adding the required compatible string check for crypto version "qcom,crypto-v5.5" found on the sm8250 SoC. Cc: Thara Gopinath Cc: Bjorn Andersson Cc: Rob Herring Cc: Andy Gross Cc: Herbert Xu Cc: David S. Miller Cc: Stephen Boyd Cc: Michael Turquette Cc: linux-clk@vger.kernel.org Cc: linux-crypto@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: bhupesh.linux@gmail.com Signed-off-by: Bhupesh Sharma --- drivers/crypto/qce/core.c | 1 + 1 file changed, 1 insertion(+) -- 2.29.2 diff --git a/drivers/crypto/qce/core.c b/drivers/crypto/qce/core.c index 80b75085c265..49c73e3137a8 100644 --- a/drivers/crypto/qce/core.c +++ b/drivers/crypto/qce/core.c @@ -275,6 +275,7 @@ static int qce_crypto_remove(struct platform_device *pdev) static const struct of_device_id qce_crypto_of_match[] = { { .compatible = "qcom,crypto-v5.1", }, { .compatible = "qcom,crypto-v5.4", }, + { .compatible = "qcom,crypto-v5.5", }, {} }; MODULE_DEVICE_TABLE(of, qce_crypto_of_match);