aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorBrian Swetland <swetland@google.com>2010-11-14 20:29:11 -0800
committerArve Hjønnevåg <arve@android.com>2011-11-17 17:45:46 -0800
commitc5d0c3f4be8f61e5f81b911a57098aadeb4b3b4b (patch)
treea91fd1010f4e828063b5bdfb1c1a3dafe54b9c71 /include/media
parent313629ccc0c3f42b696f3ebb6c140b9d4ce96bf1 (diff)
downloadkernel_samsung_crespo-c5d0c3f4be8f61e5f81b911a57098aadeb4b3b4b.zip
kernel_samsung_crespo-c5d0c3f4be8f61e5f81b911a57098aadeb4b3b4b.tar.gz
kernel_samsung_crespo-c5d0c3f4be8f61e5f81b911a57098aadeb4b3b4b.tar.bz2
media: s5ka3dfx: driver for s5ka3dfx VGA camera sensor
Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com> Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com> Signed-off-by: kyoungho.yun <kyoungho.yun@samsung.com> Change-Id: I93d7b2ff1b2b1b351507257bdca91a1f65b8f4ca
Diffstat (limited to 'include/media')
-rw-r--r--include/media/s5ka3dfx_platform.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/media/s5ka3dfx_platform.h b/include/media/s5ka3dfx_platform.h
new file mode 100644
index 0000000..6da199f
--- /dev/null
+++ b/include/media/s5ka3dfx_platform.h
@@ -0,0 +1,22 @@
+/*
+ * Driver for S5KA3DFX (VGA camera) from SAMSUNG ELECTRONICS
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+struct s5ka3dfx_platform_data {
+ unsigned int default_width;
+ unsigned int default_height;
+ unsigned int pixelformat;
+ int freq; /* MCLK in Hz */
+
+ /* This SoC supports Parallel & CSI-2 */
+ int is_mipi;
+
+ /* Board specific power pin control */
+ int (*cam_power)(int onoff);
+};
+