From: Bryan O'Donoghue <bod@kernel.org>
To: Michael Riesch <michael.riesch@collabora.com>,
Anusha Arun Nandi <anusha.nandi@oss.qualcomm.com>,
Bryan O'Donoghue <bryan.odonoghue@linaro.org>,
david@ixit.cz, andersson@kernel.org, konradybcio@kernel.org,
robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
vladimir.zapolskiy@linaro.org, loic.poulain@oss.qualcomm.com,
mchehab@kernel.org
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
gjorgji.rosikopulos@oss.qualcomm.com,
jigarkumar.zala@oss.qualcomm.com,
hariram.purushothaman@oss.qualcomm.com, akapatra@quicinc.com,
linux-media@vger.kernel.org,
krzysztof.kozlowski@oss.qualcomm.com, daniel@quora.org,
konrad.dybcio@oss.qualcomm.com, christopher.obbard@linaro.org,
alex.vinarskis@gmail.com
Subject: Re: [PATCH 1/3] phy: core: add generic MIPI C-PHY configuration API
Date: Tue, 24 Nov 2026 12:18:09 +0000 [thread overview]
Message-ID: <b3adfac5-e9c7-484c-aebd-16c94f41f28f@kernel.org> (raw)
In-Reply-To: <773b5d1b-6679-4f68-b15e-022842f5109a@collabora.com>
On 24/11/2026 12:01, Michael Riesch wrote:
>>> On 10/24/26 01:20, Anusha Arun Nandi wrote:
>>>> [...]
>>>>> The CSID needs to know the symbol rate - so that it can vote on the
>>>>> appropriate NOC/CamNOC clocks/rails but... does the PHY driver itself
>>>>> need to know that ? It does not, symbol_rate is not required in this
>>>>> struct no more than it is in DPHY.
>>>>>
>>>> Yes agree. I was thinking the same. We would not need the symbol_rate in
>>>> the struct.
>>> How would a timing calculation like in the Rockchip downstream [0] work
>>> then? Can this table be implemented once in a common helper, and the
>>> resulting values are passed via the struct?
>>>
>>> I am new to this spec so please bear with me, but it feels the symbol
>>> rate should be in the struct?!
>> Might be the case alright. We have two approaches we can take. Something
>> like DPHY which populates just about everything in the configuration
>> struct or just add stuff in as needed.
>>
>> Maybe the PHY does need to know the symbol rate.. In our case on qcom we
>> vote for bandwidth in on the CSI decoder side.
>>
>> But maybe there's a use case for the PHY to know that rate..
> Fortunately, that is a kernel space API, so not*that* critical.
>
> Then I guess we can put the symbol rate in there. If it is unused, there
> is not much damage done, I would say. Plus there is the possibility to
> remove it too, right.
>
> Just my € 0.02.
>
> Best regards,
> Michael
An equally valid argument sure.
---
bod
next prev parent reply other threads:[~2026-11-24 12:18 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-17 4:17 [PATCH 0/3] phy: core, qcom-mipi-csi2: add generic MIPI C-PHY support Anusha Arun Nandi
2026-10-17 4:17 ` [PATCH 1/3] phy: core: add generic MIPI C-PHY configuration API Anusha Arun Nandi
2026-10-17 23:00 ` Bryan O'Donoghue
2026-10-19 10:24 ` Bryan O'Donoghue
2026-10-19 11:24 ` Bryan O'Donoghue
2026-10-19 14:15 ` Loic Poulain
2026-10-23 0:39 ` Anusha Arun Nandi
2026-10-23 1:06 ` Anusha Arun Nandi
2026-10-23 0:33 ` Anusha Arun Nandi
2026-10-23 2:15 ` Bryan O'Donoghue
2026-10-23 23:20 ` Anusha Arun Nandi
2026-11-24 10:13 ` Michael Riesch
2026-11-24 11:51 ` Bryan O'Donoghue
2026-11-24 12:01 ` Michael Riesch
2026-11-24 12:18 ` Bryan O'Donoghue [this message]
2026-10-17 4:17 ` [PATCH 2/3] phy: qcom-mipi-csi2: Add sa8775p C-PHY support Anusha Arun Nandi
2026-10-17 23:19 ` Bryan O'Donoghue
2026-10-23 23:46 ` Anusha Arun Nandi
2026-10-17 4:17 ` [PATCH 3/3] phy: qcom-mipi-csi2: Add sc7280 " Anusha Arun Nandi
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=b3adfac5-e9c7-484c-aebd-16c94f41f28f@kernel.org \
--to=bod@kernel.org \
--cc=akapatra@quicinc.com \
--cc=alex.vinarskis@gmail.com \
--cc=andersson@kernel.org \
--cc=anusha.nandi@oss.qualcomm.com \
--cc=bryan.odonoghue@linaro.org \
--cc=christopher.obbard@linaro.org \
--cc=conor+dt@kernel.org \
--cc=daniel@quora.org \
--cc=david@ixit.cz \
--cc=devicetree@vger.kernel.org \
--cc=gjorgji.rosikopulos@oss.qualcomm.com \
--cc=hariram.purushothaman@oss.qualcomm.com \
--cc=jigarkumar.zala@oss.qualcomm.com \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@oss.qualcomm.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=loic.poulain@oss.qualcomm.com \
--cc=mchehab@kernel.org \
--cc=michael.riesch@collabora.com \
--cc=robh@kernel.org \
--cc=vladimir.zapolskiy@linaro.org \
/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®