2019-01-28 17:23:16

by Stefan Agner

[permalink] [raw]
Subject: [PATCH 1/3] input: keyboard: allow to select IMX SNVS Power Key driver for i.MX 7D

The i.MX SNVS Power Key driver supports the i.MX 7D SoC family too.
Allow to enable the i.MX SNVS Power Key driver even if only i.MX 7D
SoC is selected.

Signed-off-by: Stefan Agner <[email protected]>
---
drivers/input/keyboard/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig
index 4713957b0cbb..a878351f1643 100644
--- a/drivers/input/keyboard/Kconfig
+++ b/drivers/input/keyboard/Kconfig
@@ -420,7 +420,7 @@ config KEYBOARD_MPR121

config KEYBOARD_SNVS_PWRKEY
tristate "IMX SNVS Power Key Driver"
- depends on SOC_IMX6SX
+ depends on SOC_IMX6SX || SOC_IMX7D
depends on OF
help
This is the snvs powerkey driver for the Freescale i.MX application
--
2.20.1



2019-01-28 18:27:29

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [PATCH 1/3] input: keyboard: allow to select IMX SNVS Power Key driver for i.MX 7D

On Mon, Jan 28, 2019 at 05:03:05PM +0100, Stefan Agner wrote:
> The i.MX SNVS Power Key driver supports the i.MX 7D SoC family too.
> Allow to enable the i.MX SNVS Power Key driver even if only i.MX 7D
> SoC is selected.
>
> Signed-off-by: Stefan Agner <[email protected]>

Applied, thank you.

> ---
> drivers/input/keyboard/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig
> index 4713957b0cbb..a878351f1643 100644
> --- a/drivers/input/keyboard/Kconfig
> +++ b/drivers/input/keyboard/Kconfig
> @@ -420,7 +420,7 @@ config KEYBOARD_MPR121
>
> config KEYBOARD_SNVS_PWRKEY
> tristate "IMX SNVS Power Key Driver"
> - depends on SOC_IMX6SX
> + depends on SOC_IMX6SX || SOC_IMX7D
> depends on OF
> help
> This is the snvs powerkey driver for the Freescale i.MX application
> --
> 2.20.1
>

--
Dmitry