mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
	Jagadeesh Kona <jagadeesh.kona@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>,
	Jagadeesh Kona <quic_jkona@quicinc.com>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>,
	Rajendra Nayak <quic_rjendra@quicinc.com>,
	Stephan Gerhold <stephan.gerhold@linaro.org>,
	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,
	Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Subject: Re: [PATCH v2 5/7] clk: qcom: camcc-x1p42100: Add support for camera clock controller
Date: Thu, 5 Mar 2026 02:18:42 +0000	[thread overview]
Message-ID: <2f1bdd7a-04a0-49a7-b275-4332f2979378@linaro.org> (raw)
In-Reply-To: <2byedzh5w6ymnoebve74a2a7oezgich25wdh4pdsqmvv3jvpkf@kyk2gz5khibe>

On 05/03/2026 00:33, Dmitry Baryshkov wrote:
> I've cross-checked this against X1E80100 driver. The main changes are a
> drop of IFE_1, SPE_0, and two PLLs. However it also:
> - uses hw_clk_ctrl for several clocks
> - uses rcg2_shared_ops instead of rcg2_ops for several clocks
> - uses hwcg_reg and BRANCH_HALT_VOTED for cam_cc_camnoc_axi_nrt_clk
> - uses HW_CTRL_TRIGGER for cam_cc_bps_gdsc and cam_cc_ipe_0_gdsc
> - uses non-AO clock for cam_cc_xo_clk_src
> 
> Are all these changes expected? Are any of them also applicable to X1E?
> 
> At this point, I'm torn between suggesting the merge of this driver into
> X1E driver and ack'ing the current form.

We can test the diff but, I'm not sure that will really answer the 
question if it is the right-thing-to-do.

OTOH if it ain't broke, don't fix it.

Reverse the question - is there any reason to have this driver at all ? 
Can the x1e CAMCC be used as-is ?

If not, then we can accept this patch and potentially look at merging 
the two drivers later on.

I assume the code submitted has a purpose though i.e. its not possible 
to just use Hamoa and Purwa interchangably.

A few community members showed me CAMSS working on Purwa last year in 
Amsterdam with the x1e code - one error if I recall was a clock splat.

So superficially it adds up to me that its not a 1:1 thing with these 
two parts.

---
bod

  reply	other threads:[~2026-03-05  2:18 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-04 17:40 [PATCH v2 0/7] Add support for videocc and camcc on X1P42100 platform Jagadeesh Kona
2026-03-04 17:40 ` [PATCH v2 1/7] dt-bindings: clock: qcom: Add X1P42100 video clock controller Jagadeesh Kona
2026-03-05  7:47   ` Krzysztof Kozlowski
2026-03-06 14:54     ` Jagadeesh Kona
2026-03-04 17:40 ` [PATCH v2 2/7] dt-bindings: clock: qcom: Add X1P42100 camera " Jagadeesh Kona
2026-03-05  7:49   ` Krzysztof Kozlowski
2026-03-04 17:40 ` [PATCH v2 3/7] clk: qcom: videocc-x1p42100: Add support for video " Jagadeesh Kona
2026-03-05  0:20   ` Dmitry Baryshkov
2026-03-06 14:56     ` Jagadeesh Kona
2026-03-05 11:57   ` Konrad Dybcio
2026-03-04 17:40 ` [PATCH v2 4/7] clk: qcom: camcc-x1e80100: Add support for camera QDSS debug clocks Jagadeesh Kona
2026-03-05  7:53   ` Krzysztof Kozlowski
2026-03-06 14:59     ` Jagadeesh Kona
2026-03-05 11:58   ` Krzysztof Kozlowski
2026-03-06 14:59     ` Jagadeesh Kona
2026-03-04 17:40 ` [PATCH v2 5/7] clk: qcom: camcc-x1p42100: Add support for camera clock controller Jagadeesh Kona
2026-03-05  0:33   ` Dmitry Baryshkov
2026-03-05  2:18     ` Bryan O'Donoghue [this message]
2026-03-05  9:05       ` Konrad Dybcio
2026-03-06 14:57         ` Jagadeesh Kona
2026-03-04 17:40 ` [PATCH v2 6/7] arm64: dts: qcom: x1e80100: Add CAMCC block definition Jagadeesh Kona
2026-03-05 11:58   ` Krzysztof Kozlowski
2026-03-05 12:00     ` Krzysztof Kozlowski
2026-03-05 13:11       ` Bryan O'Donoghue
2026-03-06 14:58         ` Jagadeesh Kona
2026-03-06 14:58       ` Jagadeesh Kona
2026-03-06 15:23         ` Krzysztof Kozlowski
2026-03-04 17:40 ` [PATCH v2 7/7] arm64: defconfig: Enable VIDEOCC and CAMCC drivers on Qualcomm X1P42100 Jagadeesh Kona

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=2f1bdd7a-04a0-49a7-b275-4332f2979378@linaro.org \
    --to=bryan.odonoghue@linaro.org \
    --cc=abelvesa@kernel.org \
    --cc=ajit.pandey@oss.qualcomm.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.baryshkov@oss.qualcomm.com \
    --cc=imran.shaik@oss.qualcomm.com \
    --cc=jagadeesh.kona@oss.qualcomm.com \
    --cc=konrad.dybcio@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=quic_rjendra@quicinc.com \
    --cc=robh@kernel.org \
    --cc=sboyd@kernel.org \
    --cc=stephan.gerhold@linaro.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

all inboxes | Powered by JetHome®