From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
To: Jagadeesh Kona <jagadeesh.kona@oss.qualcomm.com>,
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>,
Jagadeesh Kona <quic_jkona@quicinc.com>,
Konrad Dybcio <konradybcio@kernel.org>
Cc: Ajit Pandey <ajit.pandey@oss.qualcomm.com>,
Imran Shaik <imran.shaik@oss.qualcomm.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
Subject: Re: [PATCH 4/8] clk: qcom: camcc-x1e80100: Add support for camera QDSS debug clocks
Date: Tue, 27 Jan 2026 22:26:03 +0000 [thread overview]
Message-ID: <e43a2b67-4f58-4a8c-b153-d9e2ba303b83@linaro.org> (raw)
In-Reply-To: <20260128-purwa-videocc-camcc-v1-4-b23de57df5ba@oss.qualcomm.com>
On 27/01/2026 19:26, Jagadeesh Kona wrote:
> Add support for camera QDSS debug clocks on X1E80100 platform.
>
A little more detail here please :)
> Signed-off-by: Jagadeesh Kona <jagadeesh.kona@oss.qualcomm.com>
> ---
> drivers/clk/qcom/camcc-x1e80100.c | 64 +++++++++++++++++++++++++++++++++++++++
> 1 file changed, 64 insertions(+)
>
> diff --git a/drivers/clk/qcom/camcc-x1e80100.c b/drivers/clk/qcom/camcc-x1e80100.c
> index cbcc1c9fcb341e51272f5595f574f9cb7ef2b52e..7e3fc7aee854eee841176a1330f97dc91af91670 100644
> --- a/drivers/clk/qcom/camcc-x1e80100.c
> +++ b/drivers/clk/qcom/camcc-x1e80100.c
> @@ -1052,6 +1052,31 @@ static struct clk_rcg2 cam_cc_mclk7_clk_src = {
> },
> };
>
> +static const struct freq_tbl ftbl_cam_cc_qdss_debug_clk_src[] = {
> + F(19200000, P_BI_TCXO, 1, 0, 0),
> + F(60000000, P_CAM_CC_PLL8_OUT_EVEN, 8, 0, 0),
> + F(75000000, P_CAM_CC_PLL0_OUT_EVEN, 8, 0, 0),
> + F(150000000, P_CAM_CC_PLL0_OUT_EVEN, 4, 0, 0),
> + F(300000000, P_CAM_CC_PLL0_OUT_MAIN, 4, 0, 0),
> + { }
> +};
> +
> +static struct clk_rcg2 cam_cc_qdss_debug_clk_src = {
> + .cmd_rcgr = 0x13938,
> + .mnd_width = 0,
> + .hid_width = 5,
> + .parent_map = cam_cc_parent_map_0,
> + .freq_tbl = ftbl_cam_cc_qdss_debug_clk_src,
> + .hw_clk_ctrl = true,
> + .clkr.hw.init = &(const struct clk_init_data) {
> + .name = "cam_cc_qdss_debug_clk_src",
> + .parent_data = cam_cc_parent_data_0,
> + .num_parents = ARRAY_SIZE(cam_cc_parent_data_0),
> + .flags = CLK_SET_RATE_PARENT,
> + .ops = &clk_rcg2_shared_ops,
> + },
> +};
> +
> static const struct freq_tbl ftbl_cam_cc_sfe_0_clk_src[] = {
> F(345600000, P_CAM_CC_PLL6_OUT_EVEN, 1, 0, 0),
> F(432000000, P_CAM_CC_PLL6_OUT_EVEN, 1, 0, 0),
> @@ -2182,6 +2207,42 @@ static struct clk_branch cam_cc_mclk7_clk = {
> },
> };
>
> +static struct clk_branch cam_cc_qdss_debug_clk = {
> + .halt_reg = 0x13a64,
> + .halt_check = BRANCH_HALT,
> + .clkr = {
> + .enable_reg = 0x13a64,
> + .enable_mask = BIT(0),
> + .hw.init = &(const struct clk_init_data) {
> + .name = "cam_cc_qdss_debug_clk",
> + .parent_hws = (const struct clk_hw*[]) {
> + &cam_cc_qdss_debug_clk_src.clkr.hw,
> + },
> + .num_parents = 1,
> + .flags = CLK_SET_RATE_PARENT,
> + .ops = &clk_branch2_ops,
> + },
> + },
> +};
> +
> +static struct clk_branch cam_cc_qdss_debug_xo_clk = {
> + .halt_reg = 0x13a68,
> + .halt_check = BRANCH_HALT,
> + .clkr = {
> + .enable_reg = 0x13a68,
> + .enable_mask = BIT(0),
> + .hw.init = &(const struct clk_init_data) {
> + .name = "cam_cc_qdss_debug_xo_clk",
> + .parent_hws = (const struct clk_hw*[]) {
> + &cam_cc_xo_clk_src.clkr.hw,
> + },
> + .num_parents = 1,
> + .flags = CLK_SET_RATE_PARENT,
> + .ops = &clk_branch2_ops,
> + },
> + },
> +};
> +
> static struct clk_branch cam_cc_sfe_0_clk = {
> .halt_reg = 0x133c0,
> .halt_check = BRANCH_HALT,
> @@ -2398,6 +2459,9 @@ static struct clk_regmap *cam_cc_x1e80100_clocks[] = {
> [CAM_CC_PLL6_OUT_EVEN] = &cam_cc_pll6_out_even.clkr,
> [CAM_CC_PLL8] = &cam_cc_pll8.clkr,
> [CAM_CC_PLL8_OUT_EVEN] = &cam_cc_pll8_out_even.clkr,
> + [CAM_CC_QDSS_DEBUG_CLK] = &cam_cc_qdss_debug_clk.clkr,
> + [CAM_CC_QDSS_DEBUG_CLK_SRC] = &cam_cc_qdss_debug_clk_src.clkr,
> + [CAM_CC_QDSS_DEBUG_XO_CLK] = &cam_cc_qdss_debug_xo_clk.clkr,
> [CAM_CC_SFE_0_CLK] = &cam_cc_sfe_0_clk.clkr,
> [CAM_CC_SFE_0_CLK_SRC] = &cam_cc_sfe_0_clk_src.clkr,
> [CAM_CC_SFE_0_FAST_AHB_CLK] = &cam_cc_sfe_0_fast_ahb_clk.clkr,
>
Once the commit log is fixed.
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
---
bod
next prev parent reply other threads:[~2026-01-27 22:26 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-27 19:26 [PATCH 0/8] Add support for videocc and camcc on X1P42100 platform Jagadeesh Kona
2026-01-27 19:26 ` [PATCH 1/8] dt-bindings: clock: qcom: Add X1P42100 video clock controller Jagadeesh Kona
2026-01-27 20:34 ` Dmitry Baryshkov
2026-01-28 10:26 ` Konrad Dybcio
2026-02-04 17:44 ` Jagadeesh Kona
2026-01-28 10:08 ` Konrad Dybcio
2026-02-04 17:48 ` Jagadeesh Kona
2026-01-28 11:43 ` Krzysztof Kozlowski
2026-02-04 17:46 ` Jagadeesh Kona
2026-01-27 19:26 ` [PATCH 2/8] dt-bindings: clock: qcom: Add X1P42100 camera " Jagadeesh Kona
2026-01-28 11:45 ` Krzysztof Kozlowski
2026-01-27 19:26 ` [PATCH 3/8] clk: qcom: videocc-x1p42100: Add support for video " Jagadeesh Kona
2026-01-28 7:21 ` Taniya Das
2026-01-28 8:18 ` Abel Vesa
2026-01-29 0:37 ` Dmitry Baryshkov
2026-02-04 17:46 ` Jagadeesh Kona
2026-02-04 19:42 ` Dmitry Baryshkov
2026-01-27 19:26 ` [PATCH 4/8] clk: qcom: camcc-x1e80100: Add support for camera QDSS debug clocks Jagadeesh Kona
2026-01-27 22:26 ` Bryan O'Donoghue [this message]
2026-01-28 10:14 ` Konrad Dybcio
2026-01-29 0:38 ` Dmitry Baryshkov
2026-02-04 17:47 ` Jagadeesh Kona
2026-01-27 19:26 ` [PATCH 5/8] clk: qcom: camcc-x1p42100: Add support for camera clock controller Jagadeesh Kona
2026-01-28 4:45 ` Taniya Das
2026-01-28 10:17 ` Konrad Dybcio
2026-01-29 0:39 ` Dmitry Baryshkov
2026-02-04 17:47 ` Jagadeesh Kona
2026-01-27 19:26 ` [PATCH 6/8] arm64: dts: qcom: x1e80100: Add CAMCC block definition Jagadeesh Kona
2026-01-28 8:19 ` Abel Vesa
2026-01-27 19:26 ` [PATCH 7/8] arm64: dts: qcom: Update compatible for videocc and camcc nodes on purwa Jagadeesh Kona
2026-01-28 8:24 ` Abel Vesa
2026-01-28 10:19 ` Konrad Dybcio
2026-02-04 17:48 ` Jagadeesh Kona
2026-01-27 19:26 ` [PATCH 8/8] arm64: defconfig: Enable VIDEOCC and CAMCC drivers on Qualcomm X1P42100 Jagadeesh Kona
2026-02-08 11:26 ` Krzysztof Kozlowski
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=e43a2b67-4f58-4a8c-b153-d9e2ba303b83@linaro.org \
--to=bryan.odonoghue@linaro.org \
--cc=ajit.pandey@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=imran.shaik@oss.qualcomm.com \
--cc=jagadeesh.kona@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--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_jkona@quicinc.com \
--cc=robh@kernel.org \
--cc=sboyd@kernel.org \
--cc=taniya.das@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