From patchwork Sat Mar 4 13:27:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 64222 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp928448wrd; Sat, 4 Mar 2023 05:45:32 -0800 (PST) X-Google-Smtp-Source: AK7set+DAs1yIn6C2MpLNG7IacEVHVRftgt0CC+HblXuykmIa2OgEol2xVVfJ5F8NjNGTALDc2vY X-Received: by 2002:aa7:d684:0:b0:4ac:c68d:88c7 with SMTP id d4-20020aa7d684000000b004acc68d88c7mr4672564edr.0.1677937532111; 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=VEgLhTIqJS+7K16u93wHFuN6hy7JTUzZMBkWT4RaQwHQfUBh0CsUIuuMmjg9+ZVQu0 zfyc88SCo394YnyGd2X1m0fy2fwKYoQy3l+tSrDystwaSgN48RSH2yqRGkrWF1iBT/AT VQhyDyExrPkXOfXOcaMXrFT1bYev1GSIrHSdt6zXVcW8By7uWhjMd2/9XwWFi+QV5b3L Toc/9XJgCApqZmc84tCeDwLtMTK3F6FKeL8sr5ehzmjIkb8aUqn2EY6JDtfCKBtKq9un IPLjLN2bfslNZscn+/ytq7P/2++3f7quN7gSvm+4KclWYuAUv3NVEgHiPD5iuNTBRXM4 YOZA== 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=537z0uLmwOojkV7vbpXGz5uLHruDuKMlpd8Duz/xgq0=; b=F92mlx0vSvZ4qhKkd+GaVXkCekSDuN09OqyN1BL7LlCkOzrZQN7Dt37hl4wKw4B3Nn 06C1mAgyI/KXLbe5eXEhiFZW5cenPpB8mQnkaWbu8KnfZAWf1bCDGJ4GIW2KuaF96pOI Y3yFHCq2/U5STN9lNuA2gBRuvA2RJlxu4O1tZFXvnX9oJjR9KVGRPAf3XEpnu05t7nIF 9/NwtR4Utzb6O90WI++Y060emxhyBTjIqzyeyxp8dFT4Cvgb/ZOSAiFR7Rp7G9Wf/ux2 LbT7KI7uJpP2N+3fB0G92c9iI+sb/UZdfUuLp3I4+NNcE6Ukhcx9P/khLqNH00SjMiVT /uPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Det41a3e; 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.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=Det41a3e; 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 S229876AbjCDN2Y (ORCPT + 99 others); Sat, 4 Mar 2023 08:28:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229826AbjCDN2C (ORCPT ); Sat, 4 Mar 2023 08:28:02 -0500 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7980692 for ; Sat, 4 Mar 2023 05:27:54 -0800 (PST) Received: by mail-lf1-x12b.google.com with SMTP id k14so7022609lfj.7 for ; Sat, 04 Mar 2023 05:27:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677936474; 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=537z0uLmwOojkV7vbpXGz5uLHruDuKMlpd8Duz/xgq0=; b=Det41a3eucH7/YN0Rqps4kFQ2iOzYSRU4Fp6PLBEiSCdsPCAyvTjOCX5TALmBGs753 vO3vXdOy6bio1EZ8LvKeaidBhyMOpIgMPCbos54I3GNnAyQh6UbjqH573LF1JZX0wen+ 9yEXTUYvjgOxUkorNc1UM6MA2tBeej6Ctw3tU/WL67MzBZKaeugeHjgG2Oj8i690Fpt/ PmbPgbsJrCkZndPIX+b1ytiLNApKBXBN87QRWbxwvU0BrQEIZUwymYjDf9iu4Fzb9jnL otnvx0c9h4te+SjVOITdsgtb1vCS/0gvVWAPUy1IwT1YGuAPx12VR2FH/+sbSTV0TDHY yKZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677936474; 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=537z0uLmwOojkV7vbpXGz5uLHruDuKMlpd8Duz/xgq0=; b=NiyMkBTGx23SymEL0j8xwB+DhXF1AjG195Kto67Tek0z0pBf9dX3GgMJ5KqLSSk72p E7xqHKSOjczfOFdOdtCOsTpqwd37Fueicff/MV6O5ssomEDolYI4YcFwaWnWS5dyn8Fb 1uPuFGWWZzUnSl8qjNxnwh1l3Y6GQG0FCPupzBHtGXX0ZcAAa1Wb4uAFJo02BhPnhTqQ 5z4K+H/D3gVP+gQakNOhQgADrLmyhOnalxqQ+VMePaGcRg+JB22bfV1jG1juZzdqrqAX eBNbnKJgD1SW8fw+GLSHSfZXBDuVksDJ3GxK+3NFK/D/JRdkS7ECQWZVCua1Z5Iq5qzQ Wd0w== X-Gm-Message-State: AO0yUKVOZL8ST1OdiFlDAoGWqURZOQsNpvUc2PX+3tgRz1/jw2JsSgx9 lQxSA8fISvOV+p52NbZVJ4fjfg== X-Received: by 2002:ac2:55ac:0:b0:4cc:a107:82f4 with SMTP id y12-20020ac255ac000000b004cca10782f4mr1380783lfg.64.1677936474077; Sat, 04 Mar 2023 05:27:54 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Mar 2023 05:27:53 -0800 (PST) From: Konrad Dybcio Date: Sat, 04 Mar 2023 14:27:45 +0100 Subject: [PATCH RFT 10/20] clk: qcom: smd-rpm: Add keepalive_clks for MSM8976 MIME-Version: 1.0 Message-Id: <20230303-topic-rpmcc_sleep-v1-10-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=VMhd2HIENFYlcCni6Mim3NyGguSK/hOsSIVrkOLy6+0=; b=XtLlcfXHyYFrNA3wN/IrUTEYSMrCP9kRDDISBi7ktP0PcShPDOCnYOrTXPiFp//XfVnvMPNHdeJk sGUGvpkVBGsx3h2BwwOCz5ITwq1i6rd1jGoQmZ+JEQ08DbEAPVmX 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?1759445025669782646?= X-GMAIL-MSGID: =?utf-8?q?1759445025669782646?= MSM8976 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 a390ec3d6c01..f82576180fd4 100644 --- a/drivers/clk/qcom/clk-smd-rpm.c +++ b/drivers/clk/qcom/clk-smd-rpm.c @@ -722,6 +722,8 @@ static struct clk_smd_rpm *msm8976_clks[] = { static const struct rpm_smd_clk_desc rpm_clk_msm8976 = { .clks = msm8976_clks, .num_clks = ARRAY_SIZE(msm8976_clks), + .keepalive_clks = pnoc_keepalive_clks, + .num_keepalive_clks = ARRAY_SIZE(pnoc_keepalive_clks), }; static struct clk_smd_rpm *msm8992_clks[] = {