#include <linux/bitops.h>
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/videodev2.h>
#include <linux/module.h>
#include <linux/v4l2-mediabus.h>
#include <media/soc_camera.h>
#include <media/v4l2-chip-ident.h>
#include <media/v4l2-subdev.h>
Go to the source code of this file.
#define BLANKING_EXTRA_HEIGHT 20 |
#define BLANKING_EXTRA_WIDTH 500 |
#define BLANKING_MIN_HEIGHT 1000 |
#define OV5642_DEFAULT_WIDTH 1280 |
#define OV5642_MAX_HEIGHT 720 |
#define OV5642_SENSOR_SIZE_X 2592 |
#define OV5642_SENSOR_SIZE_Y 1944 |
#define REG_AVG_WINDOW_END_X_HIGH 0x5682 |
#define REG_AVG_WINDOW_END_X_LOW 0x5683 |
#define REG_AVG_WINDOW_END_Y_HIGH 0x5686 |
#define REG_AVG_WINDOW_END_Y_LOW 0x5687 |
#define REG_CHIP_ID_HIGH 0x300a |
#define REG_CHIP_ID_LOW 0x300b |
#define REG_ISP_CTRL_01 0x5001 |
#define REG_OUT_HEIGHT_HIGH 0x380a |
#define REG_OUT_HEIGHT_LOW 0x380b |
#define REG_OUT_TOTAL_HEIGHT_HIGH 0x380e |
#define REG_OUT_TOTAL_HEIGHT_LOW 0x380f |
#define REG_OUT_TOTAL_WIDTH_HIGH 0x380c |
#define REG_OUT_TOTAL_WIDTH_LOW 0x380d |
#define REG_OUT_WIDTH_HIGH 0x3808 |
#define REG_OUT_WIDTH_LOW 0x3809 |
#define REG_OUTPUT_FORMAT 0x4300 |
#define REG_WINDOW_HEIGHT_HIGH 0x3806 |
#define REG_WINDOW_HEIGHT_LOW 0x3807 |
#define REG_WINDOW_START_X_HIGH 0x3800 |
#define REG_WINDOW_START_X_LOW 0x3801 |
#define REG_WINDOW_START_Y_HIGH 0x3802 |
#define REG_WINDOW_START_Y_LOW 0x3803 |
#define REG_WINDOW_WIDTH_HIGH 0x3804 |
#define REG_WINDOW_WIDTH_LOW 0x3805 |
MODULE_DESCRIPTION |
( |
"Omnivision OV5642 Camera driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
ov5642_id |
|
|
) |
| |
module_i2c_driver |
( |
ov5642_i2c_driver |
| ) |
|
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|