media: ipu3-cio2: Add link freq for INT33BE entry
authorDaniel Scally <djrscally@gmail.com>
Mon, 22 Nov 2021 23:56:13 +0000 (00:56 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 30 Nov 2021 09:51:16 +0000 (10:51 +0100)
Add a link frequency to the cio2-bridge table of supported sensors.
This means that the driver can parse supported link frequencies from
firmware in the usual way and validate that it can accommodate them.

Signed-off-by: Daniel Scally <djrscally@gmail.com>
Tested-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Reviewed-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/pci/intel/ipu3/cio2-bridge.c

index 0b586b4..b4b8930 100644 (file)
@@ -21,7 +21,7 @@
  */
 static const struct cio2_sensor_config cio2_supported_sensors[] = {
        /* Omnivision OV5693 */
-       CIO2_SENSOR_CONFIG("INT33BE", 0),
+       CIO2_SENSOR_CONFIG("INT33BE", 1, 419200000),
        /* Omnivision OV2680 */
        CIO2_SENSOR_CONFIG("OVTI2680", 0),
 };