summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-pluto-sensors.c
diff options
context:
space:
mode:
authorCharlie Huang <chahuang@nvidia.com>2013-02-26 13:36:59 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:02:10 -0700
commitc8465d514c48d2a866a11856df985598e73be76f (patch)
tree65c12fbfeaff79f129d7ea91d6b2361e2d1af148 /arch/arm/mach-tegra/board-pluto-sensors.c
parent5733646f0adcac6dc99580deb23fa9c04c833aba (diff)
ARM: tegra: pluto: enable MAXFLASH
Program MAXFLASH_TH: The voltage of VDD_SYS that will trigger a MAXFLASH system lock up prevention control sequence. Set this to 3.4V, the most conservative setting. This value may perhaps be lowered once the behavior of the MAXFLASH system is characterized. Program LB_TMR_F: This is a timer that will trigger a re-evaluation of the MAX-FLASH conditions after the FLASH current has been reduced. Set this to 256usecs. Program LB_TMR_R: This is a timer that will trigger a re-evaluation of the MAX-FLASH conditions after the FLASH current has been reduced. Set this to 256usecs. Program MAXFLASH_HYS: set this to 200mV Program the MAXFLASH_EN: Enable the system once it is programmed correctly. bug 1239750 Change-Id: I66223cbeeed392b3959b6936e83763182622e893 Signed-off-by: Charlie Huang <chahuang@nvidia.com> Reviewed-on: http://git-master/r/204274 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board-pluto-sensors.c')
-rw-r--r--arch/arm/mach-tegra/board-pluto-sensors.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-pluto-sensors.c b/arch/arm/mach-tegra/board-pluto-sensors.c
index d5562fe99ca9..049aee84a6ba 100644
--- a/arch/arm/mach-tegra/board-pluto-sensors.c
+++ b/arch/arm/mach-tegra/board-pluto-sensors.c
@@ -168,6 +168,10 @@ static struct max77665_f_platform_data pluto_max77665_flash_pdata = {
/* .flash_on_torch = true, */
.max_total_current_mA = 1000,
.max_peak_current_mA = 600,
+ .max_flash_threshold_mV = 3400,
+ .max_flash_hysteresis_mV = 200,
+ .max_flash_lbdly_f_uS = 256,
+ .max_flash_lbdly_r_uS = 256,
.led_config[0] = {
.flash_torch_ratio = 18100,
.granularity = 1000,