ads7846 doc: handles tsc2046 too
Subsystems (2)
PATCH 1/1 ads7846 doc: handles tsc2046 too
The TSC2046 is an updated version of the ADS7846 ... mention that in the Kconfig helptext and driver source.
Signed-off-by David Brownell <[email protected]>
--- drivers/input/touchscreen/Kconfig | 8 ++++---- drivers/input/touchscreen/ads7846.c | 1 + 2 files changed, 5 insertions(+), 4 deletions(-)
drivers/input/touchscreen/Kconfig +4 -4
@@ -12,17 +12,17 @@ menuconfig INPUT_TOUCHSCREEN if INPUT_TOUCHSCREEN config TOUCHSCREEN_ADS7846 - tristate "ADS 7846/7843 based touchscreens" + tristate "ADS7846/TSC2046 and ADS7843 based touchscreens" depends on SPI_MASTER depends on HWMON = n || HWMON help Say Y here if you have a touchscreen interface using the - ADS7846 or ADS7843 controller, and your board-specific setup - code includes that in its table of SPI devices. + ADS7846/TSC2046 or ADS7843 controller, and your board-specific + setup code includes that in its table of SPI devices. If HWMON is selected, and the driver is told the reference voltage on your board, you will also get hwmon interfaces for the voltage - (and on ads7846, temperature) sensors of this chip. + (and on ads7846/tsc2046, temperature) sensors of this chip. If unsure, say N (but it's safe to say "Y").
drivers/input/touchscreen/ads7846.c +1 -0
@@ -39,6 +39,7 @@/* * This code has been heavily tested on a Nokia 770, and lightly * tested on other ads7846 devices (OSK/Mistral, Lubbock). +* TSC2046 is just newer ads7846 silicon. * Support for ads7843 tested on Atmel at91sam926x-EK. * Support for ads7845 has only been stubbed in. *
Quoted 4 lines · David Brownell
The TSC2046 is an updated version of the ADS7846 ... mention that in the
Kconfighelptext and driver source.Signed-off-by David Brownell <[email protected]>
Verified that ads7846 driver indeed works for tsc2046 on OMAP2430SDP platform.
Acked-by Kevin Hilman <[email protected]>
Dmitry Torokhov
maintainerHi,
Quoted 11 lines · Kevin Hilman
Quoted 4 lines · David Brownell
The TSC2046 is an updated version of the ADS7846 ... mention that in the
Kconfighelptext and driver source.Signed-off-by David Brownell <[email protected]>Verified that ads7846 driver indeed works for tsc2046 on OMAP2430SDP platform.
Acked-by Kevin Hilman <[email protected]>
Thanks, I will get this in. Since there are no code changes there is no point for waiting for 2.6.23 merge window to open.
Signature · 1 line
Dmitry