iio: at91: Use different prescal, startup mask in MR for different IP
authorJosh Wu <josh.wu@atmel.com>
Tue, 27 Aug 2013 11:28:00 +0000 (12:28 +0100)
committerJonathan Cameron <jic23@kernel.org>
Thu, 29 Aug 2013 20:49:28 +0000 (21:49 +0100)
commit9120c0bea999cc26c3493486828d34138a7ac901
tree36c7f48edfc9ca1b5e9a74186c4490faba7dd457
parente1811f97ba985fef3f703f55aeb5d23660c919ef
iio: at91: Use different prescal, startup mask in MR for different IP

For at91 boards, there are different IPs for adc. Different IPs has different
STARTUP & PRESCAL mask in ADC_MR.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
arch/arm/mach-at91/include/mach/at91_adc.h
drivers/iio/adc/at91_adc.c
include/linux/platform_data/at91_adc.h