From patchwork Sat Mar 4 13:27:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64225 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp928450wrd; Sat, 4 Mar 2023 05:45:32 -0800 (PST) X-Google-Smtp-Source: AK7set91j1wHSTS3d88hQMMxOVq+zTL0MZ1PQ5qBqYymuEr3nbgCADJFj+IqXhBhCOIgU9cIBkyV X-Received: by 2002:aa7:c493:0:b0:4ae:eb0f:892e with SMTP id m19-20020aa7c493000000b004aeeb0f892emr3964487edq.20.1677937532123; 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=GO9eYzJQUGOlISem1CMIY6zDFVJ9KPf63DVcQtb2yb6tGja0Neu76iM5BpLOCRHHz5 pgFe0TK3hK85Gqz+eRaFx00ZPoi3U1xxa2M17X8Dqx5Sn03m6m48F5DEjLYPWLDr+evJ Ldd/K6HVqaqQceVZ9VKSb3oDkhUwwmlxqAdjzFgLaKM8opuqCBBcRrA9J52+AcBY//+5 6ofUKyIxKX6ld1aAV2jdW4uqk6/Pi/hMRFyDQh2NjBN6bkawF9ZGPsdPnLqXlg3ymg+b vXNIckJ6B1qf+JJuP75bCqiTRVcwkc0mOHd0+nVok5Y6dhfXz2GUjSQWcEdd0oLCfd4H vNXQ== 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=J0QoQUCwZ4517scsxI8XcPjm+YClZabP+eyHX2AdjqU=; b=0s6laZXdngSjWO2rvHytSR8J1CiIcmOTOu+ye0X74MMbrQI1R4EkdkL7y+I3OxDw33 4Bzd+5Moo9CX7IUpkrTxHT6FPJMjz4zAFVRN8Z5RZrA4u9gPSQA2TWEmTGjxETj1EdZW yPIMrv7KGd6sEedcxlBs7OsEQHxLB028RHQptmNsK/NGMQ3P95w6MPu3/ycbw0SNS6/V gxmeqmus/9D6GGxRV6fotndlsRhixsv5Mrmwj8lFT6GuA22ElYVno+gU+2Scpuee/o7r jRHlGF6naCSZ9Rw1YATd5FExHOsBeccIgwmARCnXdBu/eyq+6gwGF7DqHzhMkD//bm67 qRHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fmHnCN6R; 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 w24-20020aa7da58000000b004ad7c1fb712si2111803eds.620.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=fmHnCN6R; 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 S229789AbjCDN2H (ORCPT + 99 others); Sat, 4 Mar 2023 08:28:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229808AbjCDN2B (ORCPT ); Sat, 4 Mar 2023 08:28:01 -0500 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFEE01E28D for ; Sat, 4 Mar 2023 05:27:51 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id r27so6992012lfe.10 for ; Sat, 04 Mar 2023 05:27:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677936471; 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=J0QoQUCwZ4517scsxI8XcPjm+YClZabP+eyHX2AdjqU=; b=fmHnCN6R3YH7slYJhITKJTZxd9LSPHvRpsLBtrEVzRcLmlwFBLCtWnvy3SMO0W8SfR 6IvyDbziVFTc229wIFU7yfqx2nHvIfAhv7mHI7h0iINRdLbnmmMFMbNMvUvKbPE++LS4 1tdN36MiQHKgT+2Hdb99QZscv/GP7dEEvpZYIlF9f51bu+r8Y1zN/eIKic0PJ8sNPAC3 DKnjEpLs9xmCq4vU5qRYo15EQPJVwlsxB8ta2BMDW+4Y3vqXgjpC+sLtdjknhePmD0qr mxMNZb1i35zPv8Yg9eY1M80zdmp9VPBpCFVjjPK+C5CsmKhVoj75xn3lLv1S4iuiSibT 9IBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677936471; 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=J0QoQUCwZ4517scsxI8XcPjm+YClZabP+eyHX2AdjqU=; b=SzODiFM/15NRv88QpbN41/vyjdINtsacTZmDeg2pzH69Fa+3gewJ4zGoE5qsFaGn09 9huSrmc1hYo1UD6OWWSI6DUm+xNT4B7no4iWTcvjV//cZcdDAd8nDIMVtq47hnOklJMV fIrY4+BEq7KDJm21bC+alyWx129c1rYVo2g8VZKMdCySejokoHQKXK2pYcanhCnhaQgB ZHKfLbI1zjbRK4STo/b7m1MVPVTTzZhRfSu1diTXhMCn/6t5s/1LyHoVOJ1M2Ng3hhNu NesAmpUyunD3iTehizC40mGHRR5GmzOwtj9Iu/OI+y9CkPdPEABSP7DzB9otseotu6hG 9mZg== X-Gm-Message-State: AO0yUKVqFzOX0bzMWYF0tPAXxIqboYdDOqJHbScBTlU1kKjfPu0lzpfr 52Zw+Z9z+zcBVEsRt2ObGq168A== X-Received: by 2002:ac2:5103:0:b0:4db:3848:86af with SMTP id q3-20020ac25103000000b004db384886afmr1425258lfb.12.1677936471099; Sat, 04 Mar 2023 05:27:51 -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.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 05:27:50 -0800 (PST) From: Konrad Dybcio Date: Sat, 04 Mar 2023 14:27:42 +0100 Subject: [PATCH RFT 07/20] clk: qcom: smd-rpm: Add keepalive_clks for MSM8916 MIME-Version: 1.0 Message-Id: <20230303-topic-rpmcc_sleep-v1-7-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=EjzJfBH80ZIEoJ+Wq0ik7Jj0/K7SI5Dj0zTT4DnJWEY=; b=gdzYNGD+fq1qcjQ/lc2oztJ9Fd9WHhUJgwc6ExEsJc1B31oDkehB50+0HGwTI9OsLUgDHvc9GS9x FG24puwMDKHhXLnPGygqD/JciwzP7fTy7LLNLSOsuJwItigty5fl 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759445025687528709?= X-GMAIL-MSGID: =?utf-8?q?1759445025687528709?= MSM8916 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 1a678a962770..a93b4575f44f 100644 --- a/drivers/clk/qcom/clk-smd-rpm.c +++ b/drivers/clk/qcom/clk-smd-rpm.c @@ -596,6 +596,8 @@ static struct clk_smd_rpm *msm8916_clks[] = { static const struct rpm_smd_clk_desc rpm_clk_msm8916 = { .clks = msm8916_clks, .num_clks = ARRAY_SIZE(msm8916_clks), + .keepalive_clks = pnoc_keepalive_clks, + .num_keepalive_clks = ARRAY_SIZE(pnoc_keepalive_clks), }; static struct clk_smd_rpm *msm8936_clks[] = {