aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-ag5evm.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-03-12 22:52:31 -0400
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2013-03-15 08:34:09 -0400
commit2eaa0747f8162e741ed0609b6520d25fc2951864 (patch)
treebef7865227cd0e82222c34a594f3a6142cdda525 /arch/arm/mach-shmobile/board-ag5evm.c
parent7e6455e122c56935d8eb5474b611c90287c149c9 (diff)
ARM: shmobile: ag5evm: Register pinctrl mappings for IrDA
Replace the GPIO-based IrDA pinmux configuration by pinctrl mappings. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Diffstat (limited to 'arch/arm/mach-shmobile/board-ag5evm.c')
-rw-r--r--arch/arm/mach-shmobile/board-ag5evm.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/arm/mach-shmobile/board-ag5evm.c b/arch/arm/mach-shmobile/board-ag5evm.c
index 22b9655a68ef..c7540710906f 100644
--- a/arch/arm/mach-shmobile/board-ag5evm.c
+++ b/arch/arm/mach-shmobile/board-ag5evm.c
@@ -571,6 +571,9 @@ static const struct pinctrl_map ag5evm_pinctrl_map[] = {
571 "i2c2_0", "i2c2"), 571 "i2c2_0", "i2c2"),
572 PIN_MAP_MUX_GROUP_DEFAULT("i2c-sh_mobile.3", "pfc-sh73a0", 572 PIN_MAP_MUX_GROUP_DEFAULT("i2c-sh_mobile.3", "pfc-sh73a0",
573 "i2c3_0", "i2c3"), 573 "i2c3_0", "i2c3"),
574 /* IrDA */
575 PIN_MAP_MUX_GROUP_DEFAULT("sh_irda.0", "pfc-sh73a0",
576 "irda_0", "irda"),
574 /* KEYSC */ 577 /* KEYSC */
575 PIN_MAP_MUX_GROUP_DEFAULT("sh_keysc.0", "pfc-sh73a0", 578 PIN_MAP_MUX_GROUP_DEFAULT("sh_keysc.0", "pfc-sh73a0",
576 "keysc_in8", "keysc"), 579 "keysc_in8", "keysc"),
@@ -639,11 +642,6 @@ static void __init ag5evm_init(void)
639 gpio_request_one(144, GPIOF_IN, NULL); /* PINTA2 */ 642 gpio_request_one(144, GPIOF_IN, NULL); /* PINTA2 */
640 gpio_request_one(145, GPIOF_OUT_INIT_HIGH, NULL); /* RESET */ 643 gpio_request_one(145, GPIOF_OUT_INIT_HIGH, NULL); /* RESET */
641 644
642 /* IrDA */
643 gpio_request(GPIO_FN_PORT241_IRDA_OUT, NULL);
644 gpio_request(GPIO_FN_PORT242_IRDA_IN, NULL);
645 gpio_request(GPIO_FN_PORT243_IRDA_FIRSEL, NULL);
646
647 /* LCD panel */ 645 /* LCD panel */
648 gpio_request_one(217, GPIOF_OUT_INIT_LOW, NULL); /* RESET */ 646 gpio_request_one(217, GPIOF_OUT_INIT_LOW, NULL); /* RESET */
649 mdelay(1); 647 mdelay(1);