Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3868151pxb; Tue, 17 Nov 2020 05:48:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJyPgsRn+LSzMseZ5Zejyd/4LhGSUX4FMxbXv//Xy07yMBEFZ16wHza5OIs2YO6Zt+vB/6mb X-Received: by 2002:a17:907:2166:: with SMTP id rl6mr19586267ejb.61.1605620884418; Tue, 17 Nov 2020 05:48:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605620884; cv=none; d=google.com; s=arc-20160816; b=s2P4Sp4HZ0h9N4d0IZ+TbPqQJRzksQY1U10hWxzi3r53q9i9yE/ikp8Rs090GMP7pV F3yVpw3+MEx2zrD25S2nk91TSwVEp6U5M8NVx5iMS6QUrQVT+dp3MSVwOiLBl3w2AXTA d3e4XmPqDvYkHTOouYjdDBqfbBdqm+JFA3cJORZ/cZFDM2uv2IdmqOMtdpIoqli9o+JV nklYg8ofAlkMaDl/yt7nzdmfjTAAjrFN3dHjBsKY3mO97cLWT3cOBTT9FT3fC1ZZpPhN SP6ZW3QibTGirkujKDpLQiWmrsyFX2dr57AucfZzuRd+/+52+X4YhMZB07TQEWpGIR6J 1ReA== 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=bSmgo4rQ5O0fX8LYI85JiwQBIWbes3kZEYBAYwb9WP4=; b=DbiXYYP0MXZi+VrKqQZfrz8e1YZNjoqqYMwQADJtcnFxlxnlUtmAUrr+EWhxEoGUWU rq6THcx8MdfCFe8+gn2OZKLx5HeMiKW3f4Q016j8eKzhOQX3FpGU4XmRETIcK9xrfvsK 5Fof+8slW8981ICRAdLbXBCG216LXzp6Nb00WJA4Voh5mTAmKwkyU7a2yUSvFd9htfpi nXasWhGGzCa1LpOiMA9AoUMYKLoKg/XlO+PSa/0MGNZ4+BzwkqIY94kQE56lqKeNZK2/ FCu2emfd4ditzzL/7hHBF8ZaTqxrlyK0chgVBtqlDsaTAiA7CBID+99qpaHBC7tSQpOJ 18CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pADkLWn3; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x70si16424516ede.609.2020.11.17.05.47.34; Tue, 17 Nov 2020 05:48:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-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=pADkLWn3; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 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 S2387706AbgKQNrY (ORCPT + 99 others); Tue, 17 Nov 2020 08:47:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387708AbgKQNrV (ORCPT ); Tue, 17 Nov 2020 08:47:21 -0500 Received: from mail-qk1-x744.google.com (mail-qk1-x744.google.com [IPv6:2607:f8b0:4864:20::744]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60F4AC061A48 for ; Tue, 17 Nov 2020 05:47:19 -0800 (PST) Received: by mail-qk1-x744.google.com with SMTP id q5so20300179qkc.12 for ; Tue, 17 Nov 2020 05:47:19 -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=bSmgo4rQ5O0fX8LYI85JiwQBIWbes3kZEYBAYwb9WP4=; b=pADkLWn3Qaa/5GwfpL3hT5/lWoignlAcveK+X397LauWuhBnOiMq/ILZKtqAWfe1KO TtA2TDvPwJFR+f8jX5dOIHRmw792c1hQM594gnsBCohcpy3ODIia7JpbYxXF+DXLW/hf rJ8nhw2blGDt+ivDTOU1eGl1U40D9Xuu7dqrHySUzsa8N/NAM3GeQoiawpsACrxeas0P JUh8DJ1CfQhmPyhU5p9MsurK5JnwbTUONlqIWYtrTvNAVaY9aUjLZ7tSdw/qXz3RKzLm mOGA0jVPoeiznkTX5eUTf207QvbNFHPT5S17yPK5FHQSGvgMrc7Y29RwnFp6j79g1VSn kWvg== 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=bSmgo4rQ5O0fX8LYI85JiwQBIWbes3kZEYBAYwb9WP4=; b=XLvc5wg1oJNGm8mKlc4Asb2aiDELh5n7zesIz+hbgSK23aDdgB5rhxHcbRo8p3nDNw ZBZYOoCeC0TjSfrrJL6qVP9bPhyFpIKW9ZcLJHLu+ivFnK8rJ4zE+o+6jM+F2hRElyLs JQ8PzsXsczrGCBRFWYqql0QUqZ8ZkbIGulzpqLmy86pkIwt9bZm/LkjqERY7feH12Ww8 aHHnsrOuirfq4vIsxsN3modQuHtTsbURvsseERqea9b24ohdnmCCorXeYDG7o29x0z6o iChWdEd2nrTcK43y5qb0ws5xwVxY3OiApfb6cy4CyHwIifXcNHqw9yG6qkjfPPH1JJu9 4vlw== X-Gm-Message-State: AOAM531yJvL3YibCJE7KYVmMDg7XVbJ73KrAmEGpC/X/x5hhueKIP7wI M2nGxUXwwJ6vBkL9CdFGZTxxAA== X-Received: by 2002:a37:4897:: with SMTP id v145mr19613184qka.134.1605620838558; Tue, 17 Nov 2020 05:47:18 -0800 (PST) Received: from pop-os.fios-router.home (pool-71-163-245-5.washdc.fios.verizon.net. [71.163.245.5]) by smtp.googlemail.com with ESMTPSA id t133sm14607355qke.82.2020.11.17.05.47.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Nov 2020 05:47:18 -0800 (PST) From: Thara Gopinath To: agross@kernel.org, bjorn.andersson@linaro.org, herbert@gondor.apana.org.au, davem@davemloft.net, robh+dt@kernel.org, sboyd@kernel.org, mturquette@baylibre.com Cc: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH 2/6] clk:qcom:rpmh: Add CE clock on sdm845. Date: Tue, 17 Nov 2020 08:47:10 -0500 Message-Id: <20201117134714.3456446-3-thara.gopinath@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201117134714.3456446-1-thara.gopinath@linaro.org> References: <20201117134714.3456446-1-thara.gopinath@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Qualcomm CE clock resource that is managed by BCM is required by crypto driver to access the core clock. Signed-off-by: Thara Gopinath --- drivers/clk/qcom/clk-rpmh.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/qcom/clk-rpmh.c b/drivers/clk/qcom/clk-rpmh.c index e2c669b08aff..7e2a4a9b9bf6 100644 --- a/drivers/clk/qcom/clk-rpmh.c +++ b/drivers/clk/qcom/clk-rpmh.c @@ -349,6 +349,7 @@ DEFINE_CLK_RPMH_VRM(sdm845, rf_clk2, rf_clk2_ao, "rfclka2", 1); DEFINE_CLK_RPMH_VRM(sdm845, rf_clk3, rf_clk3_ao, "rfclka3", 1); DEFINE_CLK_RPMH_VRM(sm8150, rf_clk3, rf_clk3_ao, "rfclka3", 1); DEFINE_CLK_RPMH_BCM(sdm845, ipa, "IP0"); +DEFINE_CLK_RPMH_BCM(sdm845, ce, "CE0"); static struct clk_hw *sdm845_rpmh_clocks[] = { [RPMH_CXO_CLK] = &sdm845_bi_tcxo.hw, @@ -364,6 +365,7 @@ static struct clk_hw *sdm845_rpmh_clocks[] = { [RPMH_RF_CLK3] = &sdm845_rf_clk3.hw, [RPMH_RF_CLK3_A] = &sdm845_rf_clk3_ao.hw, [RPMH_IPA_CLK] = &sdm845_ipa.hw, + [RPMH_CE_CLK] = &sdm845_ce.hw, }; static const struct clk_rpmh_desc clk_rpmh_sdm845 = { -- 2.25.1