pinctrl: meson: meson8b: fix the sdxc_a data 1..3 pins

Message ID 20190209010101.12210-1-martin.blumenstingl@googlemail.com
State New
Headers show
Series
  • pinctrl: meson: meson8b: fix the sdxc_a data 1..3 pins
Related show

Commit Message

Martin Blumenstingl Feb. 9, 2019, 1:01 a.m.
Fix the mismatch between the "sdxc_d13_1_a" pin group definition from
meson8b_cbus_groups and the entry in sdxc_a_groups ("sdxc_d0_13_1_a").
This makes it possible to use "sdxc_d13_1_a" in device-tree files to
route the MMC data 1..3 pins to GPIOX_1..3.

Fixes: 0fefcb6 ("pinctrl: Add support for Meson8b")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
 drivers/pinctrl/meson/pinctrl-meson8b.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Linus Walleij Feb. 11, 2019, 8:16 a.m. | #1
On Sat, Feb 9, 2019 at 2:01 AM Martin Blumenstingl
<martin.blumenstingl@googlemail.com> wrote:

> Fix the mismatch between the "sdxc_d13_1_a" pin group definition from
> meson8b_cbus_groups and the entry in sdxc_a_groups ("sdxc_d0_13_1_a").
> This makes it possible to use "sdxc_d13_1_a" in device-tree files to
> route the MMC data 1..3 pins to GPIOX_1..3.
>
> Fixes: 0fefcb6 ("pinctrl: Add support for Meson8b")
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

Patch applied for fixes.

Yours,
Linus Walleij

Patch

diff --git a/drivers/pinctrl/meson/pinctrl-meson8b.c b/drivers/pinctrl/meson/pinctrl-meson8b.c
index 84938bd73ac2..7f76000cc12e 100644
--- a/drivers/pinctrl/meson/pinctrl-meson8b.c
+++ b/drivers/pinctrl/meson/pinctrl-meson8b.c
@@ -697,7 +697,7 @@  static const char * const sd_a_groups[] = {
 
 static const char * const sdxc_a_groups[] = {
 	"sdxc_d0_0_a", "sdxc_d13_0_a", "sdxc_d47_a", "sdxc_clk_a",
-	"sdxc_cmd_a", "sdxc_d0_1_a", "sdxc_d0_13_1_a"
+	"sdxc_cmd_a", "sdxc_d0_1_a", "sdxc_d13_1_a"
 };
 
 static const char * const pcm_a_groups[] = {