Re: [PATCH v3 3/7] dt-bindings: phy: qcom,sm8150-csi2-phy: Add SM8150 CSI2 PHY
From: Andrew Gigena
Date: Tue Nov 10 2026 - 18:52:57 EST
Hi Vladimir,
Thanks for the review, replies below.
> Please double check if SM8150 CSIPHY v1.1 is capable of C-PHY:
The hardware can do combo mode, but the driver only implements D-PHY and
returns -EOPNOTSUPP for C-PHY, so the binding stays D-PHY. Would you
like it documented as "not yet supported" anyway?
> D-PHY combo mode is also supported on the SM8150 CSIPHY apparently,
> it shall be reflected in a way that two endpoints could be present.
Split mode is described in the binding, but the driver rejects it, so it
cannot be used today. Is it fine to keep it out until the driver
supports it?
> In downstream camcc-sm8150.c, PLL0 is on MX, and PLL0 supplies CSIPHY
> clocks. I believe MX shall be added to the list of 'power-domains'.
You are right that PLL0 uses the MX corner in camcc, but that corner is
internal to the clock controller, not a power domain of the CSIPHY. The
PHY only consumes the top GDSC; SM8150 uses legacy GDSCs, while on X1E
MX is a real power domain attached by the PHY driver.
> Still it would be preferred to get 'vdda-0p9-supply' and
> 'vdda-1p2-supply' properties.
Renamed in the binding on v4, the driver and the DTS, matching the X1E naming.
> In general the change looks good, thank you, but likely it can be
> embedded into the scheme for X1E.
Clocks, register offset, power domains, lane table and timer all differ,
so folding it in would need if/then blocks for almost every property.
Would you still prefer that, or is a separate schema acceptable?
Best regards,
Andrew