media: platform: rzg2l-cru: rzg2l-video: Fix start reception procedure
authorBiju Das <biju.das.jz@bp.renesas.com>
Tue, 13 Feb 2024 18:12:33 +0000 (18:12 +0000)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 15 Feb 2024 09:57:54 +0000 (10:57 +0100)
commit6bcff5f958e45a21f74d140c58e061999e97cd50
tree173c5a87b244aad49ec21a1b7e8e4eb56a452dcb
parentfdc7bd5b3a64277c9427576a596df572d563dc3d
media: platform: rzg2l-cru: rzg2l-video: Fix start reception procedure

As per section 35.3.1 Starting Reception for the MIPI CSI-2 Input on the
latest hardware manual (R01UH0914EJ0145 Rev.1.45) we need to supply all
the clocks and then release the CRU resets. Currently we are releasing
the resets and then supplying the clocks. So, fix the start reception
procedure.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20240213181233.242316-6-biju.das.jz@bp.renesas.com
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/renesas/rzg2l-cru/rzg2l-video.c