From patchwork Wed Mar 10 05:25:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 396675 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp93415jai; Tue, 9 Mar 2021 21:26:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJxfxdczXDefG3Q0OO2Vsuv1q1h6IR+PLA9dhu9SThsctsst7mlP4EzxLpH/IsmHgbGYhvKw X-Received: by 2002:a17:906:7150:: with SMTP id z16mr1657000ejj.103.1615354009732; Tue, 09 Mar 2021 21:26:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615354009; cv=none; d=google.com; s=arc-20160816; b=k+F7WL+fy62iMTIxmS+impfxuIrCF+1hSxBq8kf+Cg6HWrJFEHuWjeAQwlgsfu7fij fNNf+pa81f5zai4C751I4aXoSJw6NHyAWNegToKefoJj204CUIR3h7rYWhCeG0bWBEkv kSNqoNVLTiWkpp4lb2NpCq8MMQ6xceWJWhzJ80ofSfSGZo6bSen7aCDGQQi7Ae8PHDgJ kt67dXrJns/CXB05bpB72SiyyLaoUIyQdeR1qFvlqNxn6j1CdFujgR6nIJ9IH+BrMYK7 974+iIO5jG91tgRtnjfm7NZ7U/qUJQ14QKPBDS9LFVVcID3e9e/UhaEk8AJn/WYq9D78 Hy7Q== 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=VmOMUUhp3vtSE7CptEWQ9fYIwV1ThT78JbnR+RZ0uIQ=; b=ygM9S3981W9ejphahEg42t3tV0NBwXYnH1Q0y1ViXYkhvq5A4g7VeHASJfU+MUiGqb 3wZr/ShEBPAk/pMDOLxQWV/XISBy/1Q0oFheydDGMcFDu8s3c7xMTRG1R44L8CO16bva 8hsZtBsmHQojDZy+p8lqlBPtgaPrPea6EIlYx3n9vtU9NeuEIJIvtqBga3v5RqppDbpn N79akKYkO54Lsp6XNWHl9YEWauZKD3uUZ535SMTEDum3F7JFvaG8yPrALJqkr7aQdpq7 8rEzEYBxoISzow8nFgf1Ux6sTnujLkPgIwAKiMVdBpVsEllST7UwweW1ORVcRgmYlOrn cXAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TqE0mZ6Z; 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.49; Tue, 09 Mar 2021 21:26:49 -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=TqE0mZ6Z; 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 S232203AbhCJF0R (ORCPT + 16 others); Wed, 10 Mar 2021 00:26:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232321AbhCJFZ5 (ORCPT ); Wed, 10 Mar 2021 00:25:57 -0500 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00248C061763 for ; Tue, 9 Mar 2021 21:25:56 -0800 (PST) Received: by mail-pl1-x634.google.com with SMTP id 30so3341801ple.4 for ; Tue, 09 Mar 2021 21:25:56 -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=VmOMUUhp3vtSE7CptEWQ9fYIwV1ThT78JbnR+RZ0uIQ=; b=TqE0mZ6ZH/dhIJ1JDztPKdeokaTI8W2brCl7nkuChEyTAn29JJhimIDqG+Zeb8ABH9 +eUxVbGOkkBfpjptJZxEA4yxQo4UWi5+HQm87PusbYbcX7h+ZIp6ErI3FKJzdF/V8AMV rn3goVF13mF3/IhQG+bm4cELSJWjt7DPDTqXchcRwUNR/014/WpHdkhob4AlWS42sIne 2N+A8k5gtSd1pPmc9sXXUhlP12k/UNE7nxha+iz9X/LDFU0BnOKBJ93MA8VvqYSU3PkD KQCYf7xfuvp3SWGaPy7zOjTv+6jtSYOdXdYhEn4581kXudurSOJ2QHENaqBeI3HfKh7j GLRQ== 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=VmOMUUhp3vtSE7CptEWQ9fYIwV1ThT78JbnR+RZ0uIQ=; b=t5Htle+tuWrYt8xG4qJWsNODcog8tdYgBhWWKPiu2lVrFGMIXAyRtlZ8bReLbEN9xa VP/hrAOmYYgKzDtI22MYEMjdnnVJNgMzNMu7u5io+Edby/yVEuF6tqes+klTFdDyawmF hNr+hNqWC/wCr/2WfKtNuibYfZcAIlxHx9f6zZC3QkGsICRkyu6avXf96hTHSZO8h5fo BVAPIh/HhcUISfbdsuRkqA88F5Mi1bToMqvfcLK5093bTWyaPb3BtlWW3CsiV4mSbsJd 9F1r8Ffu7s6OWnO3mOHSXr43waUMJrLoEgXYSLvOTOIPOO419Bl7cH066JKdvyOrXw7d mkEw== X-Gm-Message-State: AOAM533BpRbJvpQ1tI4PzLHGdh1bzdIr/m02zHhnj8TeRO6TM+ODxnPn M/96stbV6Hz9ZVHscA0q8teVWkGQoEbiSYEiw3o= X-Received: by 2002:a17:902:dacb:b029:e5:b538:9ce6 with SMTP id q11-20020a170902dacbb02900e5b5389ce6mr1444258plx.8.1615353956435; Tue, 09 Mar 2021 21:25:56 -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.25.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Mar 2021 21:25:56 -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 5/8] clk: qcom: clk-rpmh: Add CE clock on sm8250 Date: Wed, 10 Mar 2021 10:55:00 +0530 Message-Id: <20210310052503.3618486-6-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 The Qualcomm CE clock resource (managed by BCM) is also required by sm8250 crypto driver to access the core clock, so add an entry for the same in 'sm8250_rpmh_clocks' array. 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/clk/qcom/clk-rpmh.c | 1 + 1 file changed, 1 insertion(+) -- 2.29.2 diff --git a/drivers/clk/qcom/clk-rpmh.c b/drivers/clk/qcom/clk-rpmh.c index 91dc390a583b..59f73494a9c1 100644 --- a/drivers/clk/qcom/clk-rpmh.c +++ b/drivers/clk/qcom/clk-rpmh.c @@ -470,6 +470,7 @@ static struct clk_hw *sm8250_rpmh_clocks[] = { [RPMH_RF_CLK1_A] = &sdm845_rf_clk1_ao.hw, [RPMH_RF_CLK3] = &sdm845_rf_clk3.hw, [RPMH_RF_CLK3_A] = &sdm845_rf_clk3_ao.hw, + [RPMH_CE_CLK] = &sdm845_ce.hw, }; static const struct clk_rpmh_desc clk_rpmh_sm8250 = {