summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorFrank.Li <Frank.Li@freescale.com>2009-11-13 17:00:55 -0600
committerFrank.Li <Frank.Li@freescale.com>2009-11-16 09:49:45 -0600
commit6427a959b219a568d44cf568221337ec3d1ded24 (patch)
tree0fb3598ea591e4189acf87c08f6b384ecb514261 /arch
parent9cd599b6cc1c0e0a83720b0996c2645e2b0c095d (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 */