From patchwork Tue Nov 17 13:47:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thara Gopinath X-Patchwork-Id: 325463 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp4182189ils; Tue, 17 Nov 2020 05:49:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJwKA3HCpjwcQ812cVC8mzsP9ej/YgSq8bYvMMRsO3LH0ftrkEiRTJv9v9KvtlqJt22pRlY7 X-Received: by 2002:a50:c19a:: with SMTP id m26mr19978422edf.302.1605620943070; Tue, 17 Nov 2020 05:49:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605620943; cv=none; d=google.com; s=arc-20160816; b=zFwUj41j1plPxavhhaZ3CmFmApTUe/J2XauhkAKQRhnzGLj2EElol7UBdV3omc5SAf F0fJXnjaLh/X3s6Hm6JdRykA12Lu8tYBrjKQ1uraCugSTLfzFC+zn2X9ejxyHnZj4Cog QnUraZwK9smezTmBEqQOSBn3FG3W9Mr0V5MM25XwFrabEhxfe84ZDIs+HT3OVB5ST89P VvBY7rIUujjhkpaU2mGZpIcCegZdn7d3hmaffcLLH+8FbrlxtfCZJsmuMKMYNVQGKSz1 dSHM5xEuDR5QBvgt7odFDcCNkjaeHMbNvSMyKhK3C2Xwp3Z5JobII59hJ91sdWhPE4sR nzVg== 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 b26si14421865edy.172.2020.11.17.05.49.02; Tue, 17 Nov 2020 05:49:03 -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 + 2 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 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(+) -- 2.25.1 Reviewed-by: Bjorn Andersson 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 = {