#include <linux/device.h>
#include <linux/i2c.h>
#include <linux/log2.h>
#include <linux/pm.h>
#include <linux/slab.h>
#include <linux/v4l2-mediabus.h>
#include <linux/videodev2.h>
#include <linux/module.h>
#include <media/soc_camera.h>
#include <media/v4l2-chip-ident.h>
#include <media/v4l2-subdev.h>
#include <media/v4l2-ctrls.h>
Go to the source code of this file.
#define MT9T031_CHIP_ENABLE 0xF8 |
#define MT9T031_CHIP_VERSION 0x00 |
#define MT9T031_COLUMN_ADDRESS_MODE 0x23 |
#define MT9T031_COLUMN_SKIP 32 |
#define MT9T031_COLUMN_START 0x02 |
#define MT9T031_FRAME_RESTART 0x0b |
#define MT9T031_GLOBAL_GAIN 0x35 |
#define MT9T031_HORIZONTAL_BLANK 142 |
#define MT9T031_HORIZONTAL_BLANKING 0x05 |
#define MT9T031_MAX_HEIGHT 1536 |
#define MT9T031_MAX_WIDTH 2048 |
#define MT9T031_MIN_HEIGHT 2 |
#define MT9T031_MIN_WIDTH 18 |
#define MT9T031_OUTPUT_CONTROL 0x07 |
#define MT9T031_PIXEL_CLOCK_CONTROL 0x0a |
#define MT9T031_READ_MODE_1 0x1e |
#define MT9T031_READ_MODE_2 0x20 |
#define MT9T031_READ_MODE_3 0x21 |
#define MT9T031_RESET 0x0d |
#define MT9T031_ROW_ADDRESS_MODE 0x22 |
#define MT9T031_ROW_SKIP 20 |
#define MT9T031_ROW_START 0x01 |
#define MT9T031_SHUTTER_DELAY 0x0c |
#define MT9T031_SHUTTER_WIDTH 0x09 |
#define MT9T031_SHUTTER_WIDTH_UPPER 0x08 |
#define MT9T031_VERTICAL_BLANK 25 |
#define MT9T031_VERTICAL_BLANKING 0x06 |
#define MT9T031_WINDOW_HEIGHT 0x03 |
#define MT9T031_WINDOW_WIDTH 0x04 |
MODULE_DESCRIPTION |
( |
"Micron MT9T031 Camera driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
mt9t031_id |
|
|
) |
| |
module_i2c_driver |
( |
mt9t031_i2c_driver |
| ) |
|
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|