summaryrefslogtreecommitdiff
path: root/include/media/ov9772.h
diff options
context:
space:
mode:
authorDavid Schalig <dschalig@nvidia.com>2013-05-31 17:58:45 +0900
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:16:30 -0700
commit190816fbbe34b9168fd7f852d645fc5f441d4052 (patch)
tree7b9c6b4f5039fe5a9d2c1d8267cea8eaa53b15c2 /include/media/ov9772.h
parentf1a370454396bd496aaea60c7bfbb8ed685b369d (diff)
media: video: tegra: ov9772: move MCLK into sensor
Move MCLK control from tegra_camera into sensor driver, to allow for full control over MCLK rate and enable timing, per sensor power-on/off sequence specification. Bug 1298672 Change-Id: I38990e3a830b93368c6d7800a8d2207aeaada08a Signed-off-by: David Schalig <dschalig@nvidia.com> Reviewed-on: http://git-master/r/234466 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'include/media/ov9772.h')
-rw-r--r--include/media/ov9772.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/ov9772.h b/include/media/ov9772.h
index 82075b7e384e..161083a60604 100644
--- a/include/media/ov9772.h
+++ b/include/media/ov9772.h
@@ -46,6 +46,7 @@ struct ov9772_platform_data {
unsigned lens_fnumber; /* / _INT2FLOAT_DIVISOR */
unsigned lens_view_angle_h; /* / _INT2FLOAT_DIVISOR */
unsigned lens_view_angle_v; /* / _INT2FLOAT_DIVISOR */
+ const char *mclk_name;
int (*probe_clock)(unsigned long);
int (*power_on)(struct ov9772_power_rail *);
int (*power_off)(struct ov9772_power_rail *);