Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp861845lqb; Wed, 29 May 2024 12:48:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXUR3/yKQjKxJxr8T9BsQ6r6cxrvupfADAw6ueGjTYIkWm/Qo8+G5L/mWFytUSSoVrJs6eyH7Yq+lzMEgva2SH3gWx7rF+KVbteFeSCIg== X-Google-Smtp-Source: AGHT+IGd27BSJBbGWMjqQBubyvsAiswzRneTCNwtW0x3Bzk8Q2c4r9jy46ZDTYM0e3CaXyeb0g2D X-Received: by 2002:a05:6a00:4c8b:b0:6ea:7468:1f31 with SMTP id d2e1a72fcca58-6f8f4192550mr18360021b3a.30.1717012103566; Wed, 29 May 2024 12:48:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717012103; cv=pass; d=google.com; s=arc-20160816; b=XW+jB6iNiDHT8seThoOUtUkvPZxaXWzBJCDV2VCYXcAXLwotf9EqWTCMP4KuAHOQbw Tx0cmRJkW533x5E+BY4nXj0TvLKn+pHqwaFGgQzmhPqFoM3HUC0E2ztp0hiBsi4Zu1kA pJgZJnJLjUhGjqbbXPBExGEb6FbtzcpsCGYGwbZjEtwLG2iOZtO70ACemnXt7fN3svcv WzjTkAdioI2IkjlFpL/PujJhBltm++SG10KpEkWlaDNRvUIjFOTIIzzLvg7fHyVYMTMq csSTTZMfPHK3NPtYofpuUJ2L8LDfPR1KH6VdiTpiRR1ExDXWYZMBclDc9t9/up98v9L5 hRrg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:date:to:cc:from:subject:references:in-reply-to :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:dkim-signature; bh=WRLhf6p8oAbszYs8CkKUxbrhqWsapHZ2NfH/PmOS0yM=; fh=Eq3ECM6e2TzaaEPgrXiBnBrW4Kn/XHJ3FCLA5mKWTTM=; b=0BHWSz3c1hp4msMxbQIZncnGNf0MfDxj+OMN7vGlBwCteoMkve6c6FkXyBsgA8KWKk b/LPKqootl/EDh9YOr69z5veH5r9V538Fwz8Vp4NLmSyV48qjmxkHccZm1HpDBZm8xqo Q96zEpWbgThZgy4FvGl7QYv4aBtCj8/UdH82+SP1Q2IVa0e3d2jGuieWWN4edHdZja4K +r4svc54Vbl1gpvuDXC1ifX44ym6AE8RvhBKwKVSWcv1+0mUR0+mn0E4MEUlYCArtFEh ZPfurqIoG0EfiPU2wiKxSDeFqsw2GwiTBVNavTkwzcNI/mNWBZn59y2V/HTCXqxq+rQE XTsQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TLIfSfyz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-194621-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194621-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6822c5627cesi10796777a12.879.2024.05.29.12.48.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 12:48:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194621-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TLIfSfyz; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-194621-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194621-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 378AF283AB4 for ; Wed, 29 May 2024 19:48:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B98221C6884; Wed, 29 May 2024 19:48:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TLIfSfyz" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D14AA1C2329; Wed, 29 May 2024 19:48:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717012096; cv=none; b=LsTTSLmxEuGnDZ4SwiHn0BkYZ6wfLIGAxc5Dn2TQg14IXUDlx+8UDijISPSnfJ9wN+t+oILWxTNl9QqbWU8s7rwtIduaNov2XpPekcdp7uZpozFT+nYRYJW1XIo3p+J5qiqLzz/DV9NC1Vcp909WU5TMiquk3R6YvIi9bNp8u8g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717012096; c=relaxed/simple; bh=qWhEwAr6AYrSEXs8Gky9nRQSfZTamh+Ys9gijsMJcIk=; h=Message-ID:Content-Type:MIME-Version:In-Reply-To:References: Subject:From:Cc:To:Date; b=ar3waaQHaUx+uIGPk9XtGNK4SbrrDhPG4nml+b/Qiosrk8nTTSOmaBLrKYjB8Qb/NywBG0+8+6z31nMVw6Crqax1CERl+GArDWLAvOwE7ITCJmL2ADe9Cz6VpkKzlWbhuxVWZWRumJ0T8UmqX93bmAGoP8Gg5uReh+iZrWrWlLE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TLIfSfyz; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3CD0BC32781; Wed, 29 May 2024 19:48:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717012096; bh=qWhEwAr6AYrSEXs8Gky9nRQSfZTamh+Ys9gijsMJcIk=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=TLIfSfyzl/LE6/dXyGaWYNyxHPf99UPq9vGHjqcf4Xz+vTTQgX7DnBaKkN4hF7pb0 VXrW8fvC6x5GHZGpAkeyktSF2Zyxpdi5GTrwFIFFucAj8Ay1uOnMKVRoJgzi0S7bNL 1gQYp+E4Ee5ggdsvZcRzle1QikxlECZ+OZW/eXhZOQk1L91uSZhvYFeLpHz9Q21jYE wPa5ms2oLOz2eEF9e5diQhElr3D8ll0tEU22hCZvH+RcmU4cP6WW8eb95zLZ47XVWj /0BSsvItSDZ4Bbtm3Uc/d4YL0QIi8Hx/k0yZx7aIqNJmqxxIph0E5Qb6i3qZEeoshL AeJET7CYsl9Xw== Message-ID: <63d35ddacc113598f1822486b882552a.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <20240528114254.3147988-1-quic_ajipan@quicinc.com> <20240528114254.3147988-8-quic_ajipan@quicinc.com> Subject: Re: [PATCH V3 7/8] clk: qcom: Add GPUCC driver support for SM4450 From: Stephen Boyd Cc: Michael Turquette , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Vladimir Zapolskiy , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Taniya Das , Jagadeesh Kona , Imran Shaik , Satya Priya Kakitapalli To: Ajit Pandey , Dmitry Baryshkov Date: Wed, 29 May 2024 12:48:14 -0700 User-Agent: alot/0.10 Quoting Dmitry Baryshkov (2024-05-28 06:23:27) > On Tue, May 28, 2024 at 05:12:53PM +0530, Ajit Pandey wrote: > > Add Graphics Clock Controller (GPUCC) support for SM4450 platform. > >=20 > > Signed-off-by: Ajit Pandey > > --- > > drivers/clk/qcom/Kconfig | 9 + > > drivers/clk/qcom/Makefile | 1 + > > drivers/clk/qcom/gpucc-sm4450.c | 805 ++++++++++++++++++++++++++++++++ > > 3 files changed, 815 insertions(+) > > create mode 100644 drivers/clk/qcom/gpucc-sm4450.c >=20 > [trimmed] >=20 > > + > > + /* Keep some clocks always enabled */ > > + qcom_branch_set_clk_en(regmap, 0x93a4); /* GPU_CC_CB_CLK */ > > + qcom_branch_set_clk_en(regmap, 0x9004); /* GPU_CC_CXO_AON_CLK */ > > + qcom_branch_set_clk_en(regmap, 0x900c); /* GPU_CC_DEMET_CLK */ >=20 > I pinged Stephen regarding these clocks. LGTM otherwise. >=20 Looks OK to me. I assume that these clks don't get turned off when the GPU power domain is turned off. If that's the case then presumably we would need to turn these on and off during power transitions.