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:
- drivers/input/touchscreen/tsc200x-core.c
- drivers/input/touchscreen/tsc2004.c
- drivers/input/touchscreen/tsc2005.c
- drivers/input/touchscreen/tsc2007.c
- Documentation/devicetree/bindings/input/touchscreen/tsc2005.txt
- Documentation/devicetree/bindings/input/touchscreen/tsc2007.txt
- include/linux/spi/tsc2005.h
- include/linux/i2c/tsc2007.h
Source Files
drivers/input/touchscreen/tsc200x-core.cdrivers/input/touchscreen/tsc2004.c
drivers/input/touchscreen/tsc2005.c
drivers/input/touchscreen/tsc2007.c
Linux Device Tree Documenation
Documentation/devicetree/bindings/input/touchscreen/tsc2005.txtDocumentation/devicetree/bindings/input/touchscreen/tsc2007.txt
Other Files
include/linux/spi/tsc2005.hinclude/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.