pinctrl: meson-gxbb: add the missing SDIO interrupt pin
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 11 Sep 2016 12:39:02 +0000 (14:39 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 13 Sep 2016 11:38:39 +0000 (13:38 +0200)
This adds the SDIO interrupt pin which can be used by sd_emmc_a.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Suggested-by: Neil Armstrong <narmstrong@baylibre.com>
Fixes: 29885a656511 ("pinctrl: meson-gxbb: add the pins for the
SDIO/sd_emmc_a controller")
Acked-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/meson/pinctrl-meson-gxbb.c

index b4e2e9f158180ce5c12d33d376308e5c79eb502c..f115638e869930fbe4232fff8c394c88fea20380 100644 (file)
@@ -169,6 +169,7 @@ static const unsigned int sdio_d2_pins[] = { PIN(GPIOX_2, EE_OFF) };
 static const unsigned int sdio_d3_pins[] = { PIN(GPIOX_3, EE_OFF) };
 static const unsigned int sdio_cmd_pins[] = { PIN(GPIOX_4, EE_OFF) };
 static const unsigned int sdio_clk_pins[] = { PIN(GPIOX_5, EE_OFF) };
+static const unsigned int sdio_irq_pins[] = { PIN(GPIOX_7, EE_OFF) };
 
 static const unsigned int uart_tx_a_pins[]     = { PIN(GPIOX_12, EE_OFF) };
 static const unsigned int uart_rx_a_pins[]     = { PIN(GPIOX_13, EE_OFF) };
@@ -383,6 +384,7 @@ static struct meson_pmx_group meson_gxbb_periphs_groups[] = {
        GROUP(sdio_d3,          8,      2),
        GROUP(sdio_cmd,         8,      1),
        GROUP(sdio_clk,         8,      0),
+       GROUP(sdio_irq,         8,      11),
        GROUP(uart_tx_a,        4,      13),
        GROUP(uart_rx_a,        4,      12),
        GROUP(uart_cts_a,       4,      11),
@@ -522,7 +524,7 @@ static const char * const sdcard_groups[] = {
 
 static const char * const sdio_groups[] = {
        "sdio_d0", "sdio_d1", "sdio_d2", "sdio_d3",
-       "sdio_cmd", "sdio_clk",
+       "sdio_cmd", "sdio_clk", "sdio_irq",
 };
 
 static const char * const uart_a_groups[] = {