Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp549455pxb; Thu, 19 Nov 2020 07:55:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJxqeT1gzLC9QGqou/c8udu75YhmmHNl7olQKYDd6ai02WVxX0SYAyk7LzjCqbYmSKfxCSTI X-Received: by 2002:a17:906:34cd:: with SMTP id h13mr5721379ejb.350.1605801331553; Thu, 19 Nov 2020 07:55:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605801331; cv=none; d=google.com; s=arc-20160816; b=cP4lMf2CslIeQ2s3aQKz2vMobvoVdQCXYNHNFTpDNfYWC6elaA2HAwa1fyiVcqYlaZ di+9PUZRPQyvx1QBxwTFHckNbk3NhPH0pb0h+GYc136A5kea+YN4TMgfpvcoMAj675f2 8KQy7GHaFPdd0SjXxjFlRL8wLaQUL/f//6yRcR/c4RXHsutxIYYoSpaQpdqkNMH9CqbM TKtJBvur3ni0eBslvztslswUwlzPTIciMjwCinw9ExLXH+MoIvcG3fnjvDDnON0q+e4D Zh3upPF7aIdEGHSCW8YYdC7kp43HefkfCkMLioJs+qsMnmlEFIwu1Rcfyv/ebW1gT9Fy 2Dsw== 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=4MCvCRmAMrx9hEGjjAJklgqSdTLavuT99AZ/bugFCos=; b=ENqYA+oEdER5gR/hcz+Llll9suRNlJ66zFHWktbvD0O4yptJNZAdKJUfQ/Rw7wOnhv YPVnSd3LiPNcGp6za5EAmfwTw+XfwsemuCAKTt+nfk3DCrUeE4VRZTjf5kn3BpxmD0Gc lx1SIMf8cbW5I7WkcwDjcflCF1V9arAekJsEjmwG3Mm5kUlax4etXAIa/913gglgfhVO GVRu4IOD0M0wJs3VT6IMNEpQ/ebZlKZwZVFnZtFrMGa1uQsK8FU1IW8VYXCblNRKt/7/ YMFpo6mSPp5Ej6OoiWTCRFr7b/3PG0m9Cxy7YhE4W1QVHbl5y90q4VCTTb4e+fFoUfYP bOOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=A331nUgW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 j14si55526ejx.329.2020.11.19.07.55.08; Thu, 19 Nov 2020 07:55:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=A331nUgW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S1728082AbgKSPw5 (ORCPT + 99 others); Thu, 19 Nov 2020 10:52:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728884AbgKSPwj (ORCPT ); Thu, 19 Nov 2020 10:52:39 -0500 Received: from mail-qv1-xf44.google.com (mail-qv1-xf44.google.com [IPv6:2607:f8b0:4864:20::f44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D427C061A48 for ; Thu, 19 Nov 2020 07:52:38 -0800 (PST) Received: by mail-qv1-xf44.google.com with SMTP id ec16so3093146qvb.0 for ; Thu, 19 Nov 2020 07:52:38 -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=4MCvCRmAMrx9hEGjjAJklgqSdTLavuT99AZ/bugFCos=; b=A331nUgWpYis9cgDM+H9IflfmtXE8u7sy5s92VZ6qlPcq3ZPDIlJsHqw1/ta/Y2qN+ 9uDbQikKonrGHPWZQs8GljIwkUssWr8JAhYELG0zYCgATDn2+N2mr6Ab5Lt69OLvZBwq DDe9BHj0r+7d4AxKDQp5badoafP9TPsKZIR62l1ACovFvtX/ALLbj57OaqbV/8tck0nv lrptbm9LgZ4t3S9aNEn6RAz3nCRI4wA6pWOujVakHNQmW7guGiVPLk7gCaBY0Zi3I+Zr eBI6gBI4O4UtDVrUuiQOUbli0S2LUcktQyDh8PfubJHRD7nCqAygCSINMcN7qYOXSc9R T65w== 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=4MCvCRmAMrx9hEGjjAJklgqSdTLavuT99AZ/bugFCos=; b=QRAoFg18irVQBT9W0OrKGb03geJzpLw2wYSP/f1A4m4Fdy2Bkz2QxR+cDIiI7WLfxv z8sJlUZNW4mjAgXnE4gKRvFEFpYusKHDtZcSBWVt54frCSb7JSgwuCbQE09s03sr5ni0 S6evUJLTsakgGSWwFoI4JI3LFXmT00wP5xfrR+YLHseu6/fS8XU0fBOj9jGf2zufqggC 5iFeyVbA+Ny2zI223wynCQKiMC0SISfwtW+MlIPANd6KPfMCQmXKhsO+mqY6piHxSR2D +t4Ojmp8zWQ7I71M8WBb6gg4yENno0nw8oz0rM0Zqfehbcx6ZmHa2v+UQF/+l8/+ve/C vi1w== X-Gm-Message-State: AOAM530tIao0BTpWFuD/wN13Bzd/+wRsa9LOjVsYrQtIvIdJfdUsASiF q7zZe2TR6zBnQ4sjvF/+qMnVlA== X-Received: by 2002:a0c:c984:: with SMTP id b4mr11609562qvk.10.1605801157619; Thu, 19 Nov 2020 07:52:37 -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 g70sm127290qke.8.2020.11.19.07.52.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Nov 2020 07:52:36 -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 v2 2/6] clk: qcom: rpmh: Add CE clock on sdm845. Date: Thu, 19 Nov 2020 10:52:29 -0500 Message-Id: <20201119155233.3974286-3-thara.gopinath@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201119155233.3974286-1-thara.gopinath@linaro.org> References: <20201119155233.3974286-1-thara.gopinath@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Qualcomm CE clock resource that is managed by BCM is required by crypto driver to access the core clock. Reviewed-by: Bjorn Andersson 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