TSC200XSW-LINUX

适用于 TSC200X 的 Linux 驱动程序

TSC200XSW-LINUX

概述

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 Documenation

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.

 

 

触摸屏控制器
TSC2004 12 位、毫微功耗、4 线触摸屏控制器 TSC2005 具有 SPI 串行接口的毫微功率触摸屏控制器 TSC2007 12 位、毫微功耗、4 线微触摸屏控制器
下载 观看带字幕的视频 视频

支持与培训

可获得 TI E2E™ 论坛的工程师技术支持

查看全部论坛主题 查看英文版全部论坛主题

所有内容均由 TI 和社区贡献者按“原样”提供,并不构成 TI 规范。请参阅使用条款

如果您对质量、包装或订购 TI 产品有疑问,请参阅 TI 支持

视频