[PATCH] Input: set default for iProc touchscreen

Subsystems: input (keyboard, mouse, joystick, touchscreen) drivers, the rest

STALE3662d

3 messages, 2 authors, 2016-10-11 · open the first message on its own page

[PATCH] Input: set default for iProc touchscreen

From: Scott Branden <scott.branden@broadcom.com>
Date: 2016-10-08 18:11:55

Enable the Broadcom iProc touchscreen by default for all iProc platforms.

Signed-off-by: Ray Jui <rjui@broadcom.com>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
---
 drivers/input/touchscreen/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index 2fb1f43..f785371 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -364,6 +364,7 @@ config TOUCHSCREEN_ILI210X
 config TOUCHSCREEN_IPROC
 	tristate "IPROC touch panel driver support"
 	depends on ARCH_BCM_IPROC || COMPILE_TEST
+	default ARCH_BCM_IPROC
 	help
 	  Say Y here if you want to add support for the IPROC touch
 	  controller to your system.
-- 
2.5.0

Re: [PATCH] Input: set default for iProc touchscreen

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2016-10-11 17:49:55

On Sat, Oct 08, 2016 at 11:11:35AM -0700, Scott Branden wrote:
Enable the Broadcom iProc touchscreen by default for all iProc platforms.
Why? Not all of them will have touchscreen attached, will they?

Thanks.
quoted hunk
Signed-off-by: Ray Jui <rjui@broadcom.com>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
---
 drivers/input/touchscreen/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index 2fb1f43..f785371 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -364,6 +364,7 @@ config TOUCHSCREEN_ILI210X
 config TOUCHSCREEN_IPROC
 	tristate "IPROC touch panel driver support"
 	depends on ARCH_BCM_IPROC || COMPILE_TEST
+	default ARCH_BCM_IPROC
 	help
 	  Say Y here if you want to add support for the IPROC touch
 	  controller to your system.
-- 
2.5.0
-- 
Dmitry

Re: [PATCH] Input: set default for iProc touchscreen

From: Scott Branden <scott.branden@broadcom.com>
Date: 2016-10-11 19:05:10

Hi Dmitry,


On 16-10-11 10:49 AM, Dmitry Torokhov wrote:
On Sat, Oct 08, 2016 at 11:11:35AM -0700, Scott Branden wrote:
quoted
Enable the Broadcom iProc touchscreen by default for all iProc platforms.
Why? Not all of them will have touchscreen attached, will they?
Correct - the touchscreen is enabled via the dtb configuration.  But, the default option when ARCH_BCM_IPROC is selected should have the driver enabled.  This avoids having to hunt around and turn on drivers after the upper level Kconfig options are selected.  Goal is to make it easy for user to get their kernel running by having defaults set appropriately.  If user wishes to optimize kernel size they can turn off drivers they do not need for their board.
Thanks.
quoted
Signed-off-by: Ray Jui <rjui@broadcom.com>
Signed-off-by: Scott Branden <scott.branden@broadcom.com>
---
 drivers/input/touchscreen/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index 2fb1f43..f785371 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -364,6 +364,7 @@ config TOUCHSCREEN_ILI210X
 config TOUCHSCREEN_IPROC
 	tristate "IPROC touch panel driver support"
 	depends on ARCH_BCM_IPROC || COMPILE_TEST
+	default ARCH_BCM_IPROC
 	help
 	  Say Y here if you want to add support for the IPROC touch
 	  controller to your system.
--
2.5.0
Regards,
 Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help