summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/stmpe.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-04-04 04:04:42 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2011-05-26 19:45:18 +0200
commit0b14c22ea1e0226d894df76176971d06e8886aa7 (patch)
tree1d7ee5b2bc74607c4d328e14c30692114fafe5f4 /drivers/mfd/stmpe.h
parentmfd: Remove compatibility interface for WM831x specific IRQ API (diff)
downloadlinux-0b14c22ea1e0226d894df76176971d06e8886aa7.tar.xz
linux-0b14c22ea1e0226d894df76176971d06e8886aa7.zip
mfd: Provide platform data for WM831x GPIO configuration
Allow the GPIO mode of WM831x devices to be configured using platform data. Users may provide a table of GPIO register values in gpio_defaults[]. In order to allow 0 to be set explicitly out of range values are accepted and masked off, with a WM831X_GPIO_CONFIGURE define provided to set an out of range value. This can be used to configure higher numbered GPIOs or override values set in OTP for GPIOs configured using OTP. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/stmpe.h')
0 files changed, 0 insertions, 0 deletions