Linux clock framework development
 help / color / mirror / Atom feed
From: Mike Tipton <mike.tipton@oss.qualcomm.com>
To: Vivek Aknurwar <vivek.aknurwar@oss.qualcomm.com>
Cc: Bjorn Andersson <andersson@kernel.org>,
	Michael Turquette <mturquette@baylibre.com>,
	Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Taniya Das <quic_tdas@quicinc.com>,
	Taniya Das <taniya.das@oss.qualcomm.com>,
	linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Subject: Re: [PATCH v2 7/7] clk: qcom: Add support for global clock controller on Hawi
Date: Mon, 27 Apr 2026 08:05:14 -0700	[thread overview]
Message-ID: <ae97Kh8kAIDOs15l@hu-mdtipton-lv.qualcomm.com> (raw)
In-Reply-To: <20260409-clk-hawi-v2-7-c7a185389d9a@oss.qualcomm.com>

On Thu, Apr 09, 2026 at 01:51:41PM -0700, Vivek Aknurwar wrote:
> Add support for the global clock controller (GCC) on the
> Qualcomm Hawi SoC.
> 
> Reviewed-by: Taniya Das <taniya.das@oss.qualcomm.com>
> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> Signed-off-by: Vivek Aknurwar <vivek.aknurwar@oss.qualcomm.com>
> ---
>  drivers/clk/qcom/Kconfig    |    9 +
>  drivers/clk/qcom/Makefile   |    1 +
>  drivers/clk/qcom/gcc-hawi.c | 3657 +++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 3667 insertions(+)

[..]

> +
> +static u32 gcc_hawi_critical_cbcrs[] = {

This should be const now since qcom_cc_driver_data::clk_cbcrs was
recently made const.

> +	0xa0004, /* GCC_CAM_BIST_MCLK_AHB_CLK */
> +	0x26004, /* GCC_CAMERA_AHB_CLK */
> +	0x26028, /* GCC_CAMERA_RSC_CORE_CLK */
> +	0x26024, /* GCC_CAMERA_XO_CLK */
> +	0x9f004, /* GCC_EVA_AHB_CLK */
> +	0x9f018, /* GCC_EVA_XO_CLK */
> +	0x71004, /* GCC_GPU_CFG_AHB_CLK */
> +	0x7101c, /* GCC_GPU_RSC_CORE_CLK */
> +	0x67084, /* GCC_PCIE_1_RSC_CORE_CLK */
> +	0x43014, /* GCC_PCIE_LINK_XO_CLK */
> +	0x6b088, /* GCC_PCIE_RSC_CORE_CLK */
> +	0x52010, /* GCC_PCIE_RSCC_CFG_AHB_CLK */
> +	0x52010, /* GCC_PCIE_RSCC_XO_CLK */
> +	0x32004, /* GCC_VIDEO_AHB_CLK */
> +	0x32028, /* GCC_VIDEO_XO_CLK */
> +};

[..]

> +
> +static struct qcom_cc_driver_data gcc_hawi_driver_data = {

This should be const now since qcom_cc_desc::driver_data was recently
made const.

> +	.clk_cbcrs = gcc_hawi_critical_cbcrs,
> +	.num_clk_cbcrs = ARRAY_SIZE(gcc_hawi_critical_cbcrs),
> +	.dfs_rcgs = gcc_hawi_dfs_clocks,
> +	.num_dfs_rcgs = ARRAY_SIZE(gcc_hawi_dfs_clocks),
> +	.clk_regs_configure = clk_hawi_regs_configure,
> +};
> +
> +static const struct qcom_cc_desc gcc_hawi_desc = {
> +	.config = &gcc_hawi_regmap_config,
> +	.clks = gcc_hawi_clocks,
> +	.num_clks = ARRAY_SIZE(gcc_hawi_clocks),
> +	.resets = gcc_hawi_resets,
> +	.num_resets = ARRAY_SIZE(gcc_hawi_resets),
> +	.gdscs = gcc_hawi_gdscs,
> +	.num_gdscs = ARRAY_SIZE(gcc_hawi_gdscs),
> +	.use_rpm = true,
> +	.driver_data = &gcc_hawi_driver_data,
> +};
> +

Thanks,
Mike

      parent reply	other threads:[~2026-04-27 15:05 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-09 20:51 [PATCH v2 0/7] clk: qcom: Add initial clock controllers for the upcoming Hawi SoC Vivek Aknurwar
2026-04-09 20:51 ` [PATCH v2 1/7] dt-bindings: clock: qcom-rpmhcc: Add RPMHCC bindings for Hawi Vivek Aknurwar
2026-04-10 15:54   ` Mike Tipton
2026-04-09 20:51 ` [PATCH v2 2/7] dt-bindings: clock: qcom: Add Hawi TCSR clock controller Vivek Aknurwar
2026-04-10 15:55   ` Mike Tipton
2026-04-09 20:51 ` [PATCH v2 3/7] dt-bindings: clock: qcom: Add Hawi global " Vivek Aknurwar
2026-04-10 15:56   ` Mike Tipton
2026-04-09 20:51 ` [PATCH v2 4/7] clk: qcom: rpmh: Add support for Hawi RPMH clocks Vivek Aknurwar
2026-04-10 15:56   ` Mike Tipton
2026-04-09 20:51 ` [PATCH v2 5/7] clk: qcom: Add Hawi TCSR clock controller driver Vivek Aknurwar
2026-04-10 15:57   ` Mike Tipton
2026-04-14 14:19   ` Konrad Dybcio
2026-04-09 20:51 ` [PATCH v2 6/7] clk: qcom: clk-alpha-pll: Add support for Taycan EHA_T PLL Vivek Aknurwar
2026-04-10 15:57   ` Mike Tipton
2026-04-09 20:51 ` [PATCH v2 7/7] clk: qcom: Add support for global clock controller on Hawi Vivek Aknurwar
2026-04-10 15:58   ` Mike Tipton
2026-04-27 15:05   ` Mike Tipton [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ae97Kh8kAIDOs15l@hu-mdtipton-lv.qualcomm.com \
    --to=mike.tipton@oss.qualcomm.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=quic_tdas@quicinc.com \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=taniya.das@oss.qualcomm.com \
    --cc=vivek.aknurwar@oss.qualcomm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox