aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/board-mop500.c
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@linaro.org>2011-05-06 08:42:16 +0200
committerHenrik Aberg <henrik.aberg@stericsson.com>2011-05-18 09:39:52 +0200
commitf5c5151a9f163ce9c7987f523cd81ae37d56ffbb (patch)
tree7afd30d94c7c4aa0beafccfa7ad6deb2b6fd93cd /arch/arm/mach-ux500/board-mop500.c
parent7b348d5c0205d0104600107ef09d48141bf18719 (diff)
ARM: ux500: Configure SysClkReq3 and 5 as GPIO
Unused SysClkReq pins should be configured as GPIO pins to avoid current overconsumption. SysClkReq2, 4 and 6 are used. SysClkReq7 and 8 are already configured as GPIO pins so this patch adds SysClkReq3 and 5 as GPIO pins. ST-Ericsson Linux next: - ST-Ericsson ID: ER 324615 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I3b989b58f55958a54da9f8219e8b361a5ae73e08 Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19359 Reviewed-by: David PARIS <david.paris-nonst@stericsson.com> Conflicts: arch/arm/mach-ux500/board-mop500.c
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500.c')
-rw-r--r--arch/arm/mach-ux500/board-mop500.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index 658e8509e95..bf4c719c592 100644
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -96,17 +96,17 @@ static struct ab8500_gpio_platform_data ab8500_gpio_pdata = {
* register. This is the array of 7 configuration settings.
* One has to compile time decide these settings. Below is the
* explaination of these setting
- * GpioSel1 = 0x00 => Pins GPIO1 to GPIO8 are not used as GPIO
+ * GpioSel1 = 0x02 => Pin GPIO2 (SysClkReq3) is configured as GPIO
* GpioSel2 = 0x9E => Pins GPIO10..13 & GPIO16 are configured as GPIO
* GpioSel3 = 0x80 => Pin GPIO24 is configured as GPIO
* GpioSel4 = 0x01 => Pin GPIo25 is configured as GPIO
* GpioSel5 = 0x7A => Pins GPIO34, GPIO36 to GPIO39 are conf as GPIO
- * GpioSel6 = 0x00 => Pins GPIO41 & GPIo42 are not configured as GPIO
+ * GpioSel6 = 0x02 => Pin GPIO42 (SysClkReq5) is configured as GPIO
* AlternaFunction = 0x00 => If Pins GPIO10 to 13 are not configured
* as GPIO then this register selectes the alternate fucntions
*/
- .config_reg = {0x00, 0x9E, 0x80, 0x01,
- 0x7A, 0x00, 0x00},
+ .config_reg = {0x02, 0x9E, 0x80, 0x01,
+ 0x7A, 0x02, 0x00},
};
#ifdef CONFIG_INPUT_AB8500_ACCDET