回复: [PATCH RFC 02/21] media: cadence: csi2rx: configure DPHY before starting source stream

From: Changhuang Liang
Date: Thu Feb 22 2024 - 21:46:49 EST


Hi, Jai

> [PATCH RFC 02/21] media: cadence: csi2rx: configure DPHY before
> starting source stream
>
> From: Pratyush Yadav <p.yadav@xxxxxx>
>
> When the source device is operating above 1.5 Gbps per lane, it needs to send
> the Skew Calibration Sequence before sending any HS data. If the DPHY is
> initialized after the source stream is started, then it might miss the sequence
> and not be able to receive data properly. Move the start of source subdev to
> the end of the sequence to make sure everything is ready to receive data
> before the source starts streaming.
>
> Signed-off-by: Pratyush Yadav <p.yadav@xxxxxx>
> Signed-off-by: Jai Luthra <j-luthra@xxxxxx>
> ---

I also tested this patch on StarFive JH7100 CAMSS and it worked fine.

Reviewed-by: Changhuang Liang <Changhuang.liang@xxxxxxxxxxxxxxxx>
Tested-by: Changhuang Liang <Changhuang.liang@xxxxxxxxxxxxxxxx>

regards
Changhuang