Re: [PATCH 1/3] phy: core: add generic MIPI C-PHY configuration API

From: Bryan O'Donoghue

Date: Tue Nov 24 2026 - 06:52:01 EST


On 24/11/2026 10:13, Michael Riesch wrote:
Hi Anusha, hi Bryan,

Thanks for your work. I am working on CSI C-PHY support for the Rockchip
RK3588 MIPI D-PHY/C-PHY Combo PHY and would love to see this landing in
mainline.

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..

---
bod