From patchwork Mon Jun 19 16:13:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 10992 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3128739vqr; Mon, 19 Jun 2023 09:47:25 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6tr6U+Hr/c6J3ifIIYyMVFO8xjg8v92ukzoAqiqwIG597VWNbK3h6Ol5l0dy9XaWWRWTQU X-Received: by 2002:a05:6a20:432a:b0:115:5910:c82d with SMTP id h42-20020a056a20432a00b001155910c82dmr1284701pzk.43.1687193244842; Mon, 19 Jun 2023 09:47:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687193244; cv=none; d=google.com; s=arc-20160816; b=cInH0JRCAcxwYnNmrKE0LyrJ1JMYUXt0pbzJgrvrf8+r5GWr1NBwv0pogJqFhgi9aa 9JciQlkjT9T9Fmsmq/qcOeh5gdghU/0mOCKZ/LF3DWAw5uDK0dmPR8VxMP7vHYeYvaEw GTak0qQ7aAOj4n7fJpznNlXhDuho7MUzAyZCT1fcXhRZBjAy4QuQ21wFZITNka996Mf0 8Nrac5EmDBKVZAl8IfpguA6r7YK1TVrY5dIPTpa/n2M1wDYqokgBjzC7uPoUdoA66wma mApHDpUYikoIPY581YEMPdKN1/h1ctP+bA7kC32spUkhOP1Bgy7XNmQn3yFrzOfjJ3ai iBZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=ZdJyfM0wQbXVorPTo/xhbHvwBGV6R1GO0tiAajjVkTc=; b=TDUVeaLVznS5wxl5MiqDbFVc/AOV5PHnZBhGRR6kWjqqQOS16lOcHS1vtFFR77DPL+ QxxZXNrb98sZYD16Teaoyn/lXnjPTIczkEd8jqqbZPqVfpwwIGNc1GzN2LcOUhIDZ9GY UAgPKr5m1lyGEy1m1t4oOqFwH7hBQr2EPIvSrm+Y/g5q0iycQdm7/Cx0lwTt1Aqz6gn7 efwcHaRFIwM+RJdGhiAl0YEblQ2uLKIJ5Q9PClwAw2YZBDlvaUUdPauv+3I3quoMzokQ KO1eBz5p6Azolh+RyUAhSlVQeyjkaAYyN+3kgzILOw1COb7qY+opSvIbYvwWsHcTXwST NUDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GJ6cOZ91; 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 h6-20020a056a00000600b00666b8536d8asi5163612pfk.305.2023.06.19.09.47.12; Mon, 19 Jun 2023 09:47:24 -0700 (PDT) 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=GJ6cOZ91; 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 S232165AbjFSQN1 (ORCPT + 99 others); Mon, 19 Jun 2023 12:13:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232016AbjFSQN0 (ORCPT ); Mon, 19 Jun 2023 12:13:26 -0400 Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E29F3C1 for ; Mon, 19 Jun 2023 09:13:23 -0700 (PDT) Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2b455855fb2so48831231fa.0 for ; Mon, 19 Jun 2023 09:13:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687191202; x=1689783202; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=ZdJyfM0wQbXVorPTo/xhbHvwBGV6R1GO0tiAajjVkTc=; b=GJ6cOZ91sa5wua2rUcyeQ0M2MJI+XPL9FfWQmkX0F1URArzw2jzsibCA3VVVsfRju0 BYEzsgEbbxZtBa8kZM17Fo8qhzDvnlH9+fL6zGk0toceoLIxcgwRx77AAJ9kuQgv6wn/ D6G6sWMJxT/nimw5A5ciI6shRZzZVMk3DUq9+GTsPD8CtBshrUn2pXtd0zNvY/gm4tRT FZW5b92KH/lfRH/IieMylKY63mUKF7mYIm00SUBt3bAHZF/1VRqh0OsPwnlAsk+l5nqB yBpYJyEN4m5i/JuSQL3ecdSWbEZOLUqLLGL3fbcxbzlr8zQ8IpoyakdWAsNNqO5/8zb3 MBfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687191202; x=1689783202; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZdJyfM0wQbXVorPTo/xhbHvwBGV6R1GO0tiAajjVkTc=; b=JcEE55aqgh+RTZtqza7mxyimahSOX/AUfnfhSFF5E6SYdE5KlRsCZ6mdjm7PpAm920 Oa7ej5jZZMRvkFAuuty9l+4+hsI6hQQfxKa0+/FhOWVfVRxoTRR1TEXy/oYhyAnwUTSf xrZEEGqSyxwEcFFUkGQ83Vde1HyQlav4U491Kz928rTEr2DqvAApO7rpwA9AjEqnP8pW 0TC3PhK+vwLnxLCzk+z7eYLi58LNlndabccx3QFzKLZuEPVAj+tWTHkm4Q0VtMUYyQQ8 y2nId0RGEKuEJ7IWwrUgJwX25hKd7LbXbLVATCxo1rZ2objROQba8vc/ZT3oFLWEsICx ZnfQ== X-Gm-Message-State: AC+VfDxjWNWCvXbXhsrXl1LpPn7wKaEreZTSDoz1lnR44s/ZPJAdH8v4 28iEfhY9MeaElyS4HxHYXHS15g== X-Received: by 2002:a2e:9f54:0:b0:2b4:479a:aaba with SMTP id v20-20020a2e9f54000000b002b4479aaabamr6051054ljk.19.1687191202175; Mon, 19 Jun 2023 09:13:22 -0700 (PDT) Received: from [192.168.1.101] (abyl242.neoplus.adsl.tpnet.pl. [83.9.31.242]) by smtp.gmail.com with ESMTPSA id x20-20020a2e7c14000000b002b471efb253sm1011714ljc.46.2023.06.19.09.13.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 09:13:21 -0700 (PDT) From: Konrad Dybcio Subject: [PATCH 0/2] SC8280XP clock runtime pm Date: Mon, 19 Jun 2023 18:13:16 +0200 Message-Id: <20230619-topic-sc8280xp-clk-rpm-v1-0-1e5e1064cdb2@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAJx+kGQC/x2N0QrCMAwAf2Xk2UDWoVR/RXzostQFa1faKYOxf zf4eAfH7dCkqjS4dTtU+WrTJRv0pw54DvkpqJMxOHIDXforrktRxsbeedoKcnphLW+c2NPgzpF CjGDxGJrgWEPm2fL8SclkqRJ1+9/uj+P4ATBEOaB9AAAA To: Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687191201; l=659; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=6t4hMp1VbI7Kk57kUEUY0uBWHVgMinJG5qAuxHi3rEI=; b=OmHWFgsr/nCvi5E1fj7GlkSK0nx2BNJNlkssqEyX1dGu617b4n32KYICXInHl8DsUnuAGb9LD Q4PkgKAliFHC9NVaqmsYrEzsLVsCkQli+uZXIuLo6iGYbQjLKnyDHCF 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,T_SCC_BODY_TEXT_LINE 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?1769150343734960263?= X-GMAIL-MSGID: =?utf-8?q?1769150343734960263?= Keeping power domains always enabled hinders power efficiency. Add runtime PM to 8280 clock controllers to prevent that. Signed-off-by: Konrad Dybcio --- Konrad Dybcio (2): clk: qcom: gpucc-sc8280xp: Add runtime PM clk: qcom: gcc-sc8280xp: Add runtime PM drivers/clk/qcom/gcc-sc8280xp.c | 18 ++++++++++++++++-- drivers/clk/qcom/gpucc-sc8280xp.c | 19 +++++++++++++++++-- 2 files changed, 33 insertions(+), 4 deletions(-) --- base-commit: 47045630bc409ce6606d97b790895210dd1d517d change-id: 20230619-topic-sc8280xp-clk-rpm-dc80325f0aff Best regards,