TSC200XSW-LINUX

Linux Driver for TSC200X

TSC200XSW-LINUX

Overview

The Linux driver supports the TSC200x family of Nano-Power Touch Screen Controllers. The Linux driver supports communication through the I2C and SPI buses and interfaces with the Input sub-system.

 

Linux Mainline Status

Available in Linux Main line: Yes
Available through git.ti.com: N/A

Supported Devices:

  • tsc2004
  • tsc2005
  • tsc2007

 

Linux Source Files

The files associated with this device are:

  1. drivers/input/touchscreen/tsc200x-core.c
  2. drivers/input/touchscreen/tsc2004.c
  3. drivers/input/touchscreen/tsc2005.c
  4. drivers/input/touchscreen/tsc2007.c
  5. Documentation/devicetree/bindings/input/touchscreen/tsc2005.txt
  6. Documentation/devicetree/bindings/input/touchscreen/tsc2007.txt
  7. include/linux/spi/tsc2005.h
  8. include/linux/i2c/tsc2007.h

Source Files

drivers/input/touchscreen/tsc200x-core.c
drivers/input/touchscreen/tsc2004.c
drivers/input/touchscreen/tsc2005.c
drivers/input/touchscreen/tsc2007.c

Linux Device Tree Documentation

Documentation/devicetree/bindings/input/touchscreen/tsc2005.txt
Documentation/devicetree/bindings/input/touchscreen/tsc2007.txt

Other Files

include/linux/spi/tsc2005.h
include/linux/i2c/tsc2007.h

 

Enabling Driver Support

Configure kernel with "make menuconfig" (alternatively use "make xconfig" or "make nconfig")

Menuconfig Location

Symbol: TOUCHSCREEN_TSC200X_CORE [=y]Type  : tristate  Defined at drivers/input/touchscreen/Kconfig:990  Depends on: !UML && INPUT [=y] && INPUT_TOUCHSCREEN [=y]  Selected by: TOUCHSCREEN_TSC2004 [=y] && !UML && INPUT [=y] && INPUT_TOUCHSCREEN [=y] && I2C [=y] || TOUCHSCREEN_TSC2005 [=y] && !UML && INPUT [=y] && INPUT_TOUCHSCREEN [=y] && SPI_MASTER [=y]Symbol: TOUCHSCREEN_TSC2004 [=y]Type  : tristatePrompt: TSC2004 based touchscreens  Location:    -> Device Drivers      -> Input device support        -> Generic input layer (needed for keyboard, mouse, ...) (INPUT [=y])          -> Touchscreens (INPUT_TOUCHSCREEN [=y])  Defined at drivers/input/touchscreen/Kconfig:993  Depends on: !UML && INPUT [=y] && INPUT_TOUCHSCREEN [=y] && I2C [=y]  Selects: REGMAP_I2C [=y] && TOUCHSCREEN_TSC200X_CORE [=y]Symbol: TOUCHSCREEN_TSC2005 [=y]Type  : tristatePrompt: TSC2005 based touchscreens  Location:    -> Device Drivers      -> Input device support        -> Generic input layer (needed for keyboard, mouse, ...) (INPUT [=y])          -> Touchscreens (INPUT_TOUCHSCREEN [=y])  Defined at drivers/input/touchscreen/Kconfig:1006  Depends on: !UML && INPUT [=y] && INPUT_TOUCHSCREEN [=y] && SPI_MASTER [=y]  Selects: REGMAP_SPI [=y] && TOUCHSCREEN_TSC200X_CORE [=y]Symbol: TOUCHSCREEN_TSC2007 [=y]Type  : tristatePrompt: TSC2007 based touchscreens  Location:    -> Device Drivers      -> Input device support        -> Generic input layer (needed for keyboard, mouse, ...) (INPUT [=y])          -> Touchscreens (INPUT_TOUCHSCREEN [=y])  Defined at drivers/input/touchscreen/Kconfig:1019  Depends on: !UML && INPUT [=y] && INPUT_TOUCHSCREEN [=y] && I2C [=y]

Fixes and Code Enhancements

If there are fixes and or code enhancements that need to be added to thisdriver please either1. Send the patches to the relevant Linux Kernel community as listed in the maintainers file located: Hereor2.  Contact your TI representative.

 

 

Touchscreen controllers
TSC2004 12-Bit, Nanopower, 4-Wire Touch Screen Controller TSC2005 Nano-Power Touch Screen Controller with SPI Serial Interface TSC2007 12-bit, nanopower, 4-wire micro touch screen controller

Support & training

TI E2E™ forums with technical support from TI engineers

View all forum topics

Content is provided "as is" by TI and community contributors and does not constitute TI specifications. See terms of use.

If you have questions about quality, packaging or ordering TI products, see TI support.

Videos