diff options
author | Philippe Langlais <philippe.langlais@linaro.org> | 2011-05-06 08:42:16 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@stericsson.com> | 2011-09-19 15:15:02 +0200 |
commit | 433bcafc021b0f2cc89238a0b40a16f3449a17ee (patch) | |
tree | 673818a950a84b0d69246eece16b6e0cba02e8a0 | |
parent | 05e0b9528a8ae85f60879e4e8a0e975f691f868f (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
-rw-r--r-- | arch/arm/mach-ux500/board-mop500.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index ae676be072a..11bb99d5a74 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -98,18 +98,18 @@ static struct ab8500_gpio_platform_data ab8500_gpio_pdata = { * on value present in GpioSel1 to GpioSel6 and AlternatFunction * register. This is the array of 7 configuration settings. * One has to compile time decide these settings. Below is the - * explanation of these setting - * GpioSel1 = 0x00 => Pins GPIO1 to GPIO8 are not used as GPIO + * explaination of these setting + * 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 |