From patchwork Sat Mar 4 13:27:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13159867 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3DF7EC6FA9E for ; Sat, 4 Mar 2023 13:28:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229445AbjCDN21 (ORCPT ); Sat, 4 Mar 2023 08:28:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229852AbjCDN2P (ORCPT ); Sat, 4 Mar 2023 08:28:15 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AC7013DD5 for ; Sat, 4 Mar 2023 05:27:56 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id g17so7031527lfv.4 for ; Sat, 04 Mar 2023 05:27:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677936475; 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=uzHrJoW6Kg0rf2Ogvqpc/42443dPzaVDNHAni2oxJ/4=; b=IcRE8qR3ODKrmu58TDiMl5f2ZQZ3QTRHNxHytCrqkLg13+9Dl+V0yG1qT00qrHtR56 gVSVOCKmYpc3mkkoHp9Qf+hEuVKgzLb8gxDnjraE43u6xpK44sL4tEntFKoAPVDchthy SNvn3ft3e569ACmECUq6YWgvXlWiO0PTcSq5frE7q1jsi5ct8mDHLDU8dtbX5Y86m39b FdZDBE4KV3sX9L0nMk7gbsZ1tx2AEXP81AAYfXjOygBsiFftzONsxgdqUsQO7dIBNxTF /nDKuHyjHv9LtZTBjo8Noq14AVcE7cfZk/neQfmfGUlZ8IOwPfyjpSMwAWCv3ApP3+5g 4C1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677936475; 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=uzHrJoW6Kg0rf2Ogvqpc/42443dPzaVDNHAni2oxJ/4=; b=czYGq4OHSElqxGxjr5c4as2k2P+4rUBsqAY93MM062XysrBU6JJHxprQ/fyiKD0Any iv0INCLVSyd49ePtY26w85RnIpE5CI7Bi3vQL8hGCwCYjuwqtBqVC2OxVwD0Z+5S9k0B 6+ROpnjC4IGnV4oxjOn5P39QVJelPXLsy/3js5/WxatjyWcr1V9Af3zIiAiieU59Qjoi JXM4SPaiQcLTFUu4dH37Ez945T5JqnCLy/VVaLqU0mZT9yOhLUGPPBInpn3YI1Mg42Uz X7FK+ym9weY/4mWk4sQtIVcakc3yR3Dbbgvpp6dHfZzlWj2q2kA8iM6ZT3KGxKuwpP+i lw0w== X-Gm-Message-State: AO0yUKVxU693t2NoqqwaVR7s7J+PLPXWifApx+lkey2aycEN496jLqe3 Pc7Ji4mAzR0NMXibje3113W+uw== X-Google-Smtp-Source: AK7set9N3b4JslDyZpAp61DLEsFU9+2W8DcqF5lk6WMNt2q6Tk1Zm5LhtInJbRX7m4A8/sVvx5iz7A== X-Received: by 2002:a05:6512:20d:b0:4db:456a:9a1 with SMTP id a13-20020a056512020d00b004db456a09a1mr1507400lfo.66.1677936475744; Sat, 04 Mar 2023 05:27:55 -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.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 05:27:55 -0800 (PST) From: Konrad Dybcio Date: Sat, 04 Mar 2023 14:27:46 +0100 Subject: [PATCH RFT 11/20] clk: qcom: smd-rpm: Add keepalive_clks for MSM8992 MIME-Version: 1.0 Message-Id: <20230303-topic-rpmcc_sleep-v1-11-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 , Bjorn Andersson , Michael Turquette , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1677936461; l=782; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=1lqcxtVFODqNrQVkr7L9/FHGP6fajr4jJzkMd+/yxbo=; b=jmGhchc9fBqdxNfNYbBU8b5cLPhdvuQlWApk+nHKNltI3DaXUL12Nh9rmJE6xebmaAngTitVE7uv WUFLPd9kCLgnFDVJtj5obJtMt13JsuGc2FRYFgvTGoBtX9rcvnxv X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org MSM8992 requires that the PCNoC clock always gets an active vote. Guarantee that. Signed-off-by: Konrad Dybcio --- drivers/clk/qcom/clk-smd-rpm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/qcom/clk-smd-rpm.c b/drivers/clk/qcom/clk-smd-rpm.c index f82576180fd4..c7c623b258ce 100644 --- a/drivers/clk/qcom/clk-smd-rpm.c +++ b/drivers/clk/qcom/clk-smd-rpm.c @@ -782,6 +782,8 @@ static struct clk_smd_rpm *msm8992_clks[] = { static const struct rpm_smd_clk_desc rpm_clk_msm8992 = { .clks = msm8992_clks, .num_clks = ARRAY_SIZE(msm8992_clks), + .keepalive_clks = pnoc_keepalive_clks, + .num_keepalive_clks = ARRAY_SIZE(pnoc_keepalive_clks), }; static struct clk_smd_rpm *msm8994_clks[] = {