summaryrefslogtreecommitdiffstats
path: root/include/media/noon010pc30.h
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2011-01-03 08:07:30 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 20:31:40 -0300
commitf8e2e3eab8f70103fb4680e2da202e14199c199a (patch)
tree1b969d732c83d8d5bb2fe6ed621333645a529d23 /include/media/noon010pc30.h
parent22fb985adad023de15ad1a4ee0271a4dd97ed995 (diff)
downloadop-kernel-dev-f8e2e3eab8f70103fb4680e2da202e14199c199a.zip
op-kernel-dev-f8e2e3eab8f70103fb4680e2da202e14199c199a.tar.gz
[media] Add v4l2 subdev driver for NOON010PC30L image sensor
Add I2C/V4L2 subdev driver for Siliconfile NOON010PC30 CIF camera. The driver implements basic functionality, i.e. CIF/QCIF/QQCIF resolution and color format selection, automatic/manual color balance control. Other functions like cropping, rotation/flip, exposure etc. can be easily implemented if needed. Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/noon010pc30.h')
-rw-r--r--include/media/noon010pc30.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/include/media/noon010pc30.h b/include/media/noon010pc30.h
new file mode 100644
index 0000000..58eafee
--- /dev/null
+++ b/include/media/noon010pc30.h
@@ -0,0 +1,28 @@
+/*
+ * Driver header for NOON010PC30L camera sensor chip.
+ *
+ * Copyright (c) 2010 Samsung Electronics, Co. Ltd
+ * Contact: Sylwester Nawrocki <s.nawrocki@samsung.com>
+ *
+ * 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.
+ */
+
+#ifndef NOON010PC30_H
+#define NOON010PC30_H
+
+/**
+ * @clk_rate: the clock frequency in Hz
+ * @gpio_nreset: GPIO driving nRESET pin
+ * @gpio_nstby: GPIO driving nSTBY pin
+ */
+
+struct noon010pc30_platform_data {
+ unsigned long clk_rate;
+ int gpio_nreset;
+ int gpio_nstby;
+};
+
+#endif /* NOON010PC30_H */
OpenPOWER on IntegriCloud