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 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.

 

 

下載 觀看有字幕稿的影片 影片

支援與培訓

內含 TI 工程師技術支援的 TI E2E™ 論壇

以英文檢視所有論壇主題

內容係由 TI 和社群貢獻者依「現狀」提供,且不構成 TI 規範。檢視使用條款

若有關於品質、封裝或訂購 TI 產品的問題,請參閱 TI 支援