All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/6] Kconfig: tegra: Migrate TEGRA_KEYBOARD
Date: Mon, 17 Sep 2018 13:59:37 +0000	[thread overview]
Message-ID: <1537192774.16554.34.camel@toradex.com> (raw)
In-Reply-To: <20180916172301.25982-6-pbrobinson@gmail.com>

On Sun, 2018-09-16 at 18:23 +0100, Peter Robinson wrote:
> 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>

Reviewed-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>

> ---
>  configs/seaboard_defconfig   | 1 +
>  drivers/input/Kconfig        | 6 ++++++
>  include/configs/seaboard.h   | 4 ----
>  scripts/config_whitelist.txt | 1 -
>  4 files changed, 7 insertions(+), 5 deletions(-)
> 
> diff --git a/configs/seaboard_defconfig b/configs/seaboard_defconfig
> index 917ddcce3f3..f9638e6016d 100644
> --- a/configs/seaboard_defconfig
> +++ b/configs/seaboard_defconfig
> @@ -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
> diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig
> index 7ffb949f12d..a1353848c22 100644
> --- a/drivers/input/Kconfig
> +++ b/drivers/input/Kconfig
> @@ -25,6 +25,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
> diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h
> index c5fa9cc4208..5df013b0b32 100644
> --- a/include/configs/seaboard.h
> +++ b/include/configs/seaboard.h
> @@ -31,10 +31,6 @@
>  #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
>  
> diff --git a/scripts/config_whitelist.txt
> b/scripts/config_whitelist.txt
> index 5813e884e2f..3dc14a2dd92 100644
> --- a/scripts/config_whitelist.txt
> +++ b/scripts/config_whitelist.txt
> @@ -4436,7 +4436,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

  reply	other threads:[~2018-09-17 13:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-16 17:22 [U-Boot] Some tegra cleanups and Kconfig migrations Peter Robinson
2018-09-16 17:22 ` [U-Boot] [PATCH 1/6] tegra: cleanup dangling comments in include/configs Peter Robinson
2018-09-17 10:00   ` Marcel Ziswiler
2018-09-16 17:22 ` [U-Boot] [PATCH 2/6] tegra20: common: fix USB_EHCI_TXFIFO_THRESH value Peter Robinson
2018-09-17 10:10   ` Marcel Ziswiler
2018-09-16 17:22 ` [U-Boot] [PATCH 3/6] Kconfig: tegra: Migrate SYS_I2C_TEGRA Peter Robinson
2018-09-17 13:52   ` Marcel Ziswiler
2018-09-16 17:23 ` [U-Boot] [PATCH 4/6] Kconfig: tegra: Migrate USB_EHCI_TEGRA Peter Robinson
2018-09-17 13:51   ` Marcel Ziswiler
2018-09-17 13:54     ` Marcel Ziswiler
2018-09-16 17:23 ` [U-Boot] [PATCH 5/6] Kconfig: tegra: Migrate TEGRA_KEYBOARD Peter Robinson
2018-09-17 13:59   ` Marcel Ziswiler [this message]
2018-09-16 17:23 ` [U-Boot] [PATCH 6/6] nyan-big: drop CONFIG_KEYBOARD Peter Robinson
2018-09-17 14:04   ` Marcel Ziswiler
2018-11-07 14:12 ` [U-Boot] Some tegra cleanups and Kconfig migrations Peter Robinson
2018-11-07 15:17   ` Tom Warren
2018-11-07 15:31     ` Tom Warren
2018-12-04  5:30       ` Peter Robinson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1537192774.16554.34.camel@toradex.com \
    --to=marcel.ziswiler@toradex.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.