#include <media/v4l2-chip-ident.h>
#include <media/soc_camera.h>
#include <mach/rk29_camera.h>
-#include "mt9p111.h"
+#include "mt9t111.h"
static int debug;
module_param(debug, int, S_IRUGO|S_IWUSR);
--- /dev/null
+/*
+ * Driver for MT9T111 CMOS Image Sensor from Aptina
+ *
+ * Copyright (C) 2008, Guennadi Liakhovetski <kernel@pengutronix.de>
+ *
+ * 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 __MT9T111_H__
+#define __MT9T111_H__
+struct reginfo
+{
+ u16 reg;
+ u16 val;
+ u16 reg_len;
+ u16 rev;
+};
+
+#define WORD_LEN 0x04
+#define BYTE_LEN 0x02
+
+#define SEQUENCE_INIT 0x00
+#define SEQUENCE_NORMAL 0x01
+#define SEQUENCE_CAPTURE 0x02
+#define SEQUENCE_PREVIEW 0x03
+
+#define SEQUENCE_PROPERTY 0xFFFC
+#define SEQUENCE_WAIT_MS 0xFFFD
+#define SEQUENCE_WAIT_US 0xFFFE
+#define SEQUENCE_END 0xFFFF
+#endif