Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08a66aea authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (9488): Add ov772x driver



This patch adds ov772x driver that use soc_camera framework.
It was tested on SH Migo-r board.

Signed-off-by: default avatarKuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent d1f81da2
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -750,6 +750,12 @@ config SOC_CAMERA_PLATFORM
	help
	  This is a generic SoC camera platform driver, useful for testing

config SOC_CAMERA_OV772X
	tristate "ov772x camera support"
	depends on SOC_CAMERA && I2C
	help
	  This is a ov772x camera driver

config VIDEO_PXA27x
	tristate "PXA27x Quick Capture Interface driver"
	depends on VIDEO_DEV && PXA27x && SOC_CAMERA
+1 −0
Original line number Diff line number Diff line
@@ -133,6 +133,7 @@ obj-$(CONFIG_SOC_CAMERA) += soc_camera.o
obj-$(CONFIG_SOC_CAMERA_MT9M001)	+= mt9m001.o
obj-$(CONFIG_SOC_CAMERA_MT9M111)	+= mt9m111.o
obj-$(CONFIG_SOC_CAMERA_MT9V022)	+= mt9v022.o
obj-$(CONFIG_SOC_CAMERA_OV772X)		+= ov772x.o
obj-$(CONFIG_SOC_CAMERA_PLATFORM)	+= soc_camera_platform.o

obj-$(CONFIG_VIDEO_AU0828) += au0828/
+966 −0

File added.

Preview size limit exceeded, changes collapsed.

include/media/ov772x.h

0 → 100644
+21 −0
Original line number Diff line number Diff line
/* ov772x Camera
 *
 * Copyright (C) 2008 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 __OV772X_H__
#define __OV772X_H__

#include <media/soc_camera.h>

struct ov772x_camera_info {
	unsigned long          buswidth;
	struct soc_camera_link link;
};

#endif /* __OV772X_H__ */
+1 −0
Original line number Diff line number Diff line
@@ -60,6 +60,7 @@ enum {

	/* OmniVision sensors: reserved range 250-299 */
	V4L2_IDENT_OV7670 = 250,
	V4L2_IDENT_OV772X = 251,

	/* Conexant MPEG encoder/decoders: reserved range 410-420 */
	V4L2_IDENT_CX23415 = 415,