lkml.org 
[lkml]   [2008]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-02-14 16:13    [W:0.071 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site