pinctrl: sh-pfc: r8a7791: SD1_CLK fix

Fix the SD1_CLK handling for r8a7791. Without this patch
it is impossible to request all pins needed for SDHI1 on
the Koelsch board.

Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Magnus Damm 2014-02-26 19:10:26 +09:00 committed by Linus Walleij
parent 5ba341604a
commit b5973fcd76
1 changed files with 4 additions and 2 deletions

View File

@ -89,7 +89,8 @@ enum {
/* GPSR6 */ /* GPSR6 */
FN_IP13_10, FN_IP13_11, FN_IP13_12, FN_IP13_13, FN_IP13_14, FN_IP13_10, FN_IP13_11, FN_IP13_12, FN_IP13_13, FN_IP13_14,
FN_IP13_15, FN_IP13_18_16, FN_IP13_21_19, FN_IP13_22, FN_IP13_24_23, FN_IP13_15, FN_IP13_18_16, FN_IP13_21_19,
FN_IP13_22, FN_IP13_24_23, FN_SD1_CLK,
FN_IP13_25, FN_IP13_26, FN_IP13_27, FN_IP13_30_28, FN_IP14_1_0, FN_IP13_25, FN_IP13_26, FN_IP13_27, FN_IP13_30_28, FN_IP14_1_0,
FN_IP14_2, FN_IP14_3, FN_IP14_4, FN_IP14_5, FN_IP14_6, FN_IP14_7, FN_IP14_2, FN_IP14_3, FN_IP14_4, FN_IP14_5, FN_IP14_6, FN_IP14_7,
FN_IP14_10_8, FN_IP14_13_11, FN_IP14_16_14, FN_IP14_19_17, FN_IP14_10_8, FN_IP14_13_11, FN_IP14_16_14, FN_IP14_19_17,
@ -788,6 +789,7 @@ static const u16 pinmux_data[] = {
PINMUX_DATA(USB1_PWEN_MARK, FN_USB1_PWEN), PINMUX_DATA(USB1_PWEN_MARK, FN_USB1_PWEN),
PINMUX_DATA(USB1_OVC_MARK, FN_USB1_OVC), PINMUX_DATA(USB1_OVC_MARK, FN_USB1_OVC),
PINMUX_DATA(DU0_DOTCLKIN_MARK, FN_DU0_DOTCLKIN), PINMUX_DATA(DU0_DOTCLKIN_MARK, FN_DU0_DOTCLKIN),
PINMUX_DATA(SD1_CLK_MARK, FN_SD1_CLK),
/* IPSR0 */ /* IPSR0 */
PINMUX_IPSR_DATA(IP0_0, D0), PINMUX_IPSR_DATA(IP0_0, D0),
@ -3825,7 +3827,7 @@ static const struct pinmux_cfg_reg pinmux_config_regs[] = {
GP_6_11_FN, FN_IP13_25, GP_6_11_FN, FN_IP13_25,
GP_6_10_FN, FN_IP13_24_23, GP_6_10_FN, FN_IP13_24_23,
GP_6_9_FN, FN_IP13_22, GP_6_9_FN, FN_IP13_22,
0, 0, GP_6_8_FN, FN_SD1_CLK,
GP_6_7_FN, FN_IP13_21_19, GP_6_7_FN, FN_IP13_21_19,
GP_6_6_FN, FN_IP13_18_16, GP_6_6_FN, FN_IP13_18_16,
GP_6_5_FN, FN_IP13_15, GP_6_5_FN, FN_IP13_15,