MLK-18098: camera: add MIPI and PARALLEL CSI support in one dtb
authorGuoniu.Zhou <guoniu.zhou@nxp.com>
Fri, 20 Apr 2018 08:23:09 +0000 (16:23 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
1. Divide ov5640_v3.c into two parts, one for parallel csi driver
   and the other for mipi csi driver

2. Add parallel and mipi support in one dtb file. User can select
   one of them without changing the dtb file

Reviewed-by: Sandor.yu <sandor.yu@nxp.com>
Signed-off-by: Guoniu.Zhou <guoniu.zhou@nxp.com>
drivers/media/platform/imx8/Kconfig

index 9a1dd94..b4a847a 100644 (file)
@@ -30,6 +30,11 @@ config MXC_CAMERA_OV5640_V3
        depends on I2C
        default y
 
+config MXC_CAMERA_OV5640_MIPI_V3
+       tristate "Maxim OV5640_MIPI_V3 driver support"
+       depends on I2C
+       default y
+
 config GMSL_MAX9286
         tristate "Maxim max9286 GMSL Deserializer Input support"
        select SENSOR_OV10635