diff options
author | Wei Chen <wechen@nvidia.com> | 2012-10-18 17:27:10 -0700 |
---|---|---|
committer | Mrutyunjay Sawant <msawant@nvidia.com> | 2012-10-29 07:23:49 -0700 |
commit | 54c971ab7097e2489f7ccb39419ae6ecccc107f3 (patch) | |
tree | c87d19a376e7750508a31b5d869ae6add7e15d03 /drivers/media/video | |
parent | dd2c910c29ca1c96f1663aece1213f9b34ea5169 (diff) |
media: video: tegra: add bits/pixel to nvc header
Add bits_per_pixel to nvc header to make the
calculation of pixel clock uniform across
different sensors.
Bug 1041786
Change-Id: I3ec9acc9b6f16dbdb57d6d69511a318e8ad81fd6
Signed-off-by: Wei Chen <wechen@nvidia.com>
Reviewed-on: http://git-master/r/147736
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Philip Breczinski <pbreczinski@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/tegra/ov9772.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/video/tegra/ov9772.c b/drivers/media/video/tegra/ov9772.c index d55a5c62ce67..bfea5fecd43c 100644 --- a/drivers/media/video/tegra/ov9772.c +++ b/drivers/media/video/tegra/ov9772.c @@ -261,6 +261,7 @@ static struct ov9772_platform_data ov9772_dflt_pdata = { static struct nvc_imager_static_nvc ov9772_dflt_sdata = { .api_version = NVC_IMAGER_API_STATIC_VER, .sensor_type = OV9772_SENSOR_TYPE, + .bits_per_pixel = 10, .sensor_id = OV9772_ID, .sensor_id_minor = 0, .focal_len = OV9772_LENS_FOCAL_LENGTH, @@ -437,8 +438,8 @@ static struct ov9772_mode_data ov9772_1284x724 = { .inherent_gain_bin_en = 1000, /* / _INT2FLOAT_DIVISOR */ .support_bin_control = 0, .support_fast_mode = 0, - .pll_mult = 0x003C, - .pll_div = 0x0028, + .pll_mult = 60, + .pll_div = 4, }, .p_mode_i2c = ov9772_1284x724_i2c, }; |