aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/plat-samsung/include/plat/regs-adc.h
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2010-01-30 18:01:48 +0100
committerBen Dooks <ben-linux@fluff.org>2010-02-03 01:55:04 +0000
commit91492b4a04586e7cb191c72de9d1b22545a3ce16 (patch)
tree326e6e522f0edee936a31e1e2b83df0db0fa73c1 /arch/arm/plat-samsung/include/plat/regs-adc.h
parentcf9814eb6d83f066d5db63f4144598e9c6ca2951 (diff)
ARM: SAMSUNG: Add support for 12bit ADC
The S3C64XX SoC series support 12bit ADC data, enable this and mask the data accordingly. Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-samsung/include/plat/regs-adc.h')
-rw-r--r--arch/arm/plat-samsung/include/plat/regs-adc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/regs-adc.h b/arch/arm/plat-samsung/include/plat/regs-adc.h
index f43c8dab39e..7554c4fcddb 100644
--- a/arch/arm/plat-samsung/include/plat/regs-adc.h
+++ b/arch/arm/plat-samsung/include/plat/regs-adc.h
@@ -25,6 +25,7 @@
/* ADCCON Register Bits */
+#define S3C64XX_ADCCON_RESSEL (1<<16)
#define S3C2410_ADCCON_ECFLG (1<<15)
#define S3C2410_ADCCON_PRSCEN (1<<14)
#define S3C2410_ADCCON_PRSCVL(x) (((x)&0xFF)<<6)