pinctrl: meson: meson8b: fix the NAND DQS pins
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 1 Apr 2017 13:59:21 +0000 (15:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Jul 2017 13:01:05 +0000 (15:01 +0200)
commit 97ba26b8a9343008504d4e3a87d212bc07b05212 upstream.

The nand_groups table uses different names for the NAND DQS pins than
the GROUP() definition in meson8b_cbus_groups (nand_dqs_0 vs nand_dqs0).
This prevents using the NAND DQS pins in the devicetree.

Fix this by ensuring that the GROUP() definition and the
meson8b_cbus_groups use the same name for these pins.

Fixes: 0fefcb6876d0 ("pinctrl: Add support for Meson8b")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pinctrl/meson/pinctrl-meson8b.c

index 76f077f18193a0e8de5f26ac2f00cc4b11b5a0c2..f87ef5a0ee6c9f16c6dc85aad9ba8afa95f2af95 100644 (file)
@@ -739,8 +739,8 @@ static const char * const sdxc_c_groups[] = {
 static const char * const nand_groups[] = {
        "nand_io", "nand_io_ce0", "nand_io_ce1",
        "nand_io_rb0", "nand_ale", "nand_cle",
-       "nand_wen_clk", "nand_ren_clk", "nand_dqs0",
-       "nand_dqs1"
+       "nand_wen_clk", "nand_ren_clk", "nand_dqs_0",
+       "nand_dqs_1"
 };
 
 static const char * const nor_groups[] = {