Skip to content

Commit b5973fc

Browse files
Magnus Dammlinusw
authored andcommitted
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 <[email protected]> Acked-by: Laurent Pinchart <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
1 parent 5ba3416 commit b5973fc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

drivers/pinctrl/sh-pfc/pfc-r8a7791.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ enum {
8989

9090
/* GPSR6 */
9191
FN_IP13_10, FN_IP13_11, FN_IP13_12, FN_IP13_13, FN_IP13_14,
92-
FN_IP13_15, FN_IP13_18_16, FN_IP13_21_19, FN_IP13_22, FN_IP13_24_23,
92+
FN_IP13_15, FN_IP13_18_16, FN_IP13_21_19,
93+
FN_IP13_22, FN_IP13_24_23, FN_SD1_CLK,
9394
FN_IP13_25, FN_IP13_26, FN_IP13_27, FN_IP13_30_28, FN_IP14_1_0,
9495
FN_IP14_2, FN_IP14_3, FN_IP14_4, FN_IP14_5, FN_IP14_6, FN_IP14_7,
9596
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[] = {
788789
PINMUX_DATA(USB1_PWEN_MARK, FN_USB1_PWEN),
789790
PINMUX_DATA(USB1_OVC_MARK, FN_USB1_OVC),
790791
PINMUX_DATA(DU0_DOTCLKIN_MARK, FN_DU0_DOTCLKIN),
792+
PINMUX_DATA(SD1_CLK_MARK, FN_SD1_CLK),
791793

792794
/* IPSR0 */
793795
PINMUX_IPSR_DATA(IP0_0, D0),
@@ -3825,7 +3827,7 @@ static const struct pinmux_cfg_reg pinmux_config_regs[] = {
38253827
GP_6_11_FN, FN_IP13_25,
38263828
GP_6_10_FN, FN_IP13_24_23,
38273829
GP_6_9_FN, FN_IP13_22,
3828-
0, 0,
3830+
GP_6_8_FN, FN_SD1_CLK,
38293831
GP_6_7_FN, FN_IP13_21_19,
38303832
GP_6_6_FN, FN_IP13_18_16,
38313833
GP_6_5_FN, FN_IP13_15,

0 commit comments

Comments
 (0)