media: i2c: imx290: Add support for 2 data lanes
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Fri, 12 Jun 2020 13:53:49 +0000 (15:53 +0200)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:34:15 +0000 (16:34 +0100)
commit8e90719a295076c5d53a9c7007848b9febddd5c2
treeb2a88a7f36feec3d3e8c55004255881e1e361dbc
parent0eab442fcd1ee4420418b3a103737c9a92cc77db
media: i2c: imx290: Add support for 2 data lanes

Commit 97589ad61c730e0f486635c6c19fa25ab8e8f29d upstream.

The IMX290 sensor can output frames with 2/4 CSI2 data lanes. This commit
adds support for 2 lane mode in addition to the 4 lane and also
configuring the data lane settings in the driver based on system
configuration.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/imx290.c