From patchwork Sat Mar 4 13:27:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64218 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp923812wrd; Sat, 4 Mar 2023 05:33:32 -0800 (PST) X-Google-Smtp-Source: AK7set8jDZ8Ac6sqoZzVPHir72uRtLsQroJjTjTEOYkO8oeNV6hYDuqa6xNZjMIEaSnDHm6rrDWR X-Received: by 2002:a17:902:e801:b0:19a:b4a9:9df7 with SMTP id u1-20020a170902e80100b0019ab4a99df7mr6123105plg.53.1677936812584; Sat, 04 Mar 2023 05:33:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677936812; cv=none; d=google.com; s=arc-20160816; b=MWvkJi3hMBhkM2ydjs2k/PPOtdyCP11niM+KeyQiR1d/+EBhbyecu09H1IVadG4Lu0 sEJhM7mePIue4RIFUIV8IYyYORTGYTxFqRZ9+TmOT5o90oHvi3hCXTcgpAfmKC8vZCfM Gsj9pQr/oHinoGzUuqk7Yv25f7BaBrikzVhQsDU46G/iipEfFj+kU+TgxoGxpGmhQ/7s FzqNfg4bsZSA5NXS9sjp0dmisgVwNcYVDI2HpDkdv+hU1AYE7BuDpzjqoIcWcsimNLDE lDEomOR621m9vf3jn0qg+i+dWEeqkkQPa0BXanUvpgXqTULNy6obnk4h7dqEp5rFYU05 /a5A== 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=uCdcLmpO8Goo5antdKGZz8iakSfWM1kJytihOCcOfRQ=; b=lsqybYPTD6QHiWsEbQrxo2bjObo62nVjEYsTv6ULaOG1e/tML13IghNq15o7hbXUsu FFiwDPGBkLPsZKxm6l9zFj8BKNw4tBJQnKga3QY/uEeCV/T+5NNwBj0gsHR2UXJgeqxW 1JLCgTjXfPd8svSq2Vt+P/C8wvoPLZledmD6iXnvJxpqezY+jGw6o8EUG4rdHyuiuMAn 6fQ7emFT2ZAsuiqdR4Zi7uut62k2ReRSa/8WdApgEKfyb+6/57xJeU8BaNc77zmqzwj7 3MO9KB3V9jl/uur1k0bmGUWF6OtTse8HGlONLBjiJaoE5DXJ3X9+5EwMKmiINPSrpubo SiZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="DOmDM9/f"; 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 f18-20020a170902ce9200b0019e4154578esi5296073plg.76.2023.03.04.05.33.19; Sat, 04 Mar 2023 05:33: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="DOmDM9/f"; 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 S230012AbjCDN3G (ORCPT + 99 others); Sat, 4 Mar 2023 08:29:06 -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 S229968AbjCDN2k (ORCPT ); Sat, 4 Mar 2023 08:28:40 -0500 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FF197AA1 for ; Sat, 4 Mar 2023 05:28:04 -0800 (PST) Received: by mail-lf1-x136.google.com with SMTP id s22so6999478lfi.9 for ; Sat, 04 Mar 2023 05:28:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677936483; 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=uCdcLmpO8Goo5antdKGZz8iakSfWM1kJytihOCcOfRQ=; b=DOmDM9/fyLhGzRVp1KKPof75BpVZrrV9KAjfRqZPHf8qDcPhz0Esu1aTYdI3cDjtFD zq9nK7XbZ32EyWSlRQ5sUnXn/qJaiQtHwstmAcSKcDjCH13gf+ov1Kdz+PE6Zjjuq/bz wMGQ8JO2Goq/t34EwkpTg4UBNz7rMM5GaSXG7zvb9h5LUBSv0luC8yP+NIHFilwtCASP ykXlOF4ZLg309/jpnDATp8OYMMoK0uquz2R8+GaI3zs2iQSluaWcCmZgukh6TVR44BD9 LleEEqs8oPpPOVZjNLD9eKeIFmrYNMC13tRYfWVYEKnlkAaEZqZo5A9P1CAdpknhDKYe CkYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677936483; 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=uCdcLmpO8Goo5antdKGZz8iakSfWM1kJytihOCcOfRQ=; b=pKTM38iwTa87nIhBBoEO36DGMI8/aSWWQJMFz1U+HuHj6TEhiuYxdVyc0Xs7bfpuPD GDhz2wHjc5oREEZgU5aOPzTFgxc07HTn4n2YlCExSJRCUuV/3LoQYXf1OkPzRM6unOWW MDCBu1FRrwDvITnuxmkBNHRkbXgpVB6C/D1eIsHsZbCfOWVT1M6LqvRpGzPhw86ruCXS zKlFLiu319pmUMz/8EywiqSrW/hMS8SAaB3evZS0t3FMAY55NhR+dHtXpXWLdZRqD5PE YZ+Z4BihD6grsIGfSXr5n1mLOxQ6OUzL4/eV7dfibkCp42LlqNzeud+KC7wpCQwdX+uh XolQ== X-Gm-Message-State: AO0yUKUvferd/HAS/cO11DgmCf06qOosX1Twv9/VzhQgPAhWfz4SWGnE wB4iI9YOHiiQyZya/hePjPOZXw== X-Received: by 2002:a19:7406:0:b0:4d8:5e8e:b138 with SMTP id v6-20020a197406000000b004d85e8eb138mr1424745lfe.14.1677936483796; Sat, 04 Mar 2023 05:28:03 -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.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 05:28:03 -0800 (PST) From: Konrad Dybcio Date: Sat, 04 Mar 2023 14:27:54 +0100 Subject: [PATCH RFT 19/20] clk: qcom: smd-rpm: Add keepalive_clks for QCM2290 MIME-Version: 1.0 Message-Id: <20230303-topic-rpmcc_sleep-v1-19-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=815; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=8naJyecqQklf10++bIijL/ZoCGk8UDKNEUfnObmFBi4=; b=4Jh2Uh7XT953o0LPAYr592Sss349Om2Ubjzd+BJSR0KFRot2Om2JqQftiChbwDlsUej8sRYyrajE 8jw1K7fZCNu0uv26MLk3lN4DKcVBhMq5H7l06wsoxjI3Yp4dtZr7 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?1759444271591465103?= X-GMAIL-MSGID: =?utf-8?q?1759444271591465103?= QCM2290 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 c3ab882de7ff..2d0efe2cb1f5 100644 --- a/drivers/clk/qcom/clk-smd-rpm.c +++ b/drivers/clk/qcom/clk-smd-rpm.c @@ -1278,6 +1278,8 @@ static struct clk_smd_rpm *qcm2290_clks[] = { static const struct rpm_smd_clk_desc rpm_clk_qcm2290 = { .clks = qcm2290_clks, .num_clks = ARRAY_SIZE(qcm2290_clks), + .keepalive_clks = cnoc_snoc_keepalive_clks, + .num_keepalive_clks = ARRAY_SIZE(cnoc_snoc_keepalive_clks), }; static const struct of_device_id rpm_smd_clk_match_table[] = {