From: Bryan O'Donoghue <bod@kernel.org>
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
Jagadeesh Kona <jagadeesh.kona@oss.qualcomm.com>,
Bjorn Andersson <andersson@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
Brian Masney <bmasney@redhat.com>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Taniya Das <taniya.das@oss.qualcomm.com>
Subject: Re: [PATCH v4 2/3] clk: qcom: camcc-glymur: Add camera clock controller driver
Date: Fri, 12 Jun 2026 12:14:06 +0100 [thread overview]
Message-ID: <1de2f9bf-b48c-4acb-882c-9e35a8582d0b@kernel.org> (raw)
In-Reply-To: <10c2e008-74fe-4dac-99bf-194a1767bc16@oss.qualcomm.com>
On 11/06/2026 09:51, Konrad Dybcio wrote:
>>> implementation simpler, avoids unnecessary abstraction, and makes debugging—through direct
>>> comparison with the hardware spec easier.
>> How are hex values in upstream code easier to debug ?
>>
>> Without the spec you can't change or understand hex values in upstream code, which is the whole point I'm making here.
> I get the 'understanding' part, but regarding change, as I said
> previously, these must remain as-is - any difference for a PLL
> impacts every single clock downstream of it. Some of them also
> correspond to specific electrical properties, just like with PHY
> init sequences. The existing values are a result of tuning and
> silicon validation across presumably many, many chip units.
That's an argument against changing the values, not naming the values.
Hexwork in upstream code is a public black box and should be avoided
where possible.
How about, take these fixed hex but someone on the clock-side in qcom
agrees to update the script to write defined bitfields not hexwork in
future deliveries. AFAIU its a script that mostly spits out these clock
descriptors so, it should be possible to fix that script once @ source,
without committing to fixing everything _currently_ in flight.
Qcom can then at its leisure update old controller descriptors by
running the script again.
> There may be updates (very rarely post the chip going into
> production), but I'd assume these would go through the same
> testing procedures
>
> Konrad
---
bod
next prev parent reply other threads:[~2026-06-12 11:14 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-17 17:33 [PATCH v4 0/3] Add camera clock controller support on Glymur platform Jagadeesh Kona
2026-05-17 17:33 ` [PATCH v4 1/3] dt-bindings: clock: qcom: Add Glymur camera clock controller Jagadeesh Kona
2026-06-12 12:35 ` Vladimir Zapolskiy
2026-05-17 17:33 ` [PATCH v4 2/3] clk: qcom: camcc-glymur: Add camera clock controller driver Jagadeesh Kona
2026-05-17 18:13 ` sashiko-bot
2026-05-18 7:35 ` Bryan O'Donoghue
2026-05-18 10:23 ` Jagadeesh Kona
2026-05-18 12:21 ` Bryan O'Donoghue
2026-05-25 7:06 ` Jagadeesh Kona
2026-05-25 7:49 ` Bryan O'Donoghue
2026-06-11 8:51 ` Konrad Dybcio
2026-06-12 6:31 ` Dmitry Baryshkov
2026-06-12 11:14 ` Bryan O'Donoghue [this message]
2026-06-22 17:50 ` Taniya Das
2026-06-12 12:40 ` Vladimir Zapolskiy
2026-05-17 17:33 ` [PATCH v4 3/3] arm64: dts: qcom: glymur: Add camera clock controller support Jagadeesh Kona
2026-06-12 12:42 ` Vladimir Zapolskiy
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=1de2f9bf-b48c-4acb-882c-9e35a8582d0b@kernel.org \
--to=bod@kernel.org \
--cc=andersson@kernel.org \
--cc=bmasney@redhat.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--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=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