From patchwork Sat Mar 4 13:27:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64228 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp929537wrd; Sat, 4 Mar 2023 05:48:45 -0800 (PST) X-Google-Smtp-Source: AK7set8fqNKR56rulwRRguYqwOdhCZ/GkfkKdW3r4o7ckHp0BgJ9/TuUmbi5vk2R0bNLx0ZqDnFv X-Received: by 2002:a17:906:fe07:b0:879:ab3:93d1 with SMTP id wy7-20020a170906fe0700b008790ab393d1mr7359239ejb.4.1677937724870; Sat, 04 Mar 2023 05:48:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677937724; cv=none; d=google.com; s=arc-20160816; b=Ts+2msbyR3gb5xX6Wub1Qm6PvwJVbaF8iiLLLIzZfCGQwPuzoM+M3FOPmJHGLGyCNp xVDgwjqIGYbsUhRwlqG52CKSgMkLvPT1Fxe/KW+mByCXLgZSp97VozpHrmXfUOaLC7/v zOzRAf1sWW5CmquNRD46xIzPH10adz9NS7cweI9TQcyGtWozVfa3h0x+PnK13JXuYkLe tjiU2zd22SdzyeB21tmUzPr/d+Xh1dK8Fm9nYpgzDYuThjU9WvWAA1c08XSOWzW7tgcZ mjJ2c5/kuk8gzvn4j6jn7S2kk7gkdpeYnl/eLz+cAFdXahcLBT3GODIW4CArXwq3SrDO fF/g== 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=2AtLMGyHyO0DGJrz9avniGAQOG2e5k9Q5CL75KRC6OM=; b=iO2KdRnvC9JaWLE6/t1NvhNJ6a7/9Ifejj58CTABHFX+CWiF84OWkCRawJ2QZ1R3JS ZqtPAQn5+a1euY35fWcqjZmsXQsSZvQ93UJRBohrBKItSb95igJXeGQEV63ExqTG1MtM C0VCwVFdeX5wozf3HKbFCQWrvsSl17xqaCTjibVI1GWv4zUqOknJanYnxCkPh3hxpRxF kgbCeXBij96MCxaA+VUkhnyggDhGcFRQSRanbKBbwy2zUz8J+0GMUpqviXW8+4Yx74KL rlBNs+lsesGe8FfCUTTpwkjSHEZ+tqmQR4k7pufdzFgcVl6KcWYbd+uvcRP9OQazTzZJ 3FVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=whQufuE4; 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 o12-20020aa7c50c000000b004aab2fed3e7si5437869edq.275.2023.03.04.05.48.20; Sat, 04 Mar 2023 05:48:44 -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=whQufuE4; 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 S229580AbjCDN2d (ORCPT + 99 others); Sat, 4 Mar 2023 08:28:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229820AbjCDN2W (ORCPT ); Sat, 4 Mar 2023 08:28:22 -0500 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2798D13DF5 for ; Sat, 4 Mar 2023 05:27:57 -0800 (PST) Received: by mail-lf1-x132.google.com with SMTP id t11so7047199lfr.1 for ; Sat, 04 Mar 2023 05:27:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677936476; 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=2AtLMGyHyO0DGJrz9avniGAQOG2e5k9Q5CL75KRC6OM=; b=whQufuE4xPYKNBQlB4o7vMLsVvnFcW416wKkTov+dpQTOo5kVcU3NlhTaZEAYOeqKt kWZciHVP4+0mzHeFmt+j5KKmfM7nmkbD+11InOsBeHhZV5OZ00+Rw0bJydkA0lHVYGMR dBcGwacoM1RYmMHSjV87+SJKQsGDb3yqfyZ2rsA8d12hUcxQxx94mk0cKFGcPJTsnSWH eUUxxetOc2CmZox337roI/cYi8UT1BeS6HGJHN/Rf/0djC6haru+c0q6i2ziIyZZ9g3B tR9gKyhw0ZA4TjtW0bpw6iYM5nucmxtSxNbCc8/nTl+yhJiMskyYbUcPsx5tKHQFTHtc g0GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677936476; 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=2AtLMGyHyO0DGJrz9avniGAQOG2e5k9Q5CL75KRC6OM=; b=nT/KYVWu3o3/r61NkKzMek7b+9E/0irZZgb6hfqE0UupM0U+eB/q5MzjI6GSrySV8A puH10NXW9NFBSSnoxhR3yeOYfd4lQcjrwfQk3IeZLgNrumj5ipQ+MMgRvCaXNdRFdfBH mcMQMHExiy8Zhaj3l8i2BXU90XbHJ1yEfsMyS9IoMx+gdIYbcU541HMANvjNZt/e9IZr DHICVXxby5gN0nDuWW+EU6EXiVYTdlUZhZ+MSzkKDPzGdMPCg06bw1UO6k4c5NlH7w8+ axMacHbLQXayt5oJG+vvWkfUixeR+QoAGiQNnGAvEilTwd+svl7JIQSWKbHNF6kKccHE 3m6A== X-Gm-Message-State: AO0yUKVDg62eD0tgptEksYIdR5tkSBcLDKaOZcZAoSNrmQOdRCVWLZ8e mSselyzyh+hcELJfbgSRPzF6Eg== X-Received: by 2002:ac2:52bc:0:b0:4dd:a61c:8f74 with SMTP id r28-20020ac252bc000000b004dda61c8f74mr1593826lfm.51.1677936476736; Sat, 04 Mar 2023 05:27:56 -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.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 05:27:56 -0800 (PST) From: Konrad Dybcio Date: Sat, 04 Mar 2023 14:27:47 +0100 Subject: [PATCH RFT 12/20] clk: qcom: smd-rpm: Add keepalive_clks for MSM8994 MIME-Version: 1.0 Message-Id: <20230303-topic-rpmcc_sleep-v1-12-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=BHqSpJ9W8in8CppNMmIU5onolGCmZoQTDTEqzTGWbJI=; b=yx8/S7yrctomj+dbBxMr67Ggx0kK28RoU1nxCgK4qvZ6wjlGYKZGdYpjXvj6H/XAXXn8MdMDxwUP +58tmt5UCeLHIr+uJsj81z5AKxwDBHipljybmkI+mg9UXrp2+YLg 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?1759445227360528962?= X-GMAIL-MSGID: =?utf-8?q?1759445227360528962?= MSM8994 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 c7c623b258ce..4b6037e804ae 100644 --- a/drivers/clk/qcom/clk-smd-rpm.c +++ b/drivers/clk/qcom/clk-smd-rpm.c @@ -844,6 +844,8 @@ static struct clk_smd_rpm *msm8994_clks[] = { static const struct rpm_smd_clk_desc rpm_clk_msm8994 = { .clks = msm8994_clks, .num_clks = ARRAY_SIZE(msm8994_clks), + .keepalive_clks = pnoc_keepalive_clks, + .num_keepalive_clks = ARRAY_SIZE(pnoc_keepalive_clks), }; static struct clk_smd_rpm *msm8996_clks[] = {