From patchwork Sat Mar 4 13:27:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64227 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp929292wrd; Sat, 4 Mar 2023 05:47:58 -0800 (PST) X-Google-Smtp-Source: AK7set+0kiPgxYXT0fXkW2xqdEqKiufxiHeukXhnlRODJa+XNoqG+gPf1fMmV5NXZiatbMba5ZTU X-Received: by 2002:a17:906:9f21:b0:88a:7037:855e with SMTP id fy33-20020a1709069f2100b0088a7037855emr5436561ejc.9.1677937678360; Sat, 04 Mar 2023 05:47:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677937678; cv=none; d=google.com; s=arc-20160816; b=mzCJbWfgOQf4xglKvdHo3U/OZo2Wm58oXnZ5Npsw9YYg1S1xw2ZcXtAqj4CEvvId0q O2XQz3ptCgYZRrgrm2E1Ti90YPcSQV9aKh9zY3SiMwXIT7RHA0Ghi39IZRZZqA79S2nD l0WtpUV9K2x1G2eLjzlys/Y0pAQyOvwL/wog00Npg4R+sO4gvzkFbnusjPJNdpoTQjhR Kdn1c+DOyBeWnAu1ROGFH4KN7H3JcfetuNR/nxHnaIvgX2rZPT8e37Zbd3FgAQqRl38m sWAerqmcB3Yzw1YsQaVz6bkJceudZf1RxlIN4XEsfh5Q3z8/3J9TPC0tfz2fMLl75pYo 9f+A== 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=a/RYmnwCu18aIYaj6lw64sU1EXpG38sGCKjbpOsXfEA=; b=GF+XdLXLgPBnTtZpda4c27thS+kuHpVw5oNy+xOyig2tak9YbAuIT7G68VRCv7li7B E+wp2Ow0qfJ2bAn5o+70Z6kEGBQ1VOTl0XFmtLILJvAxSf+hFlU9jd1b8EPVCDWYqvd1 Be5pN3cxsKclj9lUShot2M2Y/537VxY9M537DztkBVVkkN4ONJ0MA8G1D2PHqUB9g6db nAfQ4kWrXk0w+sr4Yn34HVJnlYSnYG25XvRaLGTMd8oFGQ8VNhhW8AiBy+vqkDVd/Yeo bQWCcriBPxmUZ4W69C0Fzk7OKKnDAZR/UkOyZuDyH3TLOCIh+jRxeXYkGqjM62XMyA0q 6Dgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DZTO0TdS; 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 qk33-20020a1709077fa100b00906314690c0si3266641ejc.752.2023.03.04.05.47.35; Sat, 04 Mar 2023 05:47:58 -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=DZTO0TdS; 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 S229973AbjCDN2n (ORCPT + 99 others); Sat, 4 Mar 2023 08:28:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229842AbjCDN21 (ORCPT ); Sat, 4 Mar 2023 08:28:27 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 346B8CDFF for ; Sat, 4 Mar 2023 05:27:59 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id i9so7025511lfc.6 for ; Sat, 04 Mar 2023 05:27:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677936478; 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=a/RYmnwCu18aIYaj6lw64sU1EXpG38sGCKjbpOsXfEA=; b=DZTO0TdSK8N4lqRQPkMzpOAUbyTrVd+3pEjEh0goKTFyjr3MZdElLOB9+lOTBst7VP yJ47JxGV6P1solRa7I/ojx1P2B2P0FOKgZ6WRAN4mgC/XSgZOu7A0V/hbdMEB77gMxvy Kb1d/fIljOaxt8qBTo6BJuk4lWVlhn3hIz12T7Ljhte8zCK89DkJci4l1jMjD7ilOlah lXQTziHc1mNy1BjosRWvtCVibpU6dVnez04xdDyPq16l1o/8YLyJcV4zMbumRCmjttep aaKV3n6yty86JgA47q2+IGzLjtHyBuF45r79+ffPlwnxYMOCMLebD6vV6TqvjK50elrZ rVVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677936478; 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=a/RYmnwCu18aIYaj6lw64sU1EXpG38sGCKjbpOsXfEA=; b=Pqfe11y9W14v326r5bh+EyP+zq+E+CYziIAwCl7dPDtNmkekP/gx5LdnBLc1lgaQpb KmiZouB3BXayYeBP+JEde84cI7KlMBJ75nep6ENiUtgQMqIVkJQEmMjz2ian4oVnbGgR VY4Azc+vL5fLQhtBqYA7erZom9TCtq5xgMD2t7YhyjbSeD2yuzfY5VuQ0yZGeItllRbJ zU73pBuIt0HRMWNMSOFjKgfmV/7GbUrVLORiagLnUl9ywmhyeBn5pbycePrqFqMoznKp /K932XR+eCpnGpGKBhrHLruagRGl0eUlQ08FC8KYC5Z/3y5kxKOb167S6R5EUdwXOgF1 oIHg== X-Gm-Message-State: AO0yUKU9njd8T1D4y4GgrMOK7AO6e4Abl0t59ml4BKexayA8TnY/RG1w E+v07VkLwhqLQZHSx2zlvOyzng== X-Received: by 2002:a19:c209:0:b0:4dc:537c:9229 with SMTP id l9-20020a19c209000000b004dc537c9229mr1587929lfc.30.1677936478739; Sat, 04 Mar 2023 05:27:58 -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.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 05:27:58 -0800 (PST) From: Konrad Dybcio Date: Sat, 04 Mar 2023 14:27:49 +0100 Subject: [PATCH RFT 14/20] clk: qcom: smd-rpm: Add keepalive_clks for SDM660 MIME-Version: 1.0 Message-Id: <20230303-topic-rpmcc_sleep-v1-14-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=779; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=Rb3QVu+NO31acEP29f3lE6nekr2heNfaQYlZU4A+bEc=; b=9bPgW8Ir6yVRwUGSc/35oIyuUGCsCSDL2Idq3MSYvOrTOZPZGOUaZqnzw5AivwnTNJE43pP8OfLX cxob95m2CUtfKHkyqR0/hqK/0uKAKrS9ZRe7tXSSr7SON/Ga7lt0 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?1759445179219249781?= X-GMAIL-MSGID: =?utf-8?q?1759445179219249781?= SDM660 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 6649f13c741f..7e1814f606e9 100644 --- a/drivers/clk/qcom/clk-smd-rpm.c +++ b/drivers/clk/qcom/clk-smd-rpm.c @@ -1042,6 +1042,8 @@ static struct clk_smd_rpm *sdm660_clks[] = { static const struct rpm_smd_clk_desc rpm_clk_sdm660 = { .clks = sdm660_clks, .num_clks = ARRAY_SIZE(sdm660_clks), + .keepalive_clks = cnoc_keepalive_clks, + .num_keepalive_clks = ARRAY_SIZE(cnoc_keepalive_clks), }; static struct clk_smd_rpm *mdm9607_clks[] = {