Adds support for the i2c based tsc2004.

Due to the overlapping functionality of the tsc2004 and tsc2005
the common code was moved to a core driver (tsc200x-core).

v4: Break patch into series. Isolates the I2C and SPI commands to
respective drivers.
v3: Splits the tsc2004 and tsc2005 into separate drivers with
with common routines in tsc200x-core.
v2: Fixes Kconfig based on report for 0-day build bot.

Michael Welling (4):
  Input: tsc2005 - Seperate SPI and core functions
  Input: tsc200x-core - Rename functions and variables
  Input: tsc2004 - Add support for tsc2004
  Input: tsc2004 - Document ts2004 dt bindings

 .../bindings/input/touchscreen/tsc2005.txt         |  39 ++
 drivers/input/touchscreen/Kconfig                  |  17 +
 drivers/input/touchscreen/Makefile                 |   2 +
 drivers/input/touchscreen/tsc2004.c                |  86 +++
 drivers/input/touchscreen/tsc2005.c                | 711 +--------------------
 .../touchscreen/{tsc2005.c => tsc200x-core.c}      | 408 +++++-------
 drivers/input/touchscreen/tsc200x-core.h           |  78 +++
 7 files changed, 393 insertions(+), 948 deletions(-)
 create mode 100644 drivers/input/touchscreen/tsc2004.c
 copy drivers/input/touchscreen/{tsc2005.c => tsc200x-core.c} (51%)
 create mode 100644 drivers/input/touchscreen/tsc200x-core.h

-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to