From: Shiraz Hashim Date: Wed, 7 Nov 2012 14:37:25 +0000 (+0530) Subject: pinctrl: SPEAr: Add SoC specific gpio configuration routines X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~94^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=826d6ca8f955c7a902e775acef3bdbfc93695b04;p=pandora-kernel.git pinctrl: SPEAr: Add SoC specific gpio configuration routines Different SPEAr SoCs have different approach to configure pins as gpios. Some configure a group of gpios with single register bit and others have one bit per gpio pin. Only earlier one is implemented till now, this patch adds support for later one. Here we add callbacks to SoC specific code to configure gpios in gpio_request_enable(). That will do additional SoC specific configuration to enable gpio pins. We also implement this callback for SPEAr1340 in this patch. Signed-off-by: Shiraz Hashim Signed-off-by: Viresh Kumar Signed-off-by: Linus Walleij --- Reading git-diff-tree failed