#include <linux/videodev2.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/log2.h>
#include <linux/module.h>
#include <media/soc_camera.h>
#include <media/soc_mediabus.h>
#include <media/v4l2-subdev.h>
#include <media/v4l2-chip-ident.h>
#include <media/v4l2-ctrls.h>
Go to the source code of this file.
#define MT9M001_CHIP_ENABLE 0xF1 |
#define MT9M001_CHIP_VERSION 0x00 |
#define MT9M001_COLUMN_SKIP 20 |
#define MT9M001_COLUMN_START 0x02 |
#define MT9M001_FRAME_RESTART 0x0b |
#define MT9M001_GLOBAL_GAIN 0x35 |
#define MT9M001_HORIZONTAL_BLANKING 0x05 |
#define MT9M001_MAX_HEIGHT 1024 |
#define MT9M001_MAX_WIDTH 1280 |
#define MT9M001_MIN_HEIGHT 32 |
#define MT9M001_MIN_WIDTH 48 |
#define MT9M001_OUTPUT_CONTROL 0x07 |
#define MT9M001_READ_OPTIONS1 0x1e |
#define MT9M001_READ_OPTIONS2 0x20 |
#define MT9M001_RESET 0x0d |
#define MT9M001_ROW_SKIP 12 |
#define MT9M001_ROW_START 0x01 |
#define MT9M001_SHUTTER_DELAY 0x0c |
#define MT9M001_SHUTTER_WIDTH 0x09 |
#define MT9M001_VERTICAL_BLANKING 0x06 |
#define MT9M001_WINDOW_HEIGHT 0x03 |
#define MT9M001_WINDOW_WIDTH 0x04 |
MODULE_DESCRIPTION |
( |
"Micron MT9M001 Camera driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
mt9m001_id |
|
|
) |
| |
module_i2c_driver |
( |
mt9m001_i2c_driver |
| ) |
|