]> git.baikalelectronics.ru Git - kernel.git/commit
media: ov5640: Add pixel rate to modes
authorJacopo Mondi <jacopo@jmondi.org>
Fri, 13 May 2022 14:13:49 +0000 (15:13 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 8 Jul 2022 14:15:53 +0000 (15:15 +0100)
commit6578a8b2abf2c01c6231a7e3cd90be21dd6c2047
tree3bcc52621cc1534e83043faede036d141460be5f
parentb1f62cc87ce9789234aa9aa3a4876ab20e02699b
media: ov5640: Add pixel rate to modes

Add to each mode supported by the sensor the ideal pixel rate, as
defined by Table 2.1 in the chip manual.

The ideal pixel rate will be used to compute the MIPI CSI-2 clock tree.

Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Adam Ford <aford173@gmail.com> #imx8mm-beacon-kit
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/ov5640.c