]> www.infradead.org Git - users/dwmw2/linux.git/commit
media: imx335: Support 2 or 4 lane operation modes
authorKieran Bingham <kieran.bingham@ideasonboard.com>
Sun, 14 Apr 2024 14:06:16 +0000 (19:36 +0530)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 22 Apr 2024 09:41:05 +0000 (11:41 +0200)
commit8249d084ac9b95d92bc94bd158bb0f76114d84db
tree4d4596a7f493c8d8ae1e0addb72a2c012ef5e92e
parentd9134bd7bb6c5fe289f17d44a9e8b4c53e26f099
media: imx335: Support 2 or 4 lane operation modes

The IMX335 can support both 2 and 4 lane configurations.
Extend the driver to configure the lane mode accordingly.
Update the pixel rate depending on the number of lanes in use.

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Tommaso Merciai <tomm.merciai@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil: fixup missing : in @lane_mode kerneldoc line]
drivers/media/i2c/imx335.c