]> git.baikalelectronics.ru Git - kernel.git/commit
iio: adc: rockchip_saradc: add support for rk3066-tsadc variant
authorHeiko Stübner <heiko@sntech.de>
Mon, 15 Sep 2014 21:47:00 +0000 (22:47 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 21 Sep 2014 12:39:36 +0000 (13:39 +0100)
commitb3f4a7ab905cb0d4adc4e2e3290d0de6a7b87f08
tree2ea87caead17a184a5527eb8f32fd32a4a2e5d50
parent4627f5567c37bcd4da12c889a4879b4288701b6a
iio: adc: rockchip_saradc: add support for rk3066-tsadc variant

Older Rockchip SoCs, at least the rk3066, used a slightly modified saradc
for temperature measurements. This so called tsadc does not contain any
active parts like temperature interrupts and only supports polling the
current temperature. The returned voltage can then be converted by a
suitable thermal driver to and actual temperature and used for thermal
handling.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/adc/rockchip-saradc.txt
drivers/iio/adc/rockchip_saradc.c