summaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2012-09-28 02:05:27 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-11-22 17:36:50 +0400
commitb6f50b49b9712f49c377e9e3587906e27bea39d0 (patch)
tree732369ee8c06c319e0660279ba816e69521d2ace /include/media
parentd0bac768fbe274f60d41d759c76f7ba2b2e98aeb (diff)
downloadlinux-b6f50b49b9712f49c377e9e3587906e27bea39d0.tar.xz
[media] mt9v022: set y_skip_top field to zero as default
Set "y_skip_top" to zero and revise comment as I do not see this line corruption on two different mt9v022 setups. The first read-out line is perfectly fine. Add mt9v022 platform data configuring y_skip_top for platforms that have issues with the first read-out line. Set y_skip_top to 1 for pcm990 board. Signed-off-by: Anatolij Gustschin <agust@denx.de> Acked-by: Eric Miao <eric.y.miao@gmail.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/mt9v022.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/media/mt9v022.h b/include/media/mt9v022.h
new file mode 100644
index 000000000000..40561801321a
--- /dev/null
+++ b/include/media/mt9v022.h
@@ -0,0 +1,16 @@
+/*
+ * mt9v022 sensor
+ *
+ * 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 __MT9V022_H__
+#define __MT9V022_H__
+
+struct mt9v022_platform_data {
+ unsigned short y_skip_top; /* Lines to skip at the top */
+};
+
+#endif