aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/max8998.c
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2010-08-16 17:14:44 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2010-10-29 00:28:43 +0200
commitb8e9cf0b28173fc25dae9f3ac44de6fc4e9fc385 (patch)
tree1164b9fab57ef5a81304efe48932c4a6db62049d /drivers/mfd/max8998.c
parentmfd: Switch AB3100 to use MFD cells (diff)
downloadlinux-dev-b8e9cf0b28173fc25dae9f3ac44de6fc4e9fc385.tar.xz
linux-dev-b8e9cf0b28173fc25dae9f3ac44de6fc4e9fc385.zip
gpio: Add bitmask to block requests to unavailable stmpe GPIOs
GPIOs on these controller are multi-functional. If you decided to use some of them e.g. as input channels for the ADC, you surely don't want those pins to be reassigned as simple GPIOs (which may be triggered even from userspace via 'export'). Same for the touchscreen controller pins. Since knowledge about the hardware is needed to decide which GPIOs to reserve, let this bitmask be inside platform_data and provide some defines to assist potential users. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Rabin Vincent <rabin.vincent@stericsson.com> Cc: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions