[v5,4/4] configs: khadas-vim3(l): enable Function button support

Message ID 20210126095036.6429-5-m.szyprowski@samsung.com
State Superseded
Headers show
Series
  • VIM3: add support for checking 'Function' button state
Related show

Commit Message

Marek Szyprowski Jan. 26, 2021, 9:50 a.m.
Add options required to check the 'Function' button state.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

---
 configs/khadas-vim3_defconfig  | 2 ++
 configs/khadas-vim3l_defconfig | 2 ++
 2 files changed, 4 insertions(+)

-- 
2.17.1

Comments

Simon Glass Feb. 1, 2021, 8:38 p.m. | #1
On Tue, 26 Jan 2021 at 02:51, Marek Szyprowski <m.szyprowski@samsung.com> wrote:
>

> Add options required to check the 'Function' button state.

>

> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>

> ---

>  configs/khadas-vim3_defconfig  | 2 ++

>  configs/khadas-vim3l_defconfig | 2 ++

>  2 files changed, 4 insertions(+)

>


Reviewed-by: Simon Glass <sjg@chromium.org>

Patch

diff --git a/configs/khadas-vim3_defconfig b/configs/khadas-vim3_defconfig
index 5d16652fd6..bc17430569 100644
--- a/configs/khadas-vim3_defconfig
+++ b/configs/khadas-vim3_defconfig
@@ -31,6 +31,8 @@  CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_ADC=y
 CONFIG_SARADC_MESON=y
+CONFIG_BUTTON=y
+CONFIG_BUTTON_ADC=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MESON=y
 CONFIG_DM_MMC=y
diff --git a/configs/khadas-vim3l_defconfig b/configs/khadas-vim3l_defconfig
index 6b13ce045c..c1877922c7 100644
--- a/configs/khadas-vim3l_defconfig
+++ b/configs/khadas-vim3l_defconfig
@@ -31,6 +31,8 @@  CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_ADC=y
 CONFIG_SARADC_MESON=y
+CONFIG_BUTTON=y
+CONFIG_BUTTON_ADC=y
 CONFIG_DM_I2C=y
 CONFIG_SYS_I2C_MESON=y
 CONFIG_DM_MMC=y