rockchip: imply ADC and SARADC_ROCKCHIP for Rockchip SOCs
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 20 Sep 2017 11:50:13 +0000 (13:50 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sat, 30 Sep 2017 22:33:31 +0000 (00:33 +0200)
Enable the Rockchip SARADC driver for all Rockchip SoCs.

Note that the SARADC peripheral is available on all SoCs except the
RK3036 and RK3228.  However, as this is a DM-driver, enabling by
default will not cause any function problems (and can always be
changed from defconfig, if size is a concern).

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: David Wu <david.wu@rock-chips.com>
arch/arm/Kconfig

index fca23b4e64e9c3360cba3529da5dcfc8d4ed4b12..f0135307df7150ac8e78136578369b6362040d9a 100644 (file)
@@ -1115,6 +1115,8 @@ config ARCH_ROCKCHIP
        imply FAT_WRITE
        imply USB_FUNCTION_FASTBOOT
        imply SPL_SYSRESET
+       imply ADC
+       imply SARADC_ROCKCHIP
 
 config TARGET_THUNDERX_88XX
        bool "Support ThunderX 88xx"