Message ID | 20230303-topic-rpmcc_sleep-v1-5-d9cfaf9b27a7@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp922010wrd; Sat, 4 Mar 2023 05:29:11 -0800 (PST) X-Google-Smtp-Source: AK7set/x7n3xD2PZXIFh0n9yA/Bq3sML/h6U5OWf6MB4n9t5l6ZMnlVA/JFiw/m0NftMJztXaKsh X-Received: by 2002:a05:6a20:7f9c:b0:cc:aa7b:84e1 with SMTP id d28-20020a056a207f9c00b000ccaa7b84e1mr7881309pzj.21.1677936551128; Sat, 04 Mar 2023 05:29:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677936551; cv=none; d=google.com; s=arc-20160816; b=dqQmLREYNd6wcPUbhPk7wfNiN4vvbEHORDW98e0uWP4WQDNbbDs24cxmQGYVs9kxZL 2NLW5U1hpgDJ68zE0FGCXpQ1Lj5WTxgZ4u7Igbv6DLw5MtrY7UuX2CZVQCTbNXrOD+c9 WtRKgzgBx6CVNY2gvDSfDHLJAynNa6EgFxZUQZaC2gNApKzkzFkfSa816LsDoLLd8Z2/ fhMuCpJeT8UzwnWbHz63i4L4z6fexDQsp29gkNAcGSOGdyYxPj3YKoNFmHRNg7jp3b8m 5P+p10/L3i+++L0vm0IXm8ucPBXYqwrpMAUwthCMfNamwmDgE6P+nor9QMGJg+dKMU2N CtVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=FYL13R90UNi1dy00Ua3Z1vWgzMNDfwLwvaxSvlHKzh8=; b=ipcZXohOIY4a2Ts3CninjN6urO+O9pCe4DlggG0LxZrAKzJv8sVbI9PKOJ6/YA1m4/ 8x1DYZZIuM0x0GdOvqe4G037ftgXxg/zHwRnokDDGp8hAHMNYUyNOrJCCVhCGcYvK5D3 Be1AwnLRIkEprteTU+IE6NIRZZsyN40RTVnTB11OnyqbU85l2w8/17FK/fMmLTK2AlI4 wmhvYBR93bIp2L4/YpJDLdOVnZcAZO0BjmMFbetul3p2s3QmvMbID3NzJrltEiz62H49 equNyH/BcMpmvBSkEHKmAgFwdvtLiorQ4PDkUL0Vr4W65/z5HAVjz3EVP7q6xNDH6r/b f2/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RCKJ26K5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 6-20020a630906000000b00502d5c32148si4363567pgj.248.2023.03.04.05.28.58; Sat, 04 Mar 2023 05:29:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RCKJ26K5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229811AbjCDN2K (ORCPT <rfc822;kernel.ruili@gmail.com> + 99 others); Sat, 4 Mar 2023 08:28:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229783AbjCDN1x (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 4 Mar 2023 08:27:53 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA8941E9F4 for <linux-kernel@vger.kernel.org>; Sat, 4 Mar 2023 05:27:50 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id f18so7049608lfa.3 for <linux-kernel@vger.kernel.org>; Sat, 04 Mar 2023 05:27:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677936469; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=FYL13R90UNi1dy00Ua3Z1vWgzMNDfwLwvaxSvlHKzh8=; b=RCKJ26K5qc1I6agiL5AP+pL4YEenytEy+i9wyCSp8Uzl2MuPkwMWDfozSnnsWuTfCe nX+lXs7PFvR/wlMJTCw/KIBL08vyZivJ4y1umQQQibk99BxsGvcysD+MeSNy+y7e8IGC iZahjEZtH79HtCx/jLsvnP1G46yC6CSrkvTcTgWc124/ZPLd1ygewF2zrfJTIDsO+RhS sB1vCTrtI5XkyDP+xmMtVG+z9ooBZifxV2qoCTBOH8k5jAjKIqPl7inn/8Wojs+849xi GWzFFk6F8cNGeQNURx4Rh5Jgs0xVZxKF3ADp/489e6435jSElG5ClELFq3F4degugCwy O/kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677936469; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FYL13R90UNi1dy00Ua3Z1vWgzMNDfwLwvaxSvlHKzh8=; b=bcEprvaWCni2cpe9GkLiQwryHb0nkZlqe49OS3U2X+d+WP5yF8qHhx0uqI0W6d20LS Fxfuauadr76Eb0t/Yi+Bo71yDusl+VXcbrNaid5L5YOvkP+9pRTkmp+hlL86pTT0PQXT hrzwyeILZvAo7zc2Q+X1eXBJBdreCppKp0dscFiiilGADJRCO0INmCW19kGmToXcKm/C zQOuSORf0m21sdURL64plAygVJvFASD6ApkKbKDe8w5sXC8KCFtqRT+xxTaWWYn2oxsz NlYIaGC+svMP1+g40qoYjIhMvxZxWBiKryxzXkVLXX/PBnx2aAEM7eDWRkTllXDapA9H rJaA== X-Gm-Message-State: AO0yUKXSB2PJPsTJHa7ujhg4EbHaVACz4PW9d9grwaYn/J1F1VT+S9yf PFjuHICE6PYmKO1DJNiHjxcqOA== X-Received: by 2002:ac2:4ad9:0:b0:4db:1fdf:4c64 with SMTP id m25-20020ac24ad9000000b004db1fdf4c64mr1544079lfp.54.1677936469122; Sat, 04 Mar 2023 05:27:49 -0800 (PST) Received: from [192.168.1.101] (abym99.neoplus.adsl.tpnet.pl. [83.9.32.99]) by smtp.gmail.com with ESMTPSA id j15-20020a19f50f000000b004e7fa99f2b5sm342975lfb.186.2023.03.04.05.27.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 05:27:48 -0800 (PST) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Sat, 04 Mar 2023 14:27:40 +0100 Subject: [PATCH RFT 05/20] clk: qcom: smd-rpm: Add keepalive_clks for MSM8996 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230303-topic-rpmcc_sleep-v1-5-d9cfaf9b27a7@linaro.org> References: <20230303-topic-rpmcc_sleep-v1-0-d9cfaf9b27a7@linaro.org> In-Reply-To: <20230303-topic-rpmcc_sleep-v1-0-d9cfaf9b27a7@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org> Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677936461; l=1165; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=YYwH7HEKpalW8VgmKOZODnJie+e1J65AzjEIw3E/AUA=; b=SXHK0npSEW5c2nRa+iH4S3G7CKK0VZ/NRX854uT+wQDjL1qLuJSv67mSVt7rT8+yPMBLEQ4QxNxv afv6DPLuBPniTwNFVzaqdk0BV6KK7xyfWnPOo+TIgFJNOiqGa73D X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759443996930419535?= X-GMAIL-MSGID: =?utf-8?q?1759443996930419535?= |
Series |
SMD RPMCC sleep preparations
|
|
Commit Message
Konrad Dybcio
March 4, 2023, 1:27 p.m. UTC
MSM8996 requires that the PCNoC clock always gets an active vote.
Guarantee that.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/clk/qcom/clk-smd-rpm.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/clk/qcom/clk-smd-rpm.c b/drivers/clk/qcom/clk-smd-rpm.c index 8ca301c58909..72d06d9d2619 100644 --- a/drivers/clk/qcom/clk-smd-rpm.c +++ b/drivers/clk/qcom/clk-smd-rpm.c @@ -526,6 +526,10 @@ static struct clk_hw *cnoc_snoc_keepalive_clks[] = { &clk_smd_rpm_bus_2_snoc_a_clk.hw, }; +static struct clk_hw *pnoc_keepalive_clks[] = { + &clk_smd_rpm_bus_0_pcnoc_a_clk.hw, +}; + static struct clk_smd_rpm *msm8909_clks[] = { [RPM_SMD_PCNOC_CLK] = &clk_smd_rpm_bus_0_pcnoc_clk, [RPM_SMD_PCNOC_A_CLK] = &clk_smd_rpm_bus_0_pcnoc_a_clk, @@ -882,6 +886,8 @@ static struct clk_smd_rpm *msm8996_clks[] = { static const struct rpm_smd_clk_desc rpm_clk_msm8996 = { .clks = msm8996_clks, .num_clks = ARRAY_SIZE(msm8996_clks), + .keepalive_clks = pnoc_keepalive_clks, + .num_keepalive_clks = ARRAY_SIZE(pnoc_keepalive_clks), }; static struct clk_smd_rpm *qcs404_clks[] = {