Skip to content

Commit

Permalink
pinctrl: renesas: r8a779g0: Add missing SCIF_CLK2 pin group/function
Browse files Browse the repository at this point in the history
[ Upstream commit 68540257cdf1d07ff8a649aa94c21c5804bbb9b0 ]

R-Car V4H actually has two SCIF_CLK pins.
The second pin provides the SCIF_CLK signal for HSCIF2 and SCIF4.

Fixes: 050442a ("pinctrl: renesas: r8a779g0: Add pins, groups and functions")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/6352ec9b63fdd38c2c70d8d203e46f21fbfeccdc.1705589612.git.geert+renesas@glider.be
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
geertu authored and Sasha Levin committed Mar 26, 2024
1 parent e8b6358 commit c96427e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions drivers/pinctrl/renesas/pfc-r8a779g0.c
Expand Up @@ -2384,6 +2384,14 @@ static const unsigned int scif_clk_mux[] = {
SCIF_CLK_MARK,
};

static const unsigned int scif_clk2_pins[] = {
/* SCIF_CLK2 */
RCAR_GP_PIN(8, 11),
};
static const unsigned int scif_clk2_mux[] = {
SCIF_CLK2_MARK,
};

/* - SSI ------------------------------------------------- */
static const unsigned int ssi_data_pins[] = {
/* SSI_SD */
Expand Down Expand Up @@ -2694,6 +2702,7 @@ static const struct sh_pfc_pin_group pinmux_groups[] = {
SH_PFC_PIN_GROUP(scif4_clk),
SH_PFC_PIN_GROUP(scif4_ctrl),
SH_PFC_PIN_GROUP(scif_clk),
SH_PFC_PIN_GROUP(scif_clk2),

SH_PFC_PIN_GROUP(ssi_data),
SH_PFC_PIN_GROUP(ssi_ctrl),
Expand Down Expand Up @@ -3015,6 +3024,10 @@ static const char * const scif_clk_groups[] = {
"scif_clk",
};

static const char * const scif_clk2_groups[] = {
"scif_clk2",
};

static const char * const ssi_groups[] = {
"ssi_data",
"ssi_ctrl",
Expand Down Expand Up @@ -3102,6 +3115,7 @@ static const struct sh_pfc_function pinmux_functions[] = {
SH_PFC_FUNCTION(scif3),
SH_PFC_FUNCTION(scif4),
SH_PFC_FUNCTION(scif_clk),
SH_PFC_FUNCTION(scif_clk2),

SH_PFC_FUNCTION(ssi),

Expand Down

0 comments on commit c96427e

Please sign in to comment.