All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Adding Wacom I2C stylus support
@ 2011-12-19  5:05 Tatsunosuke Tobita
  2011-12-19  5:22 ` Wanlong Gao
  0 siblings, 1 reply; 2+ messages in thread
From: Tatsunosuke Tobita @ 2011-12-19  5:05 UTC (permalink / raw)
  To: linux-input; +Cc: Tatsunosuke Tobita

From: Tatsunosuke Tobita <tobita.tatsunosuke@wacom.co.jp>


Signed-off-by: Tatsunosuke Tobita <tobita.tatsunosuke@wacom.co.jp>
---
 drivers/input/touchscreen/Kconfig  |   11 +++++++++++
 drivers/input/touchscreen/Makefile |    2 ++
 2 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
index 3488ffe..cae448e 100644
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -738,4 +738,15 @@ config TOUCHSCREEN_TPS6507X
 	  To compile this driver as a module, choose M here: the
 	  module will be called tps6507x_ts.
 
+config TOUCHSCREEN_WACOM_I2C
+	tristate "Wacom Tablet support(I2C)"
+	depends on I2C
+	help
+	 Say Y here if you want to use the I2C version of the Wacom Pen.
+	 Make sure to say Y to "Mouse support" (CONFIG_INPUT_MOUSEDEV)
+	 and/or "Event interface support" (CONFIG_INPUT_EVDEV) as well.
+
+	 To compile this driver as a module, choose M here: the module
+	 will be called wacom_i2c.
+
 endif
diff --git a/drivers/input/touchscreen/Makefile b/drivers/input/touchscreen/Makefile
index f957676..216dd57 100644
--- a/drivers/input/touchscreen/Makefile
+++ b/drivers/input/touchscreen/Makefile
@@ -5,6 +5,7 @@
 # Each configuration option enables a list of files.
 
 wm97xx-ts-y := wm97xx-core.o
+wacom_i2c-ts-objs := wacom_i2c_func.o wacom_i2c.o
 
 obj-$(CONFIG_TOUCHSCREEN_88PM860X)	+= 88pm860x-ts.o
 obj-$(CONFIG_TOUCHSCREEN_AD7877)	+= ad7877.o
@@ -61,3 +62,4 @@ obj-$(CONFIG_TOUCHSCREEN_WM97XX_MAINSTONE)	+= mainstone-wm97xx.o
 obj-$(CONFIG_TOUCHSCREEN_WM97XX_ZYLONITE)	+= zylonite-wm97xx.o
 obj-$(CONFIG_TOUCHSCREEN_W90X900)	+= w90p910_ts.o
 obj-$(CONFIG_TOUCHSCREEN_TPS6507X)	+= tps6507x-ts.o
+obj-$(CONFIG_TOUCHSCREEN_WACOM_I2C)	+= wacom_i2c-ts.o
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Adding Wacom I2C stylus support
  2011-12-19  5:05 [PATCH] Adding Wacom I2C stylus support Tatsunosuke Tobita
@ 2011-12-19  5:22 ` Wanlong Gao
  0 siblings, 0 replies; 2+ messages in thread
From: Wanlong Gao @ 2011-12-19  5:22 UTC (permalink / raw)
  To: Tatsunosuke Tobita; +Cc: linux-input, Tatsunosuke Tobita, dmitry.torokhov

On 12/19/2011 01:05 PM, Tatsunosuke Tobita wrote:

> From: Tatsunosuke Tobita <tobita.tatsunosuke@wacom.co.jp>
> 
> 


At least, add a short comment here?

> Signed-off-by: Tatsunosuke Tobita <tobita.tatsunosuke@wacom.co.jp>
> ---
>  drivers/input/touchscreen/Kconfig  |   11 +++++++++++
>  drivers/input/touchscreen/Makefile |    2 ++
>  2 files changed, 13 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/input/touchscreen/Kconfig b/drivers/input/touchscreen/Kconfig
> index 3488ffe..cae448e 100644
> --- a/drivers/input/touchscreen/Kconfig
> +++ b/drivers/input/touchscreen/Kconfig
> @@ -738,4 +738,15 @@ config TOUCHSCREEN_TPS6507X
>  	  To compile this driver as a module, choose M here: the
>  	  module will be called tps6507x_ts.
>  
> +config TOUCHSCREEN_WACOM_I2C
> +	tristate "Wacom Tablet support(I2C)"
> +	depends on I2C
> +	help
> +	 Say Y here if you want to use the I2C version of the Wacom Pen.
> +	 Make sure to say Y to "Mouse support" (CONFIG_INPUT_MOUSEDEV)
> +	 and/or "Event interface support" (CONFIG_INPUT_EVDEV) as well.
> +
> +	 To compile this driver as a module, choose M here: the module
> +	 will be called wacom_i2c.
> +
>  endif
> diff --git a/drivers/input/touchscreen/Makefile b/drivers/input/touchscreen/Makefile
> index f957676..216dd57 100644
> --- a/drivers/input/touchscreen/Makefile
> +++ b/drivers/input/touchscreen/Makefile
> @@ -5,6 +5,7 @@
>  # Each configuration option enables a list of files.
>  
>  wm97xx-ts-y := wm97xx-core.o
> +wacom_i2c-ts-objs := wacom_i2c_func.o wacom_i2c.o


Why do you add this line? or if I missed something?

Thanks
-Wanlong Gao

>  
>  obj-$(CONFIG_TOUCHSCREEN_88PM860X)	+= 88pm860x-ts.o
>  obj-$(CONFIG_TOUCHSCREEN_AD7877)	+= ad7877.o
> @@ -61,3 +62,4 @@ obj-$(CONFIG_TOUCHSCREEN_WM97XX_MAINSTONE)	+= mainstone-wm97xx.o
>  obj-$(CONFIG_TOUCHSCREEN_WM97XX_ZYLONITE)	+= zylonite-wm97xx.o
>  obj-$(CONFIG_TOUCHSCREEN_W90X900)	+= w90p910_ts.o
>  obj-$(CONFIG_TOUCHSCREEN_TPS6507X)	+= tps6507x-ts.o
> +obj-$(CONFIG_TOUCHSCREEN_WACOM_I2C)	+= wacom_i2c-ts.o



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-19  5:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-19  5:05 [PATCH] Adding Wacom I2C stylus support Tatsunosuke Tobita
2011-12-19  5:22 ` Wanlong Gao

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.