From patchwork Sat Mar 4 13:27:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64221 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp928446wrd; Sat, 4 Mar 2023 05:45:32 -0800 (PST) X-Google-Smtp-Source: AK7set/Bp/T0S2cmoV8F1vF+S6da4SSIoiNdKrbG7z8VHA1jbR3t1ZrPFbhJUQlic1bpV7ROKwDC X-Received: by 2002:a17:906:fe09:b0:8b1:2bde:5c70 with SMTP id wy9-20020a170906fe0900b008b12bde5c70mr6196531ejb.2.1677937532118; 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=idK/5bxgBXcdLC8lx5GaBfOYPV8WAXIPd1X8GYpJ2WWuw3JR2fTCMhpf+ZlhUfF3Sw XN50HzFGSK1B4+NYU98Cnwlcc9ht4lW4ptcF2XG6xPnZaxL2ly/1mb05V7RZFyWxSMlG stekSj52e9BYpWJcg3jjBVts/ixgGJh3qxbxPfeKG4/pLhZ6ws9jOZcmR2ym/6sInJwh zIiwzdKDk3S+KI8X9hguFFgEDZT2l1Aam8ucLbEBLa4cz9qKaZLPVAO7DSRIpRzhmRq7 xegib25F+6D7/DGsioNscZOz3+O1MvWceSSQWVeFCgiik4lDjdXbhNJ4RjWNDc0aYURp dmlQ== 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=HOriah8CGt+wDocjqhLOrYXq452xc5Pi+fEeXp9fgS8=; b=pDdvhtaSJomN/CSS05gMFALWQrFDSjzKIhXr4u6f4tNlu/3Tv8KKgkiyl1jwfDVUHU Ozqh2hVsqtOUMbHWNEouXYPwHQqXusfVTAIxXLlioWKQ/oJIPfbRzBkbGWSTqIl54EeJ AoMGYfFbITbPJmk68ciqlFFmauQqICy1mqW4WfZnHIKFURpM42vmr+Qcz52cIO2DnCjp 3d2tS+UXBx8XdsppAd1ZaumJ0QNc/CP4PjILxGiwlP31FdfxNITZj0pfWXXt3vSBxVpG MPge/Hb5jxbvZdcm97SceMIOrSfcaiO7e5h21g0aOFaoZyKlWmBKO0qBF5fnshuJvsT0 dsmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tiYbTRQZ; 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 l4-20020a056402344400b004af70883594si1526669edc.244.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=tiYbTRQZ; 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 S229861AbjCDN3I (ORCPT + 99 others); Sat, 4 Mar 2023 08:29:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229846AbjCDN2p (ORCPT ); Sat, 4 Mar 2023 08:28:45 -0500 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A14DE1ACDE for ; Sat, 4 Mar 2023 05:28:05 -0800 (PST) Received: by mail-lf1-x134.google.com with SMTP id bi9so7053150lfb.2 for ; Sat, 04 Mar 2023 05:28:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677936481; 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=HOriah8CGt+wDocjqhLOrYXq452xc5Pi+fEeXp9fgS8=; b=tiYbTRQZGVqm467Aj4oeega4VpkInq7di1idcSuPONWc20j9glNSC+zFMeMmrlQ2XS BcLH0v4VpcVq6jh9r9v3ryWItNx/IxiR9ZsGhDi8XgWaY0eLR6Db9lDKFo3u2SMuiWXI /bk4bEdC93sFqLxU0rupitkiShUgNpT1gJA1N3IEAAphdmYS1qVYy+a7dOhQYcU8c/nH tjAqELfRYFr6lVuZD3wgVwJhto6GpHF+Di2AK4qvrYbtd7R4mqd/GtNKdaJxD0Zimv8z CWHBVfiH+BHa/Q5WHsqgdMWAfUnHNqiH7kEuXY16ovV7n2YpX9kzlej2w2VFMIZtyalu z2Yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677936481; 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=HOriah8CGt+wDocjqhLOrYXq452xc5Pi+fEeXp9fgS8=; b=0Y9/XzuolViwc4ZtqDu6RWJDh6sxxrFpknmarr/99To5lNmXMZd9ELgmohHjwqL8T4 YWSxYfyTDO+Ij4lLP911XWJPRQgv5HeHaPeF0G5g1nPgRuNG4lISix7RjX6x8CFL5YOM bSSeE8Efp7IJPykQfmSa9ZPPY6XMFHIl/pcLZdBHo23u+uq6NbInu9kpR9d52bzle5rw 0TILq+pg26fXSQlXOsTWqGm0KfZvtccKi/Wc9KRJ20Epoy3a0FmpSSlyGuW6NIgRgMLc 8HE0KSt7S/EGQDOSSsk9GV/YeKGRY45eGe99eQcbKfioUCrwdllQjvfoUSRq9RxBB5SL 35qw== X-Gm-Message-State: AO0yUKXmojLuDKktl8XJ/y4TEZKGfhytC/3CwcsQFvrNtcgYylCBYa56 ZS9ckluDyQJ4RvkRrrzBqWPDPuOuaQiFqVGUUAI= X-Received: by 2002:ac2:4947:0:b0:4d5:96f3:61a with SMTP id o7-20020ac24947000000b004d596f3061amr1229303lfi.6.1677936481680; Sat, 04 Mar 2023 05:28:01 -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.28.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 05:28:01 -0800 (PST) From: Konrad Dybcio Date: Sat, 04 Mar 2023 14:27:52 +0100 Subject: [PATCH RFT 17/20] clk: qcom: smd-rpm: Add keepalive_clks for SM6125 MIME-Version: 1.0 Message-Id: <20230303-topic-rpmcc_sleep-v1-17-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=760; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=VK4g3BsSe83Idt8jQ7iBMSR7RQiEu45t1paO0zX0Ibg=; b=fxaQkNzN1IN1hgxn/a6rWWWUjNjheLcEtdZnZdf5H2rj/V1dCTUzkXTVoCh5Lnxo+6s9B46zJoj2 vOj7reSSDDHPVHY0MCwkOmvV02kn+QUnfIKWPul51NcggBpedXnf 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?1759445025476793122?= X-GMAIL-MSGID: =?utf-8?q?1759445025476793122?= SM6125 requires that the CNoC&SNoC clocks always get 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 dfcb2020b7b1..a5171b818d15 100644 --- a/drivers/clk/qcom/clk-smd-rpm.c +++ b/drivers/clk/qcom/clk-smd-rpm.c @@ -1148,6 +1148,8 @@ static struct clk_smd_rpm *sm6125_clks[] = { static const struct rpm_smd_clk_desc rpm_clk_sm6125 = { .clks = sm6125_clks, .num_clks = ARRAY_SIZE(sm6125_clks), + .keepalive_clks = cnoc_snoc_keepalive_clks, + .num_keepalive_clks = ARRAY_SIZE(cnoc_snoc_keepalive_clks), }; /* SM6115 */