dm: adc: Add driver for Rockchip SARADC
authorDavid Wu <david.wu@rock-chips.com>
Wed, 20 Sep 2017 06:28:16 +0000 (14:28 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sat, 30 Sep 2017 22:33:29 +0000 (00:33 +0200)
commitae3ed042ed31d1acbdd56938b45bd6c5076bebe3
treea90cc8b9d741782bf0d2dd5f12299d2f6f264ed3
parent6ca43a58db61aea8ca2ebec4003bb6cfacf81d46
dm: adc: Add driver for Rockchip SARADC

The ADC can support some channels signal-ended some bits Successive Approximation
Register (SAR) A/D Converter, like 6-channel and 10-bit. It converts the analog
input signal into some bits binary digital codes.

Signed-off-by: David Wu <david.wu@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
drivers/adc/Kconfig
drivers/adc/Makefile
drivers/adc/rockchip-saradc.c [new file with mode: 0644]