Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bff0de5f authored by David Brownell's avatar David Brownell Committed by Dmitry Torokhov
Browse files

Input: ads7846 - document that it handles tsc2046 too



The TSC2046 is an updated version of the ADS7846 ... mention that in
the Kconfig helptext and driver source.

Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Acked-by: default avatarKevin Hilman <khilman@mvista.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 36bd52a4
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -12,17 +12,17 @@ menuconfig INPUT_TOUCHSCREEN
if INPUT_TOUCHSCREEN
if INPUT_TOUCHSCREEN


config TOUCHSCREEN_ADS7846
config TOUCHSCREEN_ADS7846
	tristate "ADS 7846/7843 based touchscreens"
	tristate "ADS7846/TSC2046 and ADS7843 based touchscreens"
	depends on SPI_MASTER
	depends on SPI_MASTER
	depends on HWMON = n || HWMON
	depends on HWMON = n || HWMON
	help
	help
	  Say Y here if you have a touchscreen interface using the
	  Say Y here if you have a touchscreen interface using the
	  ADS7846 or ADS7843 controller, and your board-specific setup
	  ADS7846/TSC2046 or ADS7843 controller, and your board-specific
	  code includes that in its table of SPI devices.
	  setup code includes that in its table of SPI devices.


	  If HWMON is selected, and the driver is told the reference voltage
	  If HWMON is selected, and the driver is told the reference voltage
	  on your board, you will also get hwmon interfaces for the 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").
	  If unsure, say N (but it's safe to say "Y").


+1 −0
Original line number Original line Diff line number Diff line
@@ -39,6 +39,7 @@
/*
/*
 * This code has been heavily tested on a Nokia 770, and lightly
 * This code has been heavily tested on a Nokia 770, and lightly
 * tested on other ads7846 devices (OSK/Mistral, Lubbock).
 * tested on other ads7846 devices (OSK/Mistral, Lubbock).
 * TSC2046 is just newer ads7846 silicon.
 * Support for ads7843 tested on Atmel at91sam926x-EK.
 * Support for ads7843 tested on Atmel at91sam926x-EK.
 * Support for ads7845 has only been stubbed in.
 * Support for ads7845 has only been stubbed in.
 *
 *