Re: [PATCH v4 2/5] phy: qcom-mipi-csi2: Make OPP table optional

From: Nihal Kumar Gupta

Date: Wed Dec 02 2026 - 03:13:11 EST




On 02-12-2026 10:25, Bryan O'Donoghue wrote:
>> Not every SoC the generic MIPI CSI2 PHY driver supports needs an OPP
>> table: a CSIPHY with only a single, unscaled power-domain has no
>> performance state to vote on, so running its "core" clock through
>> the OPP framework buys nothing over a plain clk_set_rate(). Add a
>> no_opp flag to struct mipi_csi2phy_soc_cfg and skip
>> devm_pm_opp_set_clkname()/devm_pm_opp_of_add_table() in probe() and
>> the OPP/performance-state handling in
>> phy_qcom_mipi_csi2_set_clock_rates() when it's set, falling back to
>> clk_round_rate()/clk_set_rate() on the timer clock only.
>
> There should definitely be a CX and MX rail for this hardware.

I checked: Lemans has both MXC and MMCX rails.
--
Regards,
Nihal Kumar Gupta