Commit e29a4c3a authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by Linus Walleij

sh-pfc: r8a7790: add MLB+ pin group

Add MLB+ 3-pin mode pin group to R8A7790 PFC driver.

Based on original patch by Andrey Gusakov <andrey.gusakov@cogentembedded.com>.
Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 8271ee96
...@@ -2241,6 +2241,13 @@ static const unsigned int intc_irq3_pins[] = { ...@@ -2241,6 +2241,13 @@ static const unsigned int intc_irq3_pins[] = {
static const unsigned int intc_irq3_mux[] = { static const unsigned int intc_irq3_mux[] = {
IRQ3_MARK, IRQ3_MARK,
}; };
/* - MLB+ ------------------------------------------------------------------- */
static const unsigned int mlb_3pin_pins[] = {
RCAR_GP_PIN(4, 0), RCAR_GP_PIN(4, 1), RCAR_GP_PIN(4, 2),
};
static const unsigned int mlb_3pin_mux[] = {
MLB_CLK_MARK, MLB_SIG_MARK, MLB_DAT_MARK,
};
/* - MMCIF0 ----------------------------------------------------------------- */ /* - MMCIF0 ----------------------------------------------------------------- */
static const unsigned int mmc0_data1_pins[] = { static const unsigned int mmc0_data1_pins[] = {
/* D[0] */ /* D[0] */
...@@ -3873,6 +3880,7 @@ static const struct sh_pfc_pin_group pinmux_groups[] = { ...@@ -3873,6 +3880,7 @@ static const struct sh_pfc_pin_group pinmux_groups[] = {
SH_PFC_PIN_GROUP(intc_irq1), SH_PFC_PIN_GROUP(intc_irq1),
SH_PFC_PIN_GROUP(intc_irq2), SH_PFC_PIN_GROUP(intc_irq2),
SH_PFC_PIN_GROUP(intc_irq3), SH_PFC_PIN_GROUP(intc_irq3),
SH_PFC_PIN_GROUP(mlb_3pin),
SH_PFC_PIN_GROUP(mmc0_data1), SH_PFC_PIN_GROUP(mmc0_data1),
SH_PFC_PIN_GROUP(mmc0_data4), SH_PFC_PIN_GROUP(mmc0_data4),
SH_PFC_PIN_GROUP(mmc0_data8), SH_PFC_PIN_GROUP(mmc0_data8),
...@@ -4198,6 +4206,10 @@ static const char * const intc_groups[] = { ...@@ -4198,6 +4206,10 @@ static const char * const intc_groups[] = {
"intc_irq3", "intc_irq3",
}; };
static const char * const mlb_groups[] = {
"mlb_3pin",
};
static const char * const mmc0_groups[] = { static const char * const mmc0_groups[] = {
"mmc0_data1", "mmc0_data1",
"mmc0_data4", "mmc0_data4",
...@@ -4511,6 +4523,7 @@ static const struct sh_pfc_function pinmux_functions[] = { ...@@ -4511,6 +4523,7 @@ static const struct sh_pfc_function pinmux_functions[] = {
SH_PFC_FUNCTION(iic2), SH_PFC_FUNCTION(iic2),
SH_PFC_FUNCTION(iic3), SH_PFC_FUNCTION(iic3),
SH_PFC_FUNCTION(intc), SH_PFC_FUNCTION(intc),
SH_PFC_FUNCTION(mlb),
SH_PFC_FUNCTION(mmc0), SH_PFC_FUNCTION(mmc0),
SH_PFC_FUNCTION(mmc1), SH_PFC_FUNCTION(mmc1),
SH_PFC_FUNCTION(msiof0), SH_PFC_FUNCTION(msiof0),
......
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