summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorFrank.Li <Frank.Li@freescale.com>2009-11-13 17:00:55 -0600
committerJustin Waters <justin.waters@timesys.com>2010-03-25 14:00:50 -0400
commitef0eee4c936c80e222d15c8d0f24449c4ea6adca (patch)
tree0fb3598ea591e4189acf87c08f6b384ecb514261 /arch
parentf77745dcf4d68024beaa5b26e08ec5bc5bc467d5 (diff)
ENGR00118444 iMX23 Change die temperature measure change to LRADC1
LRADC7 for measurements other than battery voltage will cause the wrong value to be copied over to the power supply. Connecting 5V and then disconnecting to run from battery will be unstable. This fix change LRADC7 to LRADC1 to measure die temparature Signed-off-by: Frank.Li <Frank.Li@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/plat-stmp3xxx/include/mach/lradc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-stmp3xxx/include/mach/lradc.h b/arch/arm/plat-stmp3xxx/include/mach/lradc.h
index 56b686896f29..0de832bbed68 100644
--- a/arch/arm/plat-stmp3xxx/include/mach/lradc.h
+++ b/arch/arm/plat-stmp3xxx/include/mach/lradc.h
@@ -56,5 +56,6 @@ void hw_lradc_clear_delay_trigger(int trigger, u32 trigger_lradc,
#define LRADC_DELAY_TRIGGER_BUTTON 0
#define LRADC_DELAY_TRIGGER_BATTERY 1
#define LRADC_DELAY_TRIGGER_TOUCHSCREEN 2
+#define LRADC_DELAY_TRIGGER_DIE 3
#endif /* __ASM_PLAT_LRADC_H */