Messages in this thread | | | Date | Thu, 14 Feb 2008 18:10:19 +0300 | From | Dmitry <> | Subject | Re: [PATCH 1/6] Core driver for WM97xx touchscreens |
| |
Hi,
2008/2/13, Mark Brown <broonie@opensource.wolfsonmicro.com>: > diff --git a/include/linux/wm97xx.h b/include/linux/wm97xx.h > new file mode 100644 > index 0000000..f0d9fc0 > --- /dev/null > +++ b/include/linux/wm97xx.h > @@ -0,0 +1,308 @@
...
> +#define WM97XX_POLL 0x8000 /* initiate a polling measurement */ > +#define WM97XX_ADCSEL_X 0x1000 /* x coord measurement */ > +#define WM97XX_ADCSEL_Y 0x2000 /* y coord measurement */ > +#define WM97XX_ADCSEL_PRES 0x3000 /* pressure measurement */
shouldn't this be 0x4000 ?
> +#define WM97XX_ADCSEL_MASK 0x7000 > +#define WM97XX_COO 0x0800 /* enable coordinate mode */ > +#define WM97XX_CTC 0x0400 /* enable continuous mode */
-- With best wishes Dmitry
| |