staging:iio:adc: Add SPEAr ADC driver
authorStefan Roese <sr@denx.de>
Thu, 12 Apr 2012 09:05:35 +0000 (11:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Apr 2012 18:18:23 +0000 (11:18 -0700)
commitb3201b563d36eb799d3f9e14871d5dda2b11f3e8
treeed564c4124d4be56e44a8e98b987c38d2fec3bea
parent6d59ba2f9676210b4631e9c447ab1c9faf0a9577
staging:iio:adc: Add SPEAr ADC driver

This patch implements the basic single data conversion support for
the SPEAr600 SoC ADC. The register layout of SPEAr600 differs a bit
from other SPEAr SoC variants (e.g. SPEAr3xx). These differences are
handled via DT compatible testing. Resulting in a multi-arch binary.

This driver is currently tested only on SPEAr600. Future patches may add
support for other SoC variants (SPEAr3xx) and features like software
buffer or DMA.

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Viresh Kumar <viresh.kumar@st.com>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/staging/iio/adc/spear-adc.txt [new file with mode: 0644]
drivers/staging/iio/adc/Kconfig
drivers/staging/iio/adc/Makefile
drivers/staging/iio/adc/spear_adc.c [new file with mode: 0644]