[PATCH v23 02/15] phy: qcom-mipi-csi2: Parametrise the common status register offset

Abel Vesa abel.vesa at oss.qualcomm.com
Wed Oct 28 08:27:27 PDT 2026


On 26-10-28 08:20:36, Hangxiang Ma wrote:
> The CSI2 PHY common status registers are not at a fixed offset from the
> common register block across SoCs: x1e80100 uses 0xb0 while other 3PH
> v2.4.0 parts differ.
> 
> Replace the hard-coded 0xb0 in CSIPHY_3PH_CMN_CSI_COMMON_STATUSn() with
> a per-SoC common_status_offset field in struct mipi_csi2phy_device_regs,
> initialising x1e80100 to 0xb0 so behaviour is unchanged. This is a
> no-functional-change preparation for describing other SoC offsets.
> 
> Reviewed-by: Bryan O'Donoghue <bod at kernel.org>
> Signed-off-by: Hangxiang Ma <hangxiang.ma at oss.qualcomm.com>

Reviewed-by: Abel Vesa <abel.vesa at oss.qualcomm.com>



More information about the linux-phy mailing list