OSDN Git Service

ARM: AT91: Add platform data for the AT91 ADCs
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 11 May 2012 13:35:32 +0000 (15:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 May 2012 20:17:49 +0000 (13:17 -0700)
commitaaeb6dfff02f9c1077c2a09c45b99f6255ef9159
treef47ac3ebc88b53f5a64c6ab3e12546dbc0bd65d3
parente71d42e03c60d215bde295d2b986bbc96878c7d6
ARM: AT91: Add platform data for the AT91 ADCs

The AT91 SoCs often embeds an ADC. This patch adds the needed
platform data to specify the informations required by the driver
to work properly.

For now, we only need the reference voltage and which channels
are available on the board.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/platform_data/at91_adc.h [new file with mode: 0644]