From: Mark Brown Date: Mon, 4 Apr 2011 02:04:42 +0000 (+0900) Subject: mfd: Provide platform data for WM831x GPIO configuration X-Git-Tag: v3.0-rc1~131^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b14c22ea1e0226d894df76176971d06e8886aa7;p=pandora-kernel.git 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 Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed