diff options
author | Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com> | 2013-05-27 04:10:11 -0400 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2013-07-29 09:52:11 -0400 |
commit | 0a664e3d7978f54af72277a969245ac5e6418cd9 (patch) | |
tree | 08bf22b1f605fe68b4bf09f308e82a492759b2a1 /drivers/pinctrl | |
parent | 1ddb66cd6f337e3df5d51d0d3cdfd4507d9199c3 (diff) |
sh-pfc: r8a7790: Fix miscellaneous pinmux configuration tables mistakes
Fix erroneous entries in the pinmux configuration tables that affect
HSCIF, I2C, LBSC, SCIF, SSI and VIN operation.
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/sh-pfc/pfc-r8a7790.c | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7790.c b/drivers/pinctrl/sh-pfc/pfc-r8a7790.c index 9a6306387035..62ac0d20c2df 100644 --- a/drivers/pinctrl/sh-pfc/pfc-r8a7790.c +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7790.c | |||
@@ -934,7 +934,7 @@ static const pinmux_enum_t pinmux_data[] = { | |||
934 | PINMUX_IPSR_MODSEL_DATA(IP1_14_12, VI0_HSYNC_N_B, SEL_VI0_1), | 934 | PINMUX_IPSR_MODSEL_DATA(IP1_14_12, VI0_HSYNC_N_B, SEL_VI0_1), |
935 | PINMUX_IPSR_MODSEL_DATA(IP1_14_12, VI2_DATA4_VI2_B4, SEL_VI2_0), | 935 | PINMUX_IPSR_MODSEL_DATA(IP1_14_12, VI2_DATA4_VI2_B4, SEL_VI2_0), |
936 | PINMUX_IPSR_DATA(IP1_17_15, D13), | 936 | PINMUX_IPSR_DATA(IP1_17_15, D13), |
937 | PINMUX_IPSR_MODSEL_DATA(IP1_17_15, AVB_TXD5, SEL_SCIFA1_2), | 937 | PINMUX_IPSR_DATA(IP1_17_15, AVB_TXD5), |
938 | PINMUX_IPSR_MODSEL_DATA(IP1_17_15, VI0_VSYNC_N, SEL_VI0_0), | 938 | PINMUX_IPSR_MODSEL_DATA(IP1_17_15, VI0_VSYNC_N, SEL_VI0_0), |
939 | PINMUX_IPSR_MODSEL_DATA(IP1_17_15, VI0_VSYNC_N_B, SEL_VI0_1), | 939 | PINMUX_IPSR_MODSEL_DATA(IP1_17_15, VI0_VSYNC_N_B, SEL_VI0_1), |
940 | PINMUX_IPSR_MODSEL_DATA(IP1_17_15, VI2_DATA5_VI2_B5, SEL_VI2_0), | 940 | PINMUX_IPSR_MODSEL_DATA(IP1_17_15, VI2_DATA5_VI2_B5, SEL_VI2_0), |
@@ -1005,14 +1005,14 @@ static const pinmux_enum_t pinmux_data[] = { | |||
1005 | PINMUX_IPSR_MODSEL_DATA(IP3_3_0, VI1_R0, SEL_VI1_0), | 1005 | PINMUX_IPSR_MODSEL_DATA(IP3_3_0, VI1_R0, SEL_VI1_0), |
1006 | PINMUX_IPSR_MODSEL_DATA(IP3_3_0, VI1_R0_B, SEL_VI1_1), | 1006 | PINMUX_IPSR_MODSEL_DATA(IP3_3_0, VI1_R0_B, SEL_VI1_1), |
1007 | PINMUX_IPSR_DATA(IP3_3_0, VI2_G0), | 1007 | PINMUX_IPSR_DATA(IP3_3_0, VI2_G0), |
1008 | PINMUX_IPSR_DATA(IP3_3_0, VI2_DATA3_VI2_B3_B), | 1008 | PINMUX_IPSR_MODSEL_DATA(IP3_3_0, VI2_DATA3_VI2_B3_B, SEL_VI2_1), |
1009 | PINMUX_IPSR_DATA(IP3_7_4, A12), | 1009 | PINMUX_IPSR_DATA(IP3_7_4, A12), |
1010 | PINMUX_IPSR_MODSEL_DATA(IP3_7_4, SCIFB2_RXD_B, SEL_SCIFB2_1), | 1010 | PINMUX_IPSR_MODSEL_DATA(IP3_7_4, SCIFB2_RXD_B, SEL_SCIFB2_1), |
1011 | PINMUX_IPSR_DATA(IP3_7_4, MSIOF2_TXD), | 1011 | PINMUX_IPSR_DATA(IP3_7_4, MSIOF2_TXD), |
1012 | PINMUX_IPSR_MODSEL_DATA(IP3_7_4, VI1_R1, SEL_VI1_0), | 1012 | PINMUX_IPSR_MODSEL_DATA(IP3_7_4, VI1_R1, SEL_VI1_0), |
1013 | PINMUX_IPSR_MODSEL_DATA(IP3_7_4, VI1_R1_B, SEL_VI1_1), | 1013 | PINMUX_IPSR_MODSEL_DATA(IP3_7_4, VI1_R1_B, SEL_VI1_1), |
1014 | PINMUX_IPSR_DATA(IP3_7_4, VI2_G1), | 1014 | PINMUX_IPSR_DATA(IP3_7_4, VI2_G1), |
1015 | PINMUX_IPSR_DATA(IP3_7_4, VI2_DATA4_VI2_B4_B), | 1015 | PINMUX_IPSR_MODSEL_DATA(IP3_7_4, VI2_DATA4_VI2_B4_B, SEL_VI2_1), |
1016 | PINMUX_IPSR_DATA(IP3_11_8, A13), | 1016 | PINMUX_IPSR_DATA(IP3_11_8, A13), |
1017 | PINMUX_IPSR_MODSEL_DATA(IP3_11_8, SCIFB2_RTS_N_B, SEL_SCIFB2_1), | 1017 | PINMUX_IPSR_MODSEL_DATA(IP3_11_8, SCIFB2_RTS_N_B, SEL_SCIFB2_1), |
1018 | PINMUX_IPSR_DATA(IP3_11_8, EX_WAIT2), | 1018 | PINMUX_IPSR_DATA(IP3_11_8, EX_WAIT2), |
@@ -1020,7 +1020,7 @@ static const pinmux_enum_t pinmux_data[] = { | |||
1020 | PINMUX_IPSR_MODSEL_DATA(IP3_11_8, VI1_R2, SEL_VI1_0), | 1020 | PINMUX_IPSR_MODSEL_DATA(IP3_11_8, VI1_R2, SEL_VI1_0), |
1021 | PINMUX_IPSR_MODSEL_DATA(IP3_11_8, VI1_R2_B, SEL_VI1_1), | 1021 | PINMUX_IPSR_MODSEL_DATA(IP3_11_8, VI1_R2_B, SEL_VI1_1), |
1022 | PINMUX_IPSR_DATA(IP3_11_8, VI2_G2), | 1022 | PINMUX_IPSR_DATA(IP3_11_8, VI2_G2), |
1023 | PINMUX_IPSR_MODSEL_DATA(IP3_11_8, VI2_DATA5_VI2_B5_B, SEL_VI2_0), | 1023 | PINMUX_IPSR_MODSEL_DATA(IP3_11_8, VI2_DATA5_VI2_B5_B, SEL_VI2_1), |
1024 | PINMUX_IPSR_DATA(IP3_14_12, A14), | 1024 | PINMUX_IPSR_DATA(IP3_14_12, A14), |
1025 | PINMUX_IPSR_MODSEL_DATA(IP3_14_12, SCIFB2_TXD_B, SEL_SCIFB2_1), | 1025 | PINMUX_IPSR_MODSEL_DATA(IP3_14_12, SCIFB2_TXD_B, SEL_SCIFB2_1), |
1026 | PINMUX_IPSR_DATA(IP3_14_12, ATACS11_N), | 1026 | PINMUX_IPSR_DATA(IP3_14_12, ATACS11_N), |
@@ -1112,7 +1112,7 @@ static const pinmux_enum_t pinmux_data[] = { | |||
1112 | PINMUX_IPSR_MODSEL_DATA(IP5_2_0, VI1_G1, SEL_VI1_0), | 1112 | PINMUX_IPSR_MODSEL_DATA(IP5_2_0, VI1_G1, SEL_VI1_0), |
1113 | PINMUX_IPSR_MODSEL_DATA(IP5_2_0, VI1_G1_B, SEL_VI1_1), | 1113 | PINMUX_IPSR_MODSEL_DATA(IP5_2_0, VI1_G1_B, SEL_VI1_1), |
1114 | PINMUX_IPSR_DATA(IP5_2_0, VI2_R3), | 1114 | PINMUX_IPSR_DATA(IP5_2_0, VI2_R3), |
1115 | PINMUX_IPSR_MODSEL_DATA(IP5_5_3, EX_CS4_N, SEL_I2C1_0), | 1115 | PINMUX_IPSR_DATA(IP5_5_3, EX_CS4_N), |
1116 | PINMUX_IPSR_MODSEL_DATA(IP5_5_3, MSIOF1_SCK_B, SEL_SOF1_1), | 1116 | PINMUX_IPSR_MODSEL_DATA(IP5_5_3, MSIOF1_SCK_B, SEL_SOF1_1), |
1117 | PINMUX_IPSR_DATA(IP5_5_3, VI3_HSYNC_N), | 1117 | PINMUX_IPSR_DATA(IP5_5_3, VI3_HSYNC_N), |
1118 | PINMUX_IPSR_MODSEL_DATA(IP5_5_3, VI2_HSYNC_N, SEL_VI2_0), | 1118 | PINMUX_IPSR_MODSEL_DATA(IP5_5_3, VI2_HSYNC_N, SEL_VI2_0), |
@@ -1159,7 +1159,7 @@ static const pinmux_enum_t pinmux_data[] = { | |||
1159 | PINMUX_IPSR_DATA(IP5_23_21, VI2_R6), | 1159 | PINMUX_IPSR_DATA(IP5_23_21, VI2_R6), |
1160 | PINMUX_IPSR_MODSEL_DATA(IP5_23_21, SCIFA0_CTS_N_B, SEL_SCFA_1), | 1160 | PINMUX_IPSR_MODSEL_DATA(IP5_23_21, SCIFA0_CTS_N_B, SEL_SCFA_1), |
1161 | PINMUX_IPSR_MODSEL_DATA(IP5_23_21, IERX_C, SEL_IEB_2), | 1161 | PINMUX_IPSR_MODSEL_DATA(IP5_23_21, IERX_C, SEL_IEB_2), |
1162 | PINMUX_IPSR_DATA(IP5_26_24, EX_WAIT0), | 1162 | PINMUX_IPSR_MODSEL_DATA(IP5_26_24, EX_WAIT0, SEL_LBS_0), |
1163 | PINMUX_IPSR_DATA(IP5_26_24, IRQ3), | 1163 | PINMUX_IPSR_DATA(IP5_26_24, IRQ3), |
1164 | PINMUX_IPSR_DATA(IP5_26_24, INTC_IRQ3_N), | 1164 | PINMUX_IPSR_DATA(IP5_26_24, INTC_IRQ3_N), |
1165 | PINMUX_IPSR_MODSEL_DATA(IP5_26_24, VI3_CLK, SEL_VI3_0), | 1165 | PINMUX_IPSR_MODSEL_DATA(IP5_26_24, VI3_CLK, SEL_VI3_0), |
@@ -1240,8 +1240,8 @@ static const pinmux_enum_t pinmux_data[] = { | |||
1240 | PINMUX_IPSR_MODSEL_DATA(IP7_2_0, SIM0_D_C, SEL_SIM_2), | 1240 | PINMUX_IPSR_MODSEL_DATA(IP7_2_0, SIM0_D_C, SEL_SIM_2), |
1241 | PINMUX_IPSR_MODSEL_DATA(IP7_2_0, HCTS0_N_F, SEL_HSCIF0_5), | 1241 | PINMUX_IPSR_MODSEL_DATA(IP7_2_0, HCTS0_N_F, SEL_HSCIF0_5), |
1242 | PINMUX_IPSR_DATA(IP7_5_3, ETH_TXD1), | 1242 | PINMUX_IPSR_DATA(IP7_5_3, ETH_TXD1), |
1243 | PINMUX_IPSR_MODSEL_DATA(IP7_5_3, HTX0_F, SEL_HSCIF0_4), | 1243 | PINMUX_IPSR_MODSEL_DATA(IP7_5_3, HTX0_F, SEL_HSCIF0_5), |
1244 | PINMUX_IPSR_MODSEL_DATA(IP7_5_3, BPFCLK_G, SEL_SIM_2), | 1244 | PINMUX_IPSR_MODSEL_DATA(IP7_5_3, BPFCLK_G, SEL_FM_6), |
1245 | PINMUX_IPSR_DATA(IP7_7_6, ETH_TX_EN), | 1245 | PINMUX_IPSR_DATA(IP7_7_6, ETH_TX_EN), |
1246 | PINMUX_IPSR_MODSEL_DATA(IP7_7_6, SIM0_CLK_C, SEL_SIM_2), | 1246 | PINMUX_IPSR_MODSEL_DATA(IP7_7_6, SIM0_CLK_C, SEL_SIM_2), |
1247 | PINMUX_IPSR_MODSEL_DATA(IP7_7_6, HRTS0_N_F, SEL_HSCIF0_5), | 1247 | PINMUX_IPSR_MODSEL_DATA(IP7_7_6, HRTS0_N_F, SEL_HSCIF0_5), |
@@ -1318,7 +1318,7 @@ static const pinmux_enum_t pinmux_data[] = { | |||
1318 | PINMUX_IPSR_MODSEL_DATA(IP8_25_24, SCIFA1_RTS_N_D, SEL_SCIFA1_3), | 1318 | PINMUX_IPSR_MODSEL_DATA(IP8_25_24, SCIFA1_RTS_N_D, SEL_SCIFA1_3), |
1319 | PINMUX_IPSR_DATA(IP8_25_24, AVB_MAGIC), | 1319 | PINMUX_IPSR_DATA(IP8_25_24, AVB_MAGIC), |
1320 | PINMUX_IPSR_MODSEL_DATA(IP8_26, VI1_DATA5_VI1_B5, SEL_VI1_0), | 1320 | PINMUX_IPSR_MODSEL_DATA(IP8_26, VI1_DATA5_VI1_B5, SEL_VI1_0), |
1321 | PINMUX_IPSR_MODSEL_DATA(IP8_26, AVB_PHY_INT, SEL_SCIFA1_3), | 1321 | PINMUX_IPSR_DATA(IP8_26, AVB_PHY_INT), |
1322 | PINMUX_IPSR_MODSEL_DATA(IP8_27, VI1_DATA6_VI1_B6, SEL_VI1_0), | 1322 | PINMUX_IPSR_MODSEL_DATA(IP8_27, VI1_DATA6_VI1_B6, SEL_VI1_0), |
1323 | PINMUX_IPSR_DATA(IP8_27, AVB_GTXREFCLK), | 1323 | PINMUX_IPSR_DATA(IP8_27, AVB_GTXREFCLK), |
1324 | PINMUX_IPSR_DATA(IP8_28, SD0_CLK), | 1324 | PINMUX_IPSR_DATA(IP8_28, SD0_CLK), |
@@ -1522,7 +1522,7 @@ static const pinmux_enum_t pinmux_data[] = { | |||
1522 | PINMUX_IPSR_DATA(IP12_5_4, MOUT5), | 1522 | PINMUX_IPSR_DATA(IP12_5_4, MOUT5), |
1523 | PINMUX_IPSR_DATA(IP12_7_6, SSI_SDATA2), | 1523 | PINMUX_IPSR_DATA(IP12_7_6, SSI_SDATA2), |
1524 | PINMUX_IPSR_MODSEL_DATA(IP12_7_6, CAN1_RX_B, SEL_CAN1_1), | 1524 | PINMUX_IPSR_MODSEL_DATA(IP12_7_6, CAN1_RX_B, SEL_CAN1_1), |
1525 | PINMUX_IPSR_MODSEL_DATA(IP12_7_6, CAN1_TX_B, SEL_CAN1_1), | 1525 | PINMUX_IPSR_DATA(IP12_7_6, SSI_SCK1), |
1526 | PINMUX_IPSR_DATA(IP12_7_6, MOUT6), | 1526 | PINMUX_IPSR_DATA(IP12_7_6, MOUT6), |
1527 | PINMUX_IPSR_DATA(IP12_10_8, SSI_SCK34), | 1527 | PINMUX_IPSR_DATA(IP12_10_8, SSI_SCK34), |
1528 | PINMUX_IPSR_DATA(IP12_10_8, STP_OPWM_0), | 1528 | PINMUX_IPSR_DATA(IP12_10_8, STP_OPWM_0), |
@@ -1659,11 +1659,11 @@ static const pinmux_enum_t pinmux_data[] = { | |||
1659 | PINMUX_IPSR_DATA(IP14_11_9, LCDOUT1), | 1659 | PINMUX_IPSR_DATA(IP14_11_9, LCDOUT1), |
1660 | PINMUX_IPSR_MODSEL_DATA(IP14_15_12, SCIFA0_CTS_N, SEL_SCFA_0), | 1660 | PINMUX_IPSR_MODSEL_DATA(IP14_15_12, SCIFA0_CTS_N, SEL_SCFA_0), |
1661 | PINMUX_IPSR_MODSEL_DATA(IP14_15_12, HCTS1_N, SEL_HSCIF1_0), | 1661 | PINMUX_IPSR_MODSEL_DATA(IP14_15_12, HCTS1_N, SEL_HSCIF1_0), |
1662 | PINMUX_IPSR_MODSEL_DATA(IP14_15_12, CTS0_N, SEL_SCIF0_0), | 1662 | PINMUX_IPSR_DATA(IP14_15_12, CTS0_N), |
1663 | PINMUX_IPSR_MODSEL_DATA(IP14_15_12, MSIOF3_SYNC, SEL_SOF3_0), | 1663 | PINMUX_IPSR_MODSEL_DATA(IP14_15_12, MSIOF3_SYNC, SEL_SOF3_0), |
1664 | PINMUX_IPSR_DATA(IP14_15_12, DU2_DG3), | 1664 | PINMUX_IPSR_DATA(IP14_15_12, DU2_DG3), |
1665 | PINMUX_IPSR_MODSEL_DATA(IP14_15_12, LCDOUT11, SEL_HSCIF1_0), | 1665 | PINMUX_IPSR_DATA(IP14_15_12, LCDOUT11), |
1666 | PINMUX_IPSR_MODSEL_DATA(IP14_15_12, PWM0_B, SEL_SCIF0_0), | 1666 | PINMUX_IPSR_DATA(IP14_15_12, PWM0_B), |
1667 | PINMUX_IPSR_MODSEL_DATA(IP14_15_12, IIC1_SCL_C, SEL_IIC1_2), | 1667 | PINMUX_IPSR_MODSEL_DATA(IP14_15_12, IIC1_SCL_C, SEL_IIC1_2), |
1668 | PINMUX_IPSR_MODSEL_DATA(IP14_15_12, I2C1_SCL_C, SEL_I2C1_2), | 1668 | PINMUX_IPSR_MODSEL_DATA(IP14_15_12, I2C1_SCL_C, SEL_I2C1_2), |
1669 | PINMUX_IPSR_MODSEL_DATA(IP14_18_16, SCIFA0_RTS_N, SEL_SCFA_0), | 1669 | PINMUX_IPSR_MODSEL_DATA(IP14_18_16, SCIFA0_RTS_N, SEL_SCFA_0), |
@@ -1703,7 +1703,7 @@ static const pinmux_enum_t pinmux_data[] = { | |||
1703 | PINMUX_IPSR_MODSEL_DATA(IP15_2_0, MSIOF3_SCK, SEL_SOF3_0), | 1703 | PINMUX_IPSR_MODSEL_DATA(IP15_2_0, MSIOF3_SCK, SEL_SOF3_0), |
1704 | PINMUX_IPSR_DATA(IP15_2_0, DU2_DG7), | 1704 | PINMUX_IPSR_DATA(IP15_2_0, DU2_DG7), |
1705 | PINMUX_IPSR_DATA(IP15_2_0, LCDOUT15), | 1705 | PINMUX_IPSR_DATA(IP15_2_0, LCDOUT15), |
1706 | PINMUX_IPSR_MODSEL_DATA(IP15_2_0, SCIF_CLK_B, SEL_SCIFCLK_0), | 1706 | PINMUX_IPSR_MODSEL_DATA(IP15_2_0, SCIF_CLK_B, SEL_SCIFCLK_1), |
1707 | PINMUX_IPSR_MODSEL_DATA(IP15_5_3, SCIFA2_RXD, SEL_SCIFA2_0), | 1707 | PINMUX_IPSR_MODSEL_DATA(IP15_5_3, SCIFA2_RXD, SEL_SCIFA2_0), |
1708 | PINMUX_IPSR_MODSEL_DATA(IP15_5_3, FMIN, SEL_FM_0), | 1708 | PINMUX_IPSR_MODSEL_DATA(IP15_5_3, FMIN, SEL_FM_0), |
1709 | PINMUX_IPSR_MODSEL_DATA(IP15_5_3, TX2, SEL_SCIF2_0), | 1709 | PINMUX_IPSR_MODSEL_DATA(IP15_5_3, TX2, SEL_SCIF2_0), |
@@ -1722,8 +1722,7 @@ static const pinmux_enum_t pinmux_data[] = { | |||
1722 | PINMUX_IPSR_MODSEL_DATA(IP15_11_9, TS_SDEN0, SEL_TSIF0_0), | 1722 | PINMUX_IPSR_MODSEL_DATA(IP15_11_9, TS_SDEN0, SEL_TSIF0_0), |
1723 | PINMUX_IPSR_DATA(IP15_11_9, DU2_DG4), | 1723 | PINMUX_IPSR_DATA(IP15_11_9, DU2_DG4), |
1724 | PINMUX_IPSR_DATA(IP15_11_9, LCDOUT12), | 1724 | PINMUX_IPSR_DATA(IP15_11_9, LCDOUT12), |
1725 | PINMUX_IPSR_MODSEL_DATA(IP15_11_9, HCTS0_N_C, SEL_IIC2_0), | 1725 | PINMUX_IPSR_MODSEL_DATA(IP15_11_9, HCTS0_N_C, SEL_HSCIF0_2), |
1726 | PINMUX_IPSR_MODSEL_DATA(IP15_11_9, I2C2_SDA, SEL_I2C2_0), | ||
1727 | PINMUX_IPSR_MODSEL_DATA(IP15_13_12, HRX0, SEL_HSCIF0_0), | 1726 | PINMUX_IPSR_MODSEL_DATA(IP15_13_12, HRX0, SEL_HSCIF0_0), |
1728 | PINMUX_IPSR_DATA(IP15_13_12, DU2_DB2), | 1727 | PINMUX_IPSR_DATA(IP15_13_12, DU2_DB2), |
1729 | PINMUX_IPSR_DATA(IP15_13_12, LCDOUT18), | 1728 | PINMUX_IPSR_DATA(IP15_13_12, LCDOUT18), |