]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: khadas-vim3: enable ADC device support
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 16 Dec 2020 07:51:56 +0000 (08:51 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 11 Jan 2021 13:59:54 +0000 (14:59 +0100)
Analog to Digital Converter device (Meson SARADC) will be used for
probing 'Function' button state.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
[narmstrong: also updated khadas-vim3l_defconfig]
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
configs/khadas-vim3_defconfig
configs/khadas-vim3l_defconfig

index 9d7ba72d440d984ff20c5ec51d8c904941489b51..5d16652fd63e31d94d98a7c93ff8d4335a3a67de 100644 (file)
@@ -29,6 +29,8 @@ CONFIG_CMD_REGULATOR=y
 CONFIG_OF_CONTROL=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_ADC=y
+CONFIG_SARADC_MESON=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MESON=y
 CONFIG_DM_MMC=y
index f37993e580deee4755223835cf78b88b99443218..6b13ce045c9147f418a5917830aa5fe342811204 100644 (file)
@@ -29,6 +29,8 @@ CONFIG_CMD_REGULATOR=y
 CONFIG_OF_CONTROL=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
+CONFIG_ADC=y
+CONFIG_SARADC_MESON=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MESON=y
 CONFIG_DM_MMC=y