pinctrl: sh-pfc: r8a7796: Fix IPSR setting for MSIOF3_SS1_E pin
authorTakeshi Kihara <takeshi.kihara.df@renesas.com>
Thu, 1 Jun 2017 13:25:30 +0000 (22:25 +0900)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 17 Jul 2017 08:51:32 +0000 (10:51 +0200)
This patch fixes the IPSR register setting when the MSIOF3_SS1_E pin
function is selected.

This is a correction to the incorrect implementation of IPSR register
pin assignment for R8A7796 SoC specification of R-Car Gen3 Hardware
User's Manual Rev.0.51E or later.

Fixes: f9aece7344bd81ce ("pinctrl: sh-pfc: Initial R8A7796 PFC support")
Signed-off-by: Takeshi Kihara <takeshi.kihara.df@renesas.com>
[geert: Reword]
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/sh-pfc/pfc-r8a7796.c

index 6fa1729d784e6df2bcb054cb195c484f4cdd036b..0fd96f198b4dfae2c2a484f3069d4bc1f29f15f1 100644 (file)
@@ -645,7 +645,7 @@ static const u16 pinmux_data[] = {
        PINMUX_IPSR_MSEL(IP0_31_28,     VI4_DATA1_B,            SEL_VIN4_1),
        PINMUX_IPSR_MSEL(IP0_31_28,     CAN0_RX_B,              SEL_RCAN0_1),
        PINMUX_IPSR_MSEL(IP0_31_28,     CANFD0_RX_B,            SEL_CANFD0_1),
-       PINMUX_IPSR_MSEL(IP0_27_24,     MSIOF3_SS1_E,           SEL_MSIOF3_4),
+       PINMUX_IPSR_MSEL(IP0_31_28,     MSIOF3_SS1_E,           SEL_MSIOF3_4),
 
        /* IPSR1 */
        PINMUX_IPSR_GPSR(IP1_3_0,       IRQ2),