OSDN Git Service

media: imx: imx7_mipi_csis: Calculate Ths_settle from source lane rate
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 1 Mar 2021 16:40:19 +0000 (17:40 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Mar 2021 10:59:53 +0000 (11:59 +0100)
commit74f815840e66428aa035914adcb6d220ced6b00d
tree1fc91e51e0537f4c7af1245a8fbce95dc0e3cdf7
parentbef63005e3ad6d8be6f4fd0d7e6e6a83a7b4a351
media: imx: imx7_mipi_csis: Calculate Ths_settle from source lane rate

The Ths_settle timing parameter depends solely on the lane data rate of
the source. Calculate it at runtime instead of requiring it to be
specified in the device tree.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/imx/imx7-mipi-csis.c