Skip to content
Commit f4604f7a authored by Pratyush Yadav's avatar Pratyush Yadav Committed by Xulin Sun
Browse files

media: cadence: csi2rx: configure DPHY before starting source stream

commit 04323717d04e2baa172aa592862bb0cedd848cf5 from
git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git



commit fd64dda4 upstream

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: default avatarPratyush Yadav <p.yadav@ti.com>
Fixes: 3295cf12 ("media: cadence: Add support for external dphy")
Tested-by: default avatarJulien Massot <julien.massot@collabora.com>
Tested-by: default avatarChanghuang Liang <Changhuang.liang@starfivetech.com>
Reviewed-by: default avatarJulien Massot <julien.massot@collabora.com>
Reviewed-by: default avatarChanghuang Liang <Changhuang.liang@starfivetech.com>
Signed-off-by: default avatarJai Luthra <j-luthra@ti.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarXulin Sun <xulin.sun@windriver.com>
parent 20a5f399
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment