diff options
author | Charlie Huang <chahuang@nvidia.com> | 2011-08-30 16:17:19 -0700 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-11-07 13:33:22 -0800 |
commit | d78e68ce3820da556d1f74b33f7c42fe0d899086 (patch) | |
tree | baeb7c54f902b7ed09e7545e14bf95a0724b5745 /include | |
parent | 61dd9adfdfeaad46d0e7132c817a91b9881046fa (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: I127f775a7bc25bdbbb2bec27984249ca0074b7ae
Reviewed-on: http://git-master/r/60967
Reviewed-by: Charlie Huang <chahuang@nvidia.com>
Tested-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/media/ar0832_main.h | 5 |
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, |