summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-dalmore-sensors.c
diff options
context:
space:
mode:
authorFrank Chen <frankc@nvidia.com>2013-01-16 16:20:42 -0800
committerMandar Padmawar <mpadmawar@nvidia.com>2013-01-22 06:28:31 -0800
commit7a547b1044ec57bbb5590651a4373ca8cfee7886 (patch)
tree4f6d5fd97ed0b743f48f7e9acf3f18d8676b7949 /arch/arm/mach-tegra/board-dalmore-sensors.c
parenta0a0ceeeec6a6dbf329e9bd5dcb28b13a9a3b229 (diff)
video: tegra: imx091: lower max VI clock to 204MHz
Lower the max VI clock for imx091 from 250MHz to 204MHz. This is to match what is currently specified in the sensor mode table. This is done by lowering the clock multiplier from 10.41667 to 8.5(24MHz * 8.5 = 204MHz). On some older T114 platforms, we are not able to set VI clock to 250MHz due to the slower memory clock. This will end up slowing our VI_SENSOR clock and make frame rate lower. Bug 1207018 Change-Id: Ia8b582c740d57409b28e6aa696c29b85e23dceba Signed-off-by: Frank Chen <frankc@nvidia.com> Reviewed-on: http://git-master/r/191825 Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Gary Zhang <garyz@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-dalmore-sensors.c')
-rw-r--r--arch/arm/mach-tegra/board-dalmore-sensors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board-dalmore-sensors.c b/arch/arm/mach-tegra/board-dalmore-sensors.c
index bac5bebcfdbe..3ee7eefea5d7 100644
--- a/arch/arm/mach-tegra/board-dalmore-sensors.c
+++ b/arch/arm/mach-tegra/board-dalmore-sensors.c
@@ -1,7 +1,7 @@
/*
* arch/arm/mach-tegra/board-dalmore-sensors.c
*
- * Copyright (c) 2012 NVIDIA CORPORATION, All rights reserved.
+ * Copyright (c) 2012-2013 NVIDIA CORPORATION, All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -285,7 +285,7 @@ static struct nvc_imager_cap imx091_cap = {
.initial_clock_rate_khz = 6000,
.clock_profiles[0] = {
.external_clock_khz = 24000,
- .clock_multiplier = 10416667, /* value / 1,000,000 */
+ .clock_multiplier = 850000, /* value / 1,000,000 */
},
.clock_profiles[1] = {
.external_clock_khz = 0,