Commit 2bf147a8 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven

pinctrl: sh-pfc: r8a7791: Add missing mmc_data8_b pin group

Pins D6 and D7 of the MMC interface can be muxed to two different sets
of pins, but currently only one set is supported.
Add a pin group for the alternative set to fix this.
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: default avatarChris Paterson <chris.paterson2@renesas.com>
Tested-by: default avatarChris Paterson <chris.paterson2@renesas.com>
parent b6db6bfe
...@@ -2589,6 +2589,17 @@ static const unsigned int mmc_data8_mux[] = { ...@@ -2589,6 +2589,17 @@ static const unsigned int mmc_data8_mux[] = {
MMC_D0_MARK, MMC_D1_MARK, MMC_D2_MARK, MMC_D3_MARK, MMC_D0_MARK, MMC_D1_MARK, MMC_D2_MARK, MMC_D3_MARK,
MMC_D4_MARK, MMC_D5_MARK, MMC_D6_MARK, MMC_D7_MARK, MMC_D4_MARK, MMC_D5_MARK, MMC_D6_MARK, MMC_D7_MARK,
}; };
static const unsigned int mmc_data8_b_pins[] = {
/* D[0:7] */
RCAR_GP_PIN(6, 18), RCAR_GP_PIN(6, 19),
RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 21),
RCAR_GP_PIN(6, 22), RCAR_GP_PIN(6, 23),
RCAR_GP_PIN(6, 6), RCAR_GP_PIN(6, 7),
};
static const unsigned int mmc_data8_b_mux[] = {
MMC_D0_MARK, MMC_D1_MARK, MMC_D2_MARK, MMC_D3_MARK,
MMC_D4_MARK, MMC_D5_MARK, MMC_D6_B_MARK, MMC_D7_B_MARK,
};
static const unsigned int mmc_ctrl_pins[] = { static const unsigned int mmc_ctrl_pins[] = {
/* CLK, CMD */ /* CLK, CMD */
RCAR_GP_PIN(6, 16), RCAR_GP_PIN(6, 17), RCAR_GP_PIN(6, 16), RCAR_GP_PIN(6, 17),
...@@ -4420,7 +4431,7 @@ static const unsigned int vin2_clk_mux[] = { ...@@ -4420,7 +4431,7 @@ static const unsigned int vin2_clk_mux[] = {
}; };
static const struct { static const struct {
struct sh_pfc_pin_group common[341]; struct sh_pfc_pin_group common[342];
struct sh_pfc_pin_group r8a779x[9]; struct sh_pfc_pin_group r8a779x[9];
} pinmux_groups = { } pinmux_groups = {
.common = { .common = {
...@@ -4523,6 +4534,7 @@ static const struct { ...@@ -4523,6 +4534,7 @@ static const struct {
SH_PFC_PIN_GROUP(mmc_data1), SH_PFC_PIN_GROUP(mmc_data1),
SH_PFC_PIN_GROUP(mmc_data4), SH_PFC_PIN_GROUP(mmc_data4),
SH_PFC_PIN_GROUP(mmc_data8), SH_PFC_PIN_GROUP(mmc_data8),
SH_PFC_PIN_GROUP(mmc_data8_b),
SH_PFC_PIN_GROUP(mmc_ctrl), SH_PFC_PIN_GROUP(mmc_ctrl),
SH_PFC_PIN_GROUP(msiof0_clk), SH_PFC_PIN_GROUP(msiof0_clk),
SH_PFC_PIN_GROUP(msiof0_sync), SH_PFC_PIN_GROUP(msiof0_sync),
...@@ -4955,6 +4967,7 @@ static const char * const mmc_groups[] = { ...@@ -4955,6 +4967,7 @@ static const char * const mmc_groups[] = {
"mmc_data1", "mmc_data1",
"mmc_data4", "mmc_data4",
"mmc_data8", "mmc_data8",
"mmc_data8_b",
"mmc_ctrl", "mmc_ctrl",
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment