]> git.baikalelectronics.ru Git - kernel.git/commit
iio: adc: add support for Berlin
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Mon, 18 May 2015 09:19:18 +0000 (11:19 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 23 May 2015 09:47:40 +0000 (10:47 +0100)
commitfce5fdffb060e98dd2943eb55fee0bbd29a19fbb
treee46826ed70a64c04398392ebe56a5563b5b015c7
parentc2cd9c00ea46b0605078db80e2202ecfa094084f
iio: adc: add support for Berlin

This patch adds the support of the Berlin ADC, available on Berlin SoCs.
This ADC has 8 channels available, with one connected to a temperature
sensor.

The particularity here, is that the temperature sensor connected to the
ADC has its own registers, and both the ADC and the temperature sensor
must be configured when using it.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/Kconfig
drivers/iio/adc/Makefile
drivers/iio/adc/berlin2-adc.c [new file with mode: 0644]