Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: ad7879 - add support for AD7889

The AD7889 is a new part but 100% software compatible with the AD7879, so
add it to the id_table and help text.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

authored by

Michael Hennerich and committed by
Dmitry Torokhov
36fb2527 9605fb48

+7 -5
+3 -3
drivers/input/touchscreen/Kconfig
··· 48 48 select TOUCHSCREEN_AD7879 49 49 help 50 50 Say Y here if you have a touchscreen interface using the 51 - AD7879-1 controller, and your board-specific initialization 52 - code includes that in its table of I2C devices. 51 + AD7879-1/AD7889-1 controller, and your board-specific 52 + initialization code includes that in its table of I2C devices. 53 53 54 54 If unsure, say N (but it's safe to say "Y"). 55 55 ··· 62 62 select TOUCHSCREEN_AD7879 63 63 help 64 64 Say Y here if you have a touchscreen interface using the 65 - AD7879 controller, and your board-specific initialization 65 + AD7879/AD7889 controller, and your board-specific initialization 66 66 code includes that in its table of SPI devices. 67 67 68 68 If unsure, say N (but it's safe to say "Y").
+4 -2
drivers/input/touchscreen/ad7879.c
··· 1 1 /* 2 - * Copyright (C) 2008 Michael Hennerich, Analog Devices Inc. 2 + * Copyright (C) 2008-2009 Michael Hennerich, Analog Devices Inc. 3 3 * 4 - * Description: AD7879 based touchscreen, and GPIO driver (I2C/SPI Interface) 4 + * Description: AD7879/AD7889 based touchscreen, and GPIO driver 5 + * (I2C/SPI Interface) 5 6 * 6 7 * Bugs: Enter bugs at http://blackfin.uclinux.org/ 7 8 * ··· 748 747 749 748 static const struct i2c_device_id ad7879_id[] = { 750 749 { "ad7879", 0 }, 750 + { "ad7889", 0 }, 751 751 { } 752 752 }; 753 753 MODULE_DEVICE_TABLE(i2c, ad7879_id);