From patchwork Sat Mar 4 13:27:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64230 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp929583wrd; Sat, 4 Mar 2023 05:48:52 -0800 (PST) X-Google-Smtp-Source: AK7set9B2hsyLcwu7sHN7hcS7JEBM8MWDTbnTPXXaRrt3kVTRhc/KsGmiVLvWXiMMVp0VasON3M2 X-Received: by 2002:a17:906:ceca:b0:8c0:386e:6693 with SMTP id si10-20020a170906ceca00b008c0386e6693mr4627534ejb.63.1677937732491; Sat, 04 Mar 2023 05:48:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677937732; cv=none; d=google.com; s=arc-20160816; b=H8AVggeh2rqeEyRVE5J2m1w/2ZZ0MUkkeC7Mvs7luyGxnNspI7W4DcL8N9qWKr474B f8uJp/znKTnH6YOywHJXnYHOHhV2oV9Qvv7nEWgyf7JtKAFD4njOrKKDQVYTVV/hHCci 5nqBRGijiiekAWCJLcPj1qPlan2384ofaVrwkWcVXY2/iljditnwNpDj5eVm/Vx63KC8 BJZaiI4RWnmlu8BDazxo8xKBexN2coiztdhfsBUO3PwAkPXhLkKuvTGsB34NzXEMJi3O 0RUlqJeTLPogP2Q3vD7dosaxGDfatmomHBnY7EwApRgJ3qgOovwNt7BQcPehs7SJZ3wv 5xxg== 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=sg5MUUS/RsvMJqG0oyZOGmW2KQWocuS/nndCa7/Leo8=; b=PsnUzctvJ/B2v7dbhP1+BWA4BEZLuzpK88GtE7BKbyn5VLJiX4ZPq8/6ScYs3lnxUK YRQY+fp9F2ZGUOz4RAOrd/lupwiTHU1OiQMCGlEJdZ9hP7aOSEh6j3jaqVIlYIDJc7sW qvkiwlhYMtyw8TmgcqTnG7mLOIKC3uPg+lAd9wKO9S84s7Vu7B2b129gdDK72kxUUSNs fxy/9svm0n67Ims9ZtJrw+tXU4zSZI8h9uzdnHr1NnGi2vMscR9K4G/QE3EuOgxI3hZO kppfMJ5UXThTA8ntE5OSFunRFhLViK4pydEDN/ovnzu5Riv20s0HBnIy6zCz8CjFeZxj B0Iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FxG8MQTg; 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 h26-20020a1709062dda00b008b2972b5cf7si5125360eji.257.2023.03.04.05.48.29; Sat, 04 Mar 2023 05:48:52 -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=FxG8MQTg; 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 S229848AbjCDN2O (ORCPT + 99 others); Sat, 4 Mar 2023 08:28:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229772AbjCDN2B (ORCPT ); Sat, 4 Mar 2023 08:28:01 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EBC11F902 for ; Sat, 4 Mar 2023 05:27:52 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id i28so7104432lfv.0 for ; Sat, 04 Mar 2023 05:27:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677936470; 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=sg5MUUS/RsvMJqG0oyZOGmW2KQWocuS/nndCa7/Leo8=; b=FxG8MQTgshq7ZXgNGnLPcInBYnPjz7J2SBFZmx5pSSqtfRhePjrXOa3uixl5CY19OQ X4cFXTEwCRyR4fM5u7YPvZUv1sO/0wrJQFiNVRq+/mewZM0J0AR3vQ25DuieBnGCF2cU 9GeyvHL9OnvJfsafAo1bOLq6JZ0X8phUC3m9lHRzG4IGFe3RTTIvYrnby2wBRu4vyesh nYznzgsIiFia3aPNvRDyOSXyAI7+zhG2idKnb/Z+dOBnoBuy1/w6iOQHjqeE8ISNRV9/ ++pndzF/COIAGrZLw29Dds/8BAo8csr+dzZh5yu3xIFepVa85+AMeymiT5CbcVJey4dR TL5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677936470; 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=sg5MUUS/RsvMJqG0oyZOGmW2KQWocuS/nndCa7/Leo8=; b=wm+trN+5mGHlql7DhC9V7/jGSgfCo2On2/RuUqiQzPRyCQ/BB7VUA99U3AQ7JvB6TU SsQhEd1hzzNqcjjcFMt6gZoa2GcUGJGte0RLCw9Y4fBk7whAS6ZGr3Oy/qH37UMj2rfN pdmMHXy3Q3BUH2fDfiYR+Kj8vTHL2xzvFV6e7VBw+/OjKsy1BiqCLibUGs4ojuhRBUbT vs1ugbBKjybJNeC434AvsxjV5fUbVxppNcn8DjPYCFFg5XfDAXagTuq1F1Fc56qXKVj5 /U77gB6/7mTTwQP7P0/N+rVrIesA5hJ2uWZPngIY2bKkfVmpPxMuBB+jF1o74vrU5GN2 uB7w== X-Gm-Message-State: AO0yUKUH6ZqHwgN8157VXMVUtI50417WKtfhUwiw9qbMQ5+roH/XWTXh KdLf04LMg69Xlz5Izru5z0Q2SA== X-Received: by 2002:ac2:48b7:0:b0:4dd:a86c:203f with SMTP id u23-20020ac248b7000000b004dda86c203fmr1482024lfg.49.1677936470120; Sat, 04 Mar 2023 05:27:50 -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.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 05:27:49 -0800 (PST) From: Konrad Dybcio Date: Sat, 04 Mar 2023 14:27:41 +0100 Subject: [PATCH RFT 06/20] clk: qcom: smd-rpm: Add keepalive_clks for MSM8909 MIME-Version: 1.0 Message-Id: <20230303-topic-rpmcc_sleep-v1-6-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=7ViNlNQmKGvqkVAUmi2Hj/9cd9y9CDyFSAhdPgHMoms=; b=9KrpIXyi1i//002Au09KnaAtBtBqtLG0ajmDLO6201qe7dikbcLVaFjDYnyKHxIqa1l7TyUS8Ivs t7RNfR9HB0XVfDggzdaONcFoBAwO5lyZY9L8vMbgmaZGbMx0K8xR 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?1759445235739182709?= X-GMAIL-MSGID: =?utf-8?q?1759445235739182709?= MSM8909 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 72d06d9d2619..1a678a962770 100644 --- a/drivers/clk/qcom/clk-smd-rpm.c +++ b/drivers/clk/qcom/clk-smd-rpm.c @@ -562,6 +562,8 @@ static struct clk_smd_rpm *msm8909_clks[] = { static const struct rpm_smd_clk_desc rpm_clk_msm8909 = { .clks = msm8909_clks, .num_clks = ARRAY_SIZE(msm8909_clks), + .keepalive_clks = pnoc_keepalive_clks, + .num_keepalive_clks = ARRAY_SIZE(pnoc_keepalive_clks), }; static struct clk_smd_rpm *msm8916_clks[] = {