From patchwork Sat Mar 4 13:27:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64220 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp928447wrd; Sat, 4 Mar 2023 05:45:32 -0800 (PST) X-Google-Smtp-Source: AK7set9N6JJAgFLOhOmEadQfuA6iRA6KX3LFBWc/fq4p/hGyrdp2Ktv3mwtygYNxvgbDjhoDcjYu X-Received: by 2002:a17:907:7f09:b0:8b1:7e21:f0e9 with SMTP id qf9-20020a1709077f0900b008b17e21f0e9mr6541855ejc.18.1677937532119; Sat, 04 Mar 2023 05:45:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677937532; cv=none; d=google.com; s=arc-20160816; b=sBXVGuS8ZutDUZ00AiuB7s3wIoAWCAS6Cjmqvo/zNoKUsSb89i2jBXwCUO3DWJqpea H9qHDXzHXoAyrS1enlT2ynxYnxiabjaFA7s5TUhG6hjnkP01cGNU0tLjkkoDd6zMifGf F68s0PACmRMZYF4BdvYz0lAc4oQWbrr+80ETjDBg5/aITnULnouP1eWBOb316wV4anJg 3cOXAkSzjVzH8DgVjhMScqzZg2EbkkCCO+iCckJaXLRZAvmO0epaRUMo3QN883H1NGLL UgF50urmx2dt8FH3ZtPprFoVWdRRcUgdsPY6ca0zSA5fab7RTv83VWy4lgk6w38R/m+L frMQ== 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=u4xjt06WuAITrEBDOoRj+XcumFMWUoW9/PgZ8QRo1yo=; b=sawniC6hPd5XXR9iyJef8Sg5nysSvL6WZ5utzn55Ue40OIgaP45SLXW4CqEFd97lQQ DS5N/KOEpH8Ae+VsXARhi8AzBMJU8goQ6ftPixDc0W3vsJ6oTkv014flCBFSB8UkcsMR YXS1n82DL3Z+DRhGAwzk4j9zVEgHELdnykpqSD2tXauPbs9TzuqFhUAwRSZQmYKG9RWK wlWZ14PnvjIrf8xA1lGiuGSO02xfmjPc6Z89YTvW4/g692yhAuSnSu34peUtNxqJlXH8 WKoraqJjixh/TwSJ93Y2Lr3DRQzrA+izYjpWPhHFnJ6jbvZhoO6X86i78YumtGdsXgv3 n2tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qsH57wZV; 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 m14-20020aa7c2ce000000b004acb712d32csi5785810edp.233.2023.03.04.05.45.06; Sat, 04 Mar 2023 05:45:32 -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=qsH57wZV; 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 S229822AbjCDN2U (ORCPT + 99 others); Sat, 4 Mar 2023 08:28:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229820AbjCDN2C (ORCPT ); Sat, 4 Mar 2023 08:28:02 -0500 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FC042056B for ; Sat, 4 Mar 2023 05:27:53 -0800 (PST) Received: by mail-lf1-x131.google.com with SMTP id i9so7025320lfc.6 for ; Sat, 04 Mar 2023 05:27:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677936473; 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=u4xjt06WuAITrEBDOoRj+XcumFMWUoW9/PgZ8QRo1yo=; b=qsH57wZVqsviRiiy+sAvZQeDJz6JOSQJrqq7pMaajwjdJpKR7JK/3yyGLjDqV7Lkig iO8PZoTutgbJoXnqilTeWS4bVDXmAC4Nv0IEfKDUNAAIZfekEYcLM6BzTW6jOw7T+f7q YBsNc+N6DuEjFpJWygbDU6io212Mi4Czl18FYZ7Sn9747PMbEQMnXp9SFVNOQi/uzinB UW0QESCIcRiY4nyUjoA7kiZfDORGJRnRPV0p59lMErg/QIElhOz+JCGtl0XjpQEQJtKQ XCeSphFnAGb8CLVdy5rlBo3UEqQqKjXM2s/zST7VckzdR1At9NRDF4YsTsvaw7IQzr/3 nxMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677936473; 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=u4xjt06WuAITrEBDOoRj+XcumFMWUoW9/PgZ8QRo1yo=; b=M3td3lgknT3UoBEYanRtetX5LPOcr/kVXLLQqNc2hzd+9O6uCwxvuRM3AQ0L+wnd9t psosnfxSYJqS7ffhZX5AevObRbDlNq3nzpHpj19MSFjj42vqINbMF7zHocVPHAoeWW4U tq3l4hSB6BsgETBqGzNW5e6U+skZIuBFo/rxbnjYQjsqrubnbysmpRqAjlPiz4cyO/UT zBFthIZSoR3RtJ5NIsUyfABmYkA0D2YqqqGx/KrXlpkDvgo8gDhPZ/a8BqMEgIkt/cXm sCBlGCoKJ7nQJiGj6oSJMwWw9QbH7FPLK70zSkVKh8+Am+128/pI+ccFivvBVy2qRliB pTsA== X-Gm-Message-State: AO0yUKWay4tWyEpgagkcpqM2ndAozkNLE98GARX8WJtO+ZMVCkBxtTqm hI/9rnzYtmi0vIZ9jqZqS7S3LQ== X-Received: by 2002:ac2:508b:0:b0:4dc:4afe:1622 with SMTP id f11-20020ac2508b000000b004dc4afe1622mr1544781lfm.42.1677936473075; Sat, 04 Mar 2023 05:27:53 -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.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 05:27:52 -0800 (PST) From: Konrad Dybcio Date: Sat, 04 Mar 2023 14:27:44 +0100 Subject: [PATCH RFT 09/20] clk: qcom: smd-rpm: Add keepalive_clks for MSM8974 MIME-Version: 1.0 Message-Id: <20230303-topic-rpmcc_sleep-v1-9-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=yyAylWkjsHJ9M8f72hhFGXM7popO5Dzt7+QVKW2XYCk=; b=4+QXrXJyh0wapuYvuA1ri2hQ0axqyeo9BQ/+5lOsCyS4bb1RxeUj3NwF+dEOZcWUWkQy4hW3j2m3 rZl1rasHBDo4YWi4Sy27GGjEbQTSzZpb44ZJDJHiJGqrB7bXJOA8 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=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759445025589704416?= X-GMAIL-MSGID: =?utf-8?q?1759445025589704416?= MSM8974 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 6db78aeae9dd..a390ec3d6c01 100644 --- a/drivers/clk/qcom/clk-smd-rpm.c +++ b/drivers/clk/qcom/clk-smd-rpm.c @@ -686,6 +686,8 @@ static struct clk_smd_rpm *msm8974_clks[] = { static const struct rpm_smd_clk_desc rpm_clk_msm8974 = { .clks = msm8974_clks, .num_clks = ARRAY_SIZE(msm8974_clks), + .keepalive_clks = pnoc_keepalive_clks, + .num_keepalive_clks = ARRAY_SIZE(pnoc_keepalive_clks), }; static struct clk_smd_rpm *msm8976_clks[] = {