Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp402585lqg; Thu, 11 Apr 2024 06:39:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU5ZN2QTTGD/yPQ/hJ7KkVk3pUzA1cwWdwmpp6SqbiSSn1gUITJ8qZPLq2+/bfaUACCtbVYhEdinnMy36Vh65whbKuk7L5GjrEgxVT2rw== X-Google-Smtp-Source: AGHT+IH4JM9TGge5coxjgz4QjA43EN0ctAT9dmCAgvkMdATshri7ddEjHpj7GQRcJS2ZvHO5LwDN X-Received: by 2002:a17:906:750:b0:a52:2431:d995 with SMTP id z16-20020a170906075000b00a522431d995mr956153ejb.34.1712842764570; Thu, 11 Apr 2024 06:39:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712842764; cv=pass; d=google.com; s=arc-20160816; b=He4MqkGdd5JWu79LD8DLDtpNwndh8sIQKS/IfZlfwk7/Rgn8XQ8n9U+3zFZsQsXItF YsD5tqjjxIFZtxrYJ+r5FdoVMK3i7oyTTWmPTZ14txKSOkQQveeeDjs7RUbyCXD2/01W aFzbGxFIWGNk+w1QXon/Tmtd8bu8WsVE1sr/672q8/5fO17bApx/WJqVEUWymD51PWAn WWtqhXkmL4E2y7X6kC0R6/6Q/qCaDz8fn5DCddPso1AbasB+mj2tPWg+icJG079wtpwT 3rbJhmcnIWk1SE3l3WWRsDjG9o8637r3himd+XDRjkgSSSTLXUBFG75uStBB3RiCoze5 30Rg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:dkim-filter; bh=HfV9iF0dvGOWT3RLcCjTwSmOj3751yeXQaYbGDhTmqU=; fh=7+QqR+U+m0B5ryyywou1kgMZVOfT/GgVHz0ZH2Lvlxg=; b=xkwNNLhr/hOPI+j86QXr77IT43PLrT/TeMSKpcaQvwO0jVvRuWHAkMtqUJARhWRuj5 1SuLXnH0gtSoYkZ6vr7EtdoNb2frkV3vHuMrZvGXqtEbVVX64MIcSTvNYwc0XdnZp272 SMMF19T1++uBJD7KAM0QVK8Ip4pu0w1LTGXV0NfeVvUGBbff6yUjWKX2mJojrZ7lcZf9 Zuz1raNhK6/1so7uMfeKX1ErtFfdoztLbbWpCSz7wy7nNtgqF3Or3STm42d/mxkkR5mk Vz3MFGJNOelsDGdarLH24kL62JDXP+mmRVLudMWPWg6V4uXdzKQKBRZwv7rrkUyHt8xg 6bcA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=C8Hb8KiH; arc=pass (i=1 spf=pass spfdomain=salutedevices.com dkim=pass dkdomain=salutedevices.com dmarc=pass fromdomain=salutedevices.com); spf=pass (google.com: domain of linux-crypto+bounces-3456-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-crypto+bounces-3456-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=salutedevices.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id n14-20020a170906378e00b00a522bf06ec1si190038ejc.555.2024.04.11.06.39.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 06:39:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-3456-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=C8Hb8KiH; arc=pass (i=1 spf=pass spfdomain=salutedevices.com dkim=pass dkdomain=salutedevices.com dmarc=pass fromdomain=salutedevices.com); spf=pass (google.com: domain of linux-crypto+bounces-3456-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-crypto+bounces-3456-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=salutedevices.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4F9841F2369B for ; Thu, 11 Apr 2024 13:39:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF7D614E2D2; Thu, 11 Apr 2024 13:38:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b="C8Hb8KiH" X-Original-To: linux-crypto@vger.kernel.org Received: from mx1.sberdevices.ru (mx1.sberdevices.ru [37.18.73.165]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7599B14D428; Thu, 11 Apr 2024 13:38:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=37.18.73.165 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712842738; cv=none; b=az7OuzNsJuhVTp8pOB/pZWW4bKioScLF0l/U0VPAfbe2M9bSuJ9XJ9K+mEwEwI1A5M8sHtPyv6fc3JrytZ+7BpUDPePifENXj2dX0gtKEUSsLJcvbmDA089lN6rr2EJ2OCXga9lP1Ju30k0pwRnaj7VdidD3ULq4h+bnKDchINk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712842738; c=relaxed/simple; bh=5nLH5t7ySGq5EY/n7ikVY0jUSS636Sdsw76fKnUEKQk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=FRYoDTy0asiWOJfJRGaw8SvuigaZ4188fOliLHAvycRqHEudRdgZdD4A/9z9QKsNXuCJzf6txwyBIklQHl+CbA6odYWbzHZ2yIBY2Ue3thONHQ7zFWgt12MvuAtDe29Yp6gY1VCetBs/VlCsIJ0pJElPmO6JYZYJbu7fMQ7M/4E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=salutedevices.com; spf=pass smtp.mailfrom=salutedevices.com; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b=C8Hb8KiH; arc=none smtp.client-ip=37.18.73.165 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=salutedevices.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=salutedevices.com Received: from p-infra-ksmg-sc-msk01 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id 3699610003E; Thu, 11 Apr 2024 16:38:54 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru 3699610003E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1712842734; bh=HfV9iF0dvGOWT3RLcCjTwSmOj3751yeXQaYbGDhTmqU=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=C8Hb8KiHbr7f4KC1K+Dh23jlUQSGAYXHDn+XQGGZoSTliTIHZzjsxHpw+Z1MAshH0 dgQ3R3v5thsBZgYKwPrmrmF+3j1amXvuHvldCyzl+to+wEwukP6W68RZn6EpVpawOf UxXgQyjb08v509jEQIYCuOn99uwSsj8JQM7y3Or3naiREXgcaAYAvngYvBf9Bu+3Ar hLI3EXcZFXc1yY45iOZOwrpxcUL7UR0nqAudegN3IcA9eKpo6hO54K5X+908PP91Ag 1NBumiRWBGydL4AyGJSW7qEFaHl7Y0YlOwyHeBb7Xqn04VqYg/teJMvL9JjRtRbY3h 3hW1MKGsgWJpw== Received: from smtp.sberdevices.ru (p-i-exch-sc-m02.sberdevices.ru [172.16.192.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sberdevices.ru (Postfix) with ESMTPS; Thu, 11 Apr 2024 16:38:54 +0300 (MSK) Received: from user-A520M-DS3H.sberdevices.ru (100.64.160.123) by p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Thu, 11 Apr 2024 16:38:52 +0300 From: Alexey Romanov To: , , , , , , , , , , CC: , , , , , , Alexey Romanov Subject: [PATCH v7 03/23] drivers: crypto: meson: remove clock input Date: Thu, 11 Apr 2024 16:38:12 +0300 Message-ID: <20240411133832.2896463-4-avromanov@salutedevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240411133832.2896463-1-avromanov@salutedevices.com> References: <20240411133832.2896463-1-avromanov@salutedevices.com> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) To p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) X-KSMG-Rule-ID: 10 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Lua-Profiles: 184672 [Apr 11 2024] X-KSMG-AntiSpam-Version: 6.1.0.4 X-KSMG-AntiSpam-Envelope-From: avromanov@salutedevices.com X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Info: LuaCore: 16 0.3.16 6e64c33514fcbd07e515710c86ba61de7f56194e, {Tracking_from_domain_doesnt_match_to}, smtp.sberdevices.ru:5.0.1,7.1.1;100.64.160.123:7.1.2;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;127.0.0.199:7.1.2;salutedevices.com:7.1.1, FromAlignment: s, ApMailHostAddress: 100.64.160.123 X-MS-Exchange-Organization-SCL: -1 X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiPhishing: Clean X-KSMG-LinksScanning: Clean X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.0.1.6960, bases: 2024/04/11 09:22:00 #24744908 X-KSMG-AntiVirus-Status: Clean, skipped Amlogic crypto IP, which uses DMA crypto engine, doesn't take a clock input. Fixes: 48fe583fe541 ("crypto: amlogic - Add crypto accelerator for amlogic GXL") Signed-off-by: Alexey Romanov --- drivers/crypto/amlogic/amlogic-gxl-core.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/drivers/crypto/amlogic/amlogic-gxl-core.c b/drivers/crypto/amlogic/amlogic-gxl-core.c index e9e733ed98e0..9d92115043c3 100644 --- a/drivers/crypto/amlogic/amlogic-gxl-core.c +++ b/drivers/crypto/amlogic/amlogic-gxl-core.c @@ -9,7 +9,6 @@ #include #include -#include #include #include #include @@ -269,18 +268,6 @@ static int meson_crypto_probe(struct platform_device *pdev) dev_err(&pdev->dev, "Cannot request MMIO err=%d\n", err); return err; } - mc->busclk = devm_clk_get(&pdev->dev, "blkmv"); - if (IS_ERR(mc->busclk)) { - err = PTR_ERR(mc->busclk); - dev_err(&pdev->dev, "Cannot get core clock err=%d\n", err); - return err; - } - - err = clk_prepare_enable(mc->busclk); - if (err != 0) { - dev_err(&pdev->dev, "Cannot prepare_enable busclk\n"); - return err; - } err = meson_allocate_chanlist(mc); if (err) @@ -306,7 +293,6 @@ static int meson_crypto_probe(struct platform_device *pdev) meson_unregister_algs(mc); error_flow: meson_free_chanlist(mc, mc->flow_cnt - 1); - clk_disable_unprepare(mc->busclk); return err; } @@ -321,8 +307,6 @@ static void meson_crypto_remove(struct platform_device *pdev) meson_unregister_algs(mc); meson_free_chanlist(mc, mc->flow_cnt - 1); - - clk_disable_unprepare(mc->busclk); } static const struct meson_pdata meson_gxl_pdata = { -- 2.34.1