diff mbox series

driver: input: Update the snvs powerkey config dependency

Message ID 1552637131-5258-1-git-send-email-ping.bai@nxp.com (mailing list archive)
State Mainlined
Commit f06eba72274788db6a43012a05a99915c0283aef
Headers show
Series driver: input: Update the snvs powerkey config dependency | expand

Commit Message

Jacky Bai March 15, 2019, 8 a.m. UTC
the SNVS power key is not only used on i.MX6SX and i.MX7D,
it is also used by i.MX6UL and NXP's latest ARMv8 based
i.MX8M series SOC. So update the config dependency to
use ARCH_MXC, and add the COMPILE_TEST too.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
---
 drivers/input/keyboard/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Aisheng Dong March 15, 2019, 8:52 a.m. UTC | #1
> From: Jacky Bai
> 
> the SNVS power key is not only used on i.MX6SX and i.MX7D, it is also used by
> i.MX6UL and NXP's latest ARMv8 based i.MX8M series SOC. So update the
> config dependency to use ARCH_MXC, and add the COMPILE_TEST too.
> 
> Signed-off-by: Jacky Bai <ping.bai@nxp.com>

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>

Regards
Dong Aisheng
Jacky Bai April 3, 2019, 1:02 a.m. UTC | #2
Ping...

BR
Jacky Bai
> -----Original Message-----
> From: Jacky Bai
> Sent: 2019年3月15日 16:01
> To: dmitry.torokhov@gmail.com; Aisheng Dong <aisheng.dong@nxp.com>;
> festevam@gmail.com
> Cc: dl-linux-imx <linux-imx@nxp.com>; linux-input@vger.kernel.org
> Subject: [PATCH] driver: input: Update the snvs powerkey config dependency
> 
> the SNVS power key is not only used on i.MX6SX and i.MX7D, it is also used by
> i.MX6UL and NXP's latest ARMv8 based i.MX8M series SOC. So update the
> config dependency to use ARCH_MXC, and add the COMPILE_TEST too.
> 
> Signed-off-by: Jacky Bai <ping.bai@nxp.com>
> ---
>  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 a878351..52d7f55 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 || SOC_IMX7D
> +	depends on ARCH_MXC || COMPILE_TEST
>  	depends on OF
>  	help
>  	  This is the snvs powerkey driver for the Freescale i.MX application
> --
> 1.9.1
Dmitry Torokhov April 5, 2019, 5:31 p.m. UTC | #3
On Fri, Mar 15, 2019 at 08:52:01AM +0000, Aisheng Dong wrote:
> > From: Jacky Bai
> > 
> > the SNVS power key is not only used on i.MX6SX and i.MX7D, it is also used by
> > i.MX6UL and NXP's latest ARMv8 based i.MX8M series SOC. So update the
> > config dependency to use ARCH_MXC, and add the COMPILE_TEST too.
> > 
> > Signed-off-by: Jacky Bai <ping.bai@nxp.com>
> 
> Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>

Applied, thank you.
diff mbox series

Patch

diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig
index a878351..52d7f55 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 || SOC_IMX7D
+	depends on ARCH_MXC || COMPILE_TEST
 	depends on OF
 	help
 	  This is the snvs powerkey driver for the Freescale i.MX application