Re: [PATCH v8 2/2] phy: qcom-mipi-csi2: Add a CSI2 MIPI DPHY driver

From: Bryan O'Donoghue

Date: Wed Jul 01 2026 - 11:56:47 EST


On 05/06/2026 10:31, Nihal Kumar Gupta wrote:
Having clock-names property doesn't mean that all values are valid.

CSI_COMMON_CTRL5 is a physical lane power-up bitmap:
- Bits [0,2,4,6] → D-PHY data lanes(LN0, LN2, LN4, LN6)
- Bits [1,3,5] → C-PHY trio lanes(LN1, LN3, LN5)
- Bit [7] → D-PHY clock lane(LNCK) dedicated clock enable

In combo mode, only LN6 can be configurable as a clock lane.

This is a really excellent comment and I'm going to copy/paste the text entirely into the driver as a comment.

ty

---
bod