diff options
author | Naren Bhat <nbhat@nvidia.com> | 2012-08-20 12:39:16 -0700 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-08-21 19:50:23 -0700 |
commit | a83be233254b0f8c85aa4c8d0aa33fd3071ec962 (patch) | |
tree | 40382c219f2026a3357e4b91d82aa7ade3ca5362 /include | |
parent | be0628b0eec72d488503b155d45429c660f37ec9 (diff) |
media: video: tegra: ar0832: Add slew rate support
Add slew rate support for AR0832 focuser.
bug 1028733
Change-Id: I4fd0245fad7f7c820fc30a7c4bfc970d52903da6
Signed-off-by: Naren Bhat <nbhat@nvidia.com>
Reviewed-on: http://git-master/r/124695
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/media/nvc_focus.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/media/nvc_focus.h b/include/media/nvc_focus.h index e37d897d8323..2c60db318da2 100644 --- a/include/media/nvc_focus.h +++ b/include/media/nvc_focus.h @@ -35,6 +35,14 @@ #define AF_POS_INVALID_VALUE INT_MAX +/* These are the slew rate values coming down from the configuration */ +/* Disabled is the same as fastest. Default is the default */ +/* slew rate configuration in the focuser */ +#define SLEW_RATE_DISABLED 0 +#define SLEW_RATE_DEFAULT 1 +#define SLEW_RATE_SLOWEST 9 + + enum nvc_focus_sts { NVC_FOCUS_STS_UNKNOWN = 1, NVC_FOCUS_STS_NO_DEVICE, |