Devicetree
 help / color / mirror / Atom feed
From: Bryan O'Donoghue <bod@kernel.org>
To: Anusha Arun Nandi <anusha.nandi@oss.qualcomm.com>
Cc: Vinod Koul <vkoul@kernel.org>,
	Neil Armstrong <neil.armstrong@linaro.org>,
	Manivannan Sadhasivam <mani@kernel.org>,
	gjorgji.rosikopulos@oss.qualcomm.com,
	hariram.purushothaman@oss.qualcomm.com, akapatra@quicinc.com,
	jigarkumar.zala@oss.qualcomm.com, linux-phy@lists.infradead.org,
	linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v4 2/5] phy: qcom-mipi-csi2: Make OPP table optional
Date: Wed, 2 Dec 2026 04:55:17 +0000	[thread overview]
Message-ID: <84c49f80-d7b2-40ba-bd39-ec209a1c431d@kernel.org> (raw)
In-Reply-To: <20261201210207.1049452-3-anusha.nandi@oss.qualcomm.com>

On 01/12/2026 21:02, Anusha Arun Nandi 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.

> x1e80100 doesn't set no_opp, so this is a no-op for it. The "core"/
> "timer" clock-name strings themselves stay hardcoded literals: every
> SoC this driver supports uses the same two names, so there's nothing
> to make configurable there.
> 
> Co-developed-by: Jigarkumar Zala<jigarkumar.zala@oss.qualcomm.com>
> Signed-off-by: Jigarkumar Zala<jigarkumar.zala@oss.qualcomm.com>
> Signed-off-by: Anusha Arun Nandi<anusha.nandi@oss.qualcomm.com>

---
bod

  reply	other threads:[~2026-12-02  4:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 21:02 [PATCH v4 0/5] phy: qcom-mipi-csi2: Add D-PHY support for sa8775p, qcs8300 and sc7280 Anusha Arun Nandi
2026-12-01 21:02 ` [PATCH v4 1/5] dt-bindings: phy: qcom: Add common qcom,csi2-phy Anusha Arun Nandi
2026-12-02  4:49   ` Bryan O'Donoghue
2026-12-01 21:02 ` [PATCH v4 2/5] phy: qcom-mipi-csi2: Make OPP table optional Anusha Arun Nandi
2026-12-02  4:55   ` Bryan O'Donoghue [this message]
2026-12-01 21:02 ` [PATCH v4 3/5] phy: qcom-mipi-csi2: restructure D-PHY into core.c and dphy-regs.h Anusha Arun Nandi
2026-12-02  5:20   ` Bryan O'Donoghue
2026-12-01 21:02 ` [PATCH v4 4/5] phy: qcom-mipi-csi2: Add sa8775p D-PHY support Anusha Arun Nandi
2026-12-01 21:02 ` [PATCH v4 5/5] phy: qcom-mipi-csi2: Add sc7280 D-PHY provider 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=84c49f80-d7b2-40ba-bd39-ec209a1c431d@kernel.org \
    --to=bod@kernel.org \
    --cc=akapatra@quicinc.com \
    --cc=anusha.nandi@oss.qualcomm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=gjorgji.rosikopulos@oss.qualcomm.com \
    --cc=hariram.purushothaman@oss.qualcomm.com \
    --cc=jigarkumar.zala@oss.qualcomm.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=mani@kernel.org \
    --cc=neil.armstrong@linaro.org \
    --cc=vkoul@kernel.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