iio: adc: mt2701: Add Mediatek auxadc driver for mt2701.
authorZhiyong Tao <zhiyong.tao@mediatek.com>
Thu, 18 Aug 2016 07:11:36 +0000 (15:11 +0800)
committerJonathan Cameron <jic23@kernel.org>
Sun, 21 Aug 2016 18:54:30 +0000 (19:54 +0100)
commitace4cdfe67be24463ad694105533e5319674f022
tree25f68b8a32fdfc4af30bdb2bf5f7f3b35c816360
parent3ad16a39eda5a77510475f2c0d384312f1db105f
iio: adc: mt2701: Add Mediatek auxadc driver for mt2701.

Add Mediatek auxadc driver based on iio.
It will register a device in iio and support iio.
So thermal can read auxadc channel to sample data by iio device.
It is tested successfully on mt2701 platform.
Mt8173 and mt6577 platforms are not tested.
But the expectation is compatible.

Signed-off-by: Zhiyong Tao <zhiyong.tao@mediatek.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/Kconfig
drivers/iio/adc/Makefile
drivers/iio/adc/mt6577_auxadc.c [new file with mode: 0644]