Re: [spi-devel-general] [PATCH 2/2] add ad714x input driver for button/scrollwhell/slider/touchpad

2009-09-01 Thread David Brownell
On Monday 31 August 2009, Barry Song wrote: + +#define AD714x_SPI_ADDR0x1C +#define AD714x_SPI_ADDR_SHFT 11 +#define AD714x_SPI_READ1 +#define AD714x_SPI_READ_SHFT 10 Confusing; it is not an address but a fixed bit pattern flagging command words. Be less opaque; maybe

[spi-devel-general] [PATCH 2/2] add ad714x input driver for button/scrollwhell/slider/touchpad

2009-08-31 Thread Barry Song
ad7142/ad7147 are Programmable Controllers for Capacitance Touch Sensors. The chips don't restrict the specific usage, and it can be used as button/ slider/scrollwheel/touchpad etc. depending on the hardware connection. One special target board can include one or several these components. The