iio: adc: at91-sama5d2_adc: add hw trigger and buffer support
authorEugen Hristev <eugen.hristev@microchip.com>
Thu, 15 Jun 2017 13:24:57 +0000 (16:24 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sat, 1 Jul 2017 09:16:39 +0000 (10:16 +0100)
commit5e1a1da0f8c9142902a97fe48b008860f5c7a305
treea9c3c104abe9669b38138d873c35a881561c80f1
parent6ab6b4ec00d49c7459b823b82709e82543c79781
iio: adc: at91-sama5d2_adc: add hw trigger and buffer support

Added support for the external hardware trigger on pin ADTRG,
integrated the three possible edges into the driver
and created buffer management for data retrieval

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/at91-sama5d2_adc.c