瀏覽代碼

Input: ar1021_i2c - highlight support for AR1020

ar1021_i2c also supports the ar1020 device I'm using. This is tested.
They also share the same datasheet:

   http://ww1.microchip.com/downloads/en/DeviceDoc/40001393C.pdf

So let users see that they have a compatible in front of them by adding
AR1020 to the driver's description.

Signed-off-by: Martin Kepplinger <martin.kepplinger@ginzinger.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Martin Kepplinger 8 年之前
父節點
當前提交
021cbc1eda
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 3 3
      drivers/input/touchscreen/Kconfig
  2. 2 2
      drivers/input/touchscreen/ar1021_i2c.c

+ 3 - 3
drivers/input/touchscreen/Kconfig

@@ -93,11 +93,11 @@ config TOUCHSCREEN_AD7879_SPI
 	  module will be called ad7879-spi.
 	  module will be called ad7879-spi.
 
 
 config TOUCHSCREEN_AR1021_I2C
 config TOUCHSCREEN_AR1021_I2C
-	tristate "Microchip AR1021 i2c touchscreen"
+	tristate "Microchip AR1020/1021 i2c touchscreen"
 	depends on I2C && OF
 	depends on I2C && OF
 	help
 	help
-	  Say Y here if you have the Microchip AR1021 touchscreen controller
-	  chip in your system.
+	  Say Y here if you have the Microchip AR1020 or AR1021 touchscreen
+	  controller chip in your system.
 
 
 	  If unsure, say N.
 	  If unsure, say N.
 
 

+ 2 - 2
drivers/input/touchscreen/ar1021_i2c.c

@@ -1,5 +1,5 @@
 /*
 /*
- * Microchip AR1021 driver for I2C
+ * Microchip AR1020 and AR1021 driver for I2C
  *
  *
  * Author: Christian Gmeiner <christian.gmeiner@gmail.com>
  * Author: Christian Gmeiner <christian.gmeiner@gmail.com>
  *
  *
@@ -175,5 +175,5 @@ static struct i2c_driver ar1021_i2c_driver = {
 module_i2c_driver(ar1021_i2c_driver);
 module_i2c_driver(ar1021_i2c_driver);
 
 
 MODULE_AUTHOR("Christian Gmeiner <christian.gmeiner@gmail.com>");
 MODULE_AUTHOR("Christian Gmeiner <christian.gmeiner@gmail.com>");
-MODULE_DESCRIPTION("Microchip AR1021 I2C Driver");
+MODULE_DESCRIPTION("Microchip AR1020 and AR1021 I2C Driver");
 MODULE_LICENSE("GPL");
 MODULE_LICENSE("GPL");