diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-01-29 11:15:32 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-01-29 11:15:32 -0800 |
commit | 499a2673713c85734a54c37dd90b4b729de399c4 (patch) | |
tree | 426f8e4c7c792dad998beeefb094c439a81b776b /include/linux/spi | |
parent | a7016235a61d520e6806f38129001d935c4b6661 (diff) | |
parent | f6bdc2303da6786cc22a7d24b6790e9f75b4cfdc (diff) | |
download | op-kernel-dev-499a2673713c85734a54c37dd90b4b729de399c4.zip op-kernel-dev-499a2673713c85734a54c37dd90b4b729de399c4.tar.gz |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: update multi-touch protocol documentation
Input: add the ABS_MT_PRESSURE event
Input: winbond-cir - remove dmesg spam
Input: lifebook - add another Lifebook DMI signature
Input: ad7879 - support auxiliary GPIOs via gpiolib
Diffstat (limited to 'include/linux/spi')
-rw-r--r-- | include/linux/spi/ad7879.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/include/linux/spi/ad7879.h b/include/linux/spi/ad7879.h index 4231104..6334cee 100644 --- a/include/linux/spi/ad7879.h +++ b/include/linux/spi/ad7879.h @@ -28,8 +28,12 @@ struct ad7879_platform_data { * 1 = 4, 2 = 8, 3 = 16 (median > averaging) */ u8 median; - /* 1 = AUX/VBAT/GPIO set to GPIO Output */ - u8 gpio_output; - /* Initial GPIO pin state (valid if gpio_output = 1) */ - u8 gpio_default; + /* 1 = AUX/VBAT/GPIO export GPIO to gpiolib + * requires CONFIG_GPIOLIB + */ + bool gpio_export; + /* identifies the first GPIO number handled by this chip; + * or, if negative, requests dynamic ID allocation. + */ + s32 gpio_base; }; |