Message ID | 20230531-topic-sm61125_gpucc_flag-v1-1-f59dd1350781@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3119359vqr; Wed, 31 May 2023 12:17:44 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ72iCxi315/E+lmrNtOnIdG28n1waeAPtb1VlNTTZmnjdHlUMXZPTFhBIZTC5AWBo97q/e+ X-Received: by 2002:a17:902:e846:b0:1b1:9463:79d2 with SMTP id t6-20020a170902e84600b001b1946379d2mr691734plg.38.1685560664346; Wed, 31 May 2023 12:17:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685560664; cv=none; d=google.com; s=arc-20160816; b=GlD6nW+Tv6iCD3Cz9VYZ+etF4zkx2SRiUA5HPrG7MZG22Tsx4V0Lj58wBv9ZOgoswQ tq+j4PgxZZjst2gRd5SNHkQJDaIkwTiS/ZAwS+L8E38bdIGyEOrJU3EtPmsG4SHD3SOg UWmM1wAS1WogRgStLrWn+9yga2J/eyhsLE8A0tBkLSsOvz2PkIIj4X/UHcLK5KLavNj6 DYd+rhJbEmeysozYQbDqaGjfAJ2mdfhs1lFUJcDaTJ7awYcpQNd4gXg0wN3ZdOUzAG6r byyCzWMX2qEPKy6JnqsxrCLRZy7HfOGSjmET1TQ6a82gIKgoj317DKejNg1TFG6c2xt7 9tSw== 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=f02QY76Z/zUTOa1xNejn3ObrxHG/cUW3iNC9INehNrQ=; b=UFnYIVWRPR1SY7Y1yAn9vtXD5kXYIgIz5LPPLIvF/fzXNwaBCdJhTEu34MbMv2X2n7 lEe4dKZFRl55Sui5KYipbk8uix9KxAj/67gVf4AwePpeMIvi+mJNov7NOGDYpdA+w8mr KHjY1FnztSX2sjuSVK7l4m2tDPYEp3Q4x7bkgREZ6mFbUACKk0Knf4UhC/osn3c6yR0Q gb1xGpKWpkMf58U515pmr7/aDexlo6ldKHtT9NJx7K8QAcC4hPMcQXzQUuFHhrZgWKZp 4cW31vgDnEs4H0W7tIt26TE545xp5aCjmPlAGW86ErFjApaJRCAQIlJRNe254J4BoiUE xsgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lfwJASpo; 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 y2-20020a170902ed4200b001a50dcd10c2si1349527plb.247.2023.05.31.12.17.30; Wed, 31 May 2023 12:17:44 -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=lfwJASpo; 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 S229991AbjEaTIa (ORCPT <rfc822;andrewvogler123@gmail.com> + 99 others); Wed, 31 May 2023 15:08:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229778AbjEaTIY (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 31 May 2023 15:08:24 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C528E133 for <linux-kernel@vger.kernel.org>; Wed, 31 May 2023 12:08:17 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-4f3b314b1d7so6913049e87.1 for <linux-kernel@vger.kernel.org>; Wed, 31 May 2023 12:08:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685560096; x=1688152096; 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=f02QY76Z/zUTOa1xNejn3ObrxHG/cUW3iNC9INehNrQ=; b=lfwJASpoWgSiCFGPDsFHmQ6GaK8QnkCBkuXKWCjuHNenzhWgHpkehKR+9ucBFRfOn4 g7Ag3VLHoezLPz/RJdUnnLmEcTqZW58sWVuMXpRcs6XqLPk+7FRnb2hPqIel3wIF5OI3 2cK7M4NkMtd8nAUMdR9mJvw3UPjjejftEqMDo/uXClw6mu/I25Ozmu4Q1Xhy/T9PoReV NXcTH0SoJoGZ2xZu1HQnLU/Is8ir+7hfwhelkM7+RLSSpGytqT1djL9slGrFvwjp0Zvu 6cQNLujKKUxCN6TRzvYGSjf95BIVLDdmPCaKtjegJ2bFWG24cCUSCAprGHT5hoXmj9uT BTTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685560096; x=1688152096; 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=f02QY76Z/zUTOa1xNejn3ObrxHG/cUW3iNC9INehNrQ=; b=GmBKZhprygNlUyVbqOILsLLKnOe1n2Pk/NQtMCedKG3jKk5oI7rvR/JSi17lojquac 7Ujr/wyYsdVhzDBtHO4EGf2GK8+7bagviwwzUdMj8Wf6VwxnIP497h8gPs9qxR+9vWTW mH2K4SdzOkbuwtVuLcNe5Sbn09L2qlhtzGFW8Q0X1pO5FOU/XVr8u2nKpzkm4SzUbs+/ GyFDuVd5O3CUmA7aCAq1525nLQfSB3sO2hrJQDh9cISKoj/J3webJcVd1Uaw8x8Lz8mv C6e2qe4HhhgxHAFBEOESX6M2HzsIzwgTPLaOIXmB8Fp7r5+by/5Ag5QUUFrv3Ut5SWm9 K5kQ== X-Gm-Message-State: AC+VfDwwlC63mIkd9H3lWvyBFujO/ITUWPjD7w2GaA1z2k5jTiU++CbB XrkbnaFZ/8HkyYlqOh9Ch0iYkA== X-Received: by 2002:ac2:5ddc:0:b0:4f4:b0a5:b583 with SMTP id x28-20020ac25ddc000000b004f4b0a5b583mr3580446lfq.44.1685560096083; Wed, 31 May 2023 12:08:16 -0700 (PDT) Received: from [192.168.1.101] (abyj77.neoplus.adsl.tpnet.pl. [83.9.29.77]) by smtp.gmail.com with ESMTPSA id i7-20020ac25227000000b004f3b4d17114sm820935lfl.144.2023.05.31.12.08.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 May 2023 12:08:15 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Wed, 31 May 2023 21:08:10 +0200 Subject: [PATCH 1/2] clk: qcom: gcc-sm6115: Set up flags on GPU mem_iface clk MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230531-topic-sm61125_gpucc_flag-v1-1-f59dd1350781@linaro.org> References: <20230531-topic-sm61125_gpucc_flag-v1-0-f59dd1350781@linaro.org> In-Reply-To: <20230531-topic-sm61125_gpucc_flag-v1-0-f59dd1350781@linaro.org> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org> Cc: Marijn Suijten <marijn.suijten@somainline.org>, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1685560093; l=935; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=4kKahsZ/nvnpLCXGAaKSzL7oy0Wb/A5ayZLZEPcyD54=; b=g8S0eA3PdUUp/URNqKIbLRwTlcPsp8wU2H0Ay4KWhYCQRtRkScbVjOA34PyKfKittYEa37u9y +vbv/CBl9MYB4O4h0w8oZyxEzErHFma5wPxp/UzkUERC46+k5chxKK+ 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,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767438459225605871?= X-GMAIL-MSGID: =?utf-8?q?1767438459225605871?= |
Series |
(no cover subject)
|
|
Commit Message
Konrad Dybcio
May 31, 2023, 7:08 p.m. UTC
Following the BSP, disable the RETAIN_MEM and RETAIN_PERIPH bits on
gcc_gpu_memnoc_gfx_clk.
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
drivers/clk/qcom/gcc-sm6115.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/clk/qcom/gcc-sm6115.c b/drivers/clk/qcom/gcc-sm6115.c index 5f09aefa7fb9..b8454e1f3e9d 100644 --- a/drivers/clk/qcom/gcc-sm6115.c +++ b/drivers/clk/qcom/gcc-sm6115.c @@ -3504,6 +3504,10 @@ static int gcc_sm6115_probe(struct platform_device *pdev) clk_alpha_pll_configure(&gpll10, regmap, &gpll10_config); clk_alpha_pll_configure(&gpll11, regmap, &gpll11_config); + /* Set up no PERIPH/MEM retain on the GPU mem_iface clock */ + qcom_branch_set_force_mem_core(regmap, gcc_gpu_memnoc_gfx_clk, false); + qcom_branch_set_force_periph_on(regmap, gcc_gpu_memnoc_gfx_clk, false); + return qcom_cc_really_probe(pdev, &gcc_sm6115_desc, regmap); }