mirror of https://gitee.com/openkylin/linux.git
V4L/DVB (13670): soc-camera: Add mt9t112 camera driver
create mode 100644 drivers/media/video/mt9t112.c create mode 100644 include/media/mt9t112.h Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
70da92e574
commit
858424b998
|
@ -836,6 +836,12 @@ config SOC_CAMERA_MT9T031
|
|||
help
|
||||
This driver supports MT9T031 cameras from Micron.
|
||||
|
||||
config SOC_CAMERA_MT9T112
|
||||
tristate "mt9t112 support"
|
||||
depends on SOC_CAMERA && I2C
|
||||
help
|
||||
This driver supports MT9T112 cameras from Aptina.
|
||||
|
||||
config SOC_CAMERA_MT9V022
|
||||
tristate "mt9v022 support"
|
||||
depends on SOC_CAMERA && I2C
|
||||
|
|
|
@ -75,6 +75,7 @@ obj-$(CONFIG_VIDEO_MT9V011) += mt9v011.o
|
|||
obj-$(CONFIG_SOC_CAMERA_MT9M001) += mt9m001.o
|
||||
obj-$(CONFIG_SOC_CAMERA_MT9M111) += mt9m111.o
|
||||
obj-$(CONFIG_SOC_CAMERA_MT9T031) += mt9t031.o
|
||||
obj-$(CONFIG_SOC_CAMERA_MT9T112) += mt9t112.o
|
||||
obj-$(CONFIG_SOC_CAMERA_MT9V022) += mt9v022.o
|
||||
obj-$(CONFIG_SOC_CAMERA_OV772X) += ov772x.o
|
||||
obj-$(CONFIG_SOC_CAMERA_OV9640) += ov9640.o
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,30 @@
|
|||
/* mt9t112 Camera
|
||||
*
|
||||
* Copyright (C) 2009 Renesas Solutions Corp.
|
||||
* Kuninori Morimoto <morimoto.kuninori@renesas.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef __MT9T112_H__
|
||||
#define __MT9T112_H__
|
||||
|
||||
#define MT9T112_FLAG_PCLK_RISING_EDGE (1 << 0)
|
||||
#define MT9T112_FLAG_DATAWIDTH_8 (1 << 1) /* default width is 10 */
|
||||
|
||||
struct mt9t112_pll_divider {
|
||||
u8 m, n;
|
||||
u8 p1, p2, p3, p4, p5, p6, p7;
|
||||
};
|
||||
|
||||
/*
|
||||
* mt9t112 camera info
|
||||
*/
|
||||
struct mt9t112_camera_info {
|
||||
u32 flags;
|
||||
struct mt9t112_pll_divider divider;
|
||||
};
|
||||
|
||||
#endif /* __MT9T112_H__ */
|
|
@ -267,6 +267,8 @@ enum {
|
|||
V4L2_IDENT_MT9V022IX7ATC = 45010, /* No way to detect "normal" I77ATx */
|
||||
V4L2_IDENT_MT9V022IX7ATM = 45015, /* and "lead free" IA7ATx chips */
|
||||
V4L2_IDENT_MT9T031 = 45020,
|
||||
V4L2_IDENT_MT9T111 = 45021,
|
||||
V4L2_IDENT_MT9T112 = 45022,
|
||||
V4L2_IDENT_MT9V111 = 45031,
|
||||
V4L2_IDENT_MT9V112 = 45032,
|
||||
|
||||
|
|
Loading…
Reference in New Issue