Kconfig: tegra: Migrate TEGRA_KEYBOARD
authorPeter Robinson <pbrobinson@gmail.com>
Wed, 20 Feb 2019 12:17:28 +0000 (12:17 +0000)
committerTom Warren <twarren@nvidia.com>
Wed, 20 Feb 2019 16:01:45 +0000 (09:01 -0700)
Migrate TEGRA_KEYBOARD from headers to Kconfig, only the seaboard uses it but we
drop CONFIG_KEYBOARD as the driver doesn't use the legacy drv_keyboard_init.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Cc: Tom Warren <twarren@nvidia.com>
Cc: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
configs/seaboard_defconfig
drivers/input/Kconfig
include/configs/seaboard.h
scripts/config_whitelist.txt

index 304a292133ba6b66f45a9b72acb74fb9e61d9952..aa46f068c36bb455cd41c58fca5e7af7a2d7d516 100644 (file)
@@ -23,6 +23,7 @@ CONFIG_CMD_EXT4_WRITE=y
 CONFIG_DEFAULT_DEVICE_TREE="tegra20-seaboard"
 CONFIG_ENV_IS_IN_MMC=y
 CONFIG_SYS_I2C_TEGRA=y
+CONFIG_TEGRA_KEYBOARD=y
 CONFIG_SPL_DM=y
 CONFIG_DM_PMIC=y
 CONFIG_DM_REGULATOR=y
index 7afdafed94825781968f6ffb6021f816c65903b2..a3bdd9fa3467bcb508e20a6a0c7903106e4c093d 100644 (file)
@@ -73,6 +73,12 @@ config I8042_KEYB
          variable 'keymap' to "de" to select German. Keyboard repeat is
          handled by the keyboard itself.
 
+config TEGRA_KEYBOARD
+       bool "NVIDIA Tegra internal matrix keyboard controller support"
+       help
+         A matrix keyboard connected directly to the internal keyboard
+         controller on Tegra SoCs.
+
 config TWL4030_INPUT
        bool "Enable TWL4030 Input controller"
        help
index c5fa9cc4208be11510960ba6d38ca285cf9ce0fd..5df013b0b3214b4db65a3dae6448c2bcaa4b9b20 100644 (file)
 #define CONFIG_SYS_MMC_ENV_DEV 0
 #define CONFIG_SYS_MMC_ENV_PART 2
 
-/* Enable keyboard */
-#define CONFIG_TEGRA_KEYBOARD
-#define CONFIG_KEYBOARD
-
 /* NAND support */
 #define CONFIG_TEGRA_NAND
 
index 4c7602ab34df2ee19d16f00e92b8e0199c31e901..2c323b62de3b5cccb367317aaea25dde97f0c642 100644 (file)
@@ -4393,7 +4393,6 @@ CONFIG_TEGRA_ENABLE_UARTC
 CONFIG_TEGRA_ENABLE_UARTD
 CONFIG_TEGRA_ENABLE_UARTE
 CONFIG_TEGRA_GPU
-CONFIG_TEGRA_KEYBOARD
 CONFIG_TEGRA_LP0
 CONFIG_TEGRA_NAND
 CONFIG_TEGRA_PMU