]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: shmobile: Armadillo800EVA: Convert SCIFA1 to pinctrl
authorBastian Hecht <hechtb@gmail.com>
Wed, 17 Apr 2013 10:34:02 +0000 (10:34 +0000)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 25 Apr 2013 00:58:24 +0000 (09:58 +0900)
We use the new pinctrl framework now.

Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
arch/arm/mach-shmobile/board-armadillo800eva.c

index 7ed777d88e07810c4f0348308a7658262da17637..ff04d1e2540a553b762eaff0d788b58f5c062b92 100644 (file)
@@ -1077,6 +1077,9 @@ static const struct pinctrl_map eva_pinctrl_map[] = {
                                  "mmc0_data8_1", "mmc0"),
        PIN_MAP_MUX_GROUP_DEFAULT("sh_mmcif.0", "pfc-r8a7740",
                                  "mmc0_ctrl_1", "mmc0"),
+       /* SCIFA1 */
+       PIN_MAP_MUX_GROUP_DEFAULT("sh-sci.1", "pfc-r8a7740",
+                                 "scifa1_data", "scifa1"),
        /* SDHI0 */
        PIN_MAP_MUX_GROUP_DEFAULT("sh_mobile_sdhi.0", "pfc-r8a7740",
                                  "sdhi0_data4", "sdhi0"),
@@ -1144,10 +1147,6 @@ static void __init eva_init(void)
        r8a7740_pinmux_init();
        r8a7740_meram_workaround();
 
-       /* SCIFA1 */
-       gpio_request(GPIO_FN_SCIFA1_RXD, NULL);
-       gpio_request(GPIO_FN_SCIFA1_TXD, NULL);
-
        /* LCDC0 */
        gpio_request_one(61, GPIOF_OUT_INIT_HIGH, NULL); /* LCDDON */
        gpio_request_one(202, GPIOF_OUT_INIT_LOW, NULL); /* LCD0_LED_CONT */