summaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
authorCharlie Huang <chahuang@nvidia.com>2011-08-30 16:17:19 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:49:36 -0800
commit2bca625475860851310c2df648b4211260454902 (patch)
tree5fa3d7ca64b5cced66a5a914f9295b312d9d6ae0 /include/media
parent1ad27c08ef987c15ed7e0cf26945b69285eb9b80 (diff)
media: video: tegra: ar0832: Sunny P8M01E support
Add support of Sunny P8M01E module (AKA aptina 8141) This new module is identical with 8140 plus pixel improvement. Use different recommended register settings for each sensor. Add function to figure out the sensor id and let the odm driver pick up the right config data. Bug 868929 Original Gerrit: http://git-master/r/#change,53022 (cherry picked from commit f59f83468f71980c9ce3204df3a34f2aafffc512) Change-Id: Ibed03f01b13a22a75753f8495ab17eb6077a99d3 Reviewed-on: http://git-master/r/60765 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R10688d303b3b7c401a58c8fb069654dade019d47
Diffstat (limited to 'include/media')
-rw-r--r--include/media/ar0832_main.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/media/ar0832_main.h b/include/media/ar0832_main.h
index 6cf45585fd1d..f5e3713b46fb 100644
--- a/include/media/ar0832_main.h
+++ b/include/media/ar0832_main.h
@@ -26,6 +26,11 @@
#define AR0832_FOCUSER_IOCTL_GET_CONFIG _IOR('o', 0x10, struct ar0832_focuser_config)
#define AR0832_FOCUSER_IOCTL_SET_POSITION _IOW('o', 0x11, __u32)
+#define AR0832_IOCTL_GET_SENSOR_ID _IOR('o', 0x12, __u16)
+
+#define AR0832_SENSOR_ID_8141 0x1006
+#define AR0832_SENSOR_ID_8140 0x3006
+
enum ar0832_test_pattern {
TEST_PATTERN_NONE,
TEST_PATTERN_COLORBARS,