* [PATCH 0/5] pinctrl: sh-pfc: r8a7795: (H)SCIF Updates
@ 2015-08-26 18:02 Geert Uytterhoeven
2015-08-26 18:02 ` [PATCH 1/5] pinctrl: sh-pfc: r8a7795: Fix and extend SCIF0 pin data Geert Uytterhoeven
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2015-08-26 18:02 UTC (permalink / raw)
To: Kuninori Morimoto, Takeshi Kihara, Laurent Pinchart,
Linus Walleij, Simon Horman, Magnus Damm
Cc: linux-sh, linux-gpio, Geert Uytterhoeven
Hi,
This series contains (H)SCIF-related updates for the R-Car H3 (r8a7795)
pin function controller driver:
- Fixes and updates for SCIF pindata (incl. a DTS update),
- Addition of HSCIF support.
This is against "[PATCH] pinctrl: sh-pfc: Add R8A7795 PFC support" and
the current state (sic) of the Salvator-X DTS.
Geert Uytterhoeven (5):
pinctrl: sh-pfc: r8a7795: Fix and extend SCIF0 pin data
pinctrl: sh-pfc: r8a7795: Extend SCIF2 pin data
pinctrl: sh-pfc: r8a7795: Fix SCIF5 pin data
pinctrl: sh-pfc: r8a7795: Add HSCIF pins, groups, and functions
arm64: renesas: salvator-x: Update SCIF2 pin group
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 2 +-
drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 296 ++++++++++++++++++++-
2 files changed, 285 insertions(+), 13 deletions(-)
--
1.9.1
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/5] pinctrl: sh-pfc: r8a7795: Fix and extend SCIF0 pin data
2015-08-26 18:02 [PATCH 0/5] pinctrl: sh-pfc: r8a7795: (H)SCIF Updates Geert Uytterhoeven
@ 2015-08-26 18:02 ` Geert Uytterhoeven
2015-08-26 18:02 ` [PATCH 2/5] pinctrl: sh-pfc: r8a7795: Extend SCIF2 " Geert Uytterhoeven
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2015-08-26 18:02 UTC (permalink / raw)
To: Kuninori Morimoto, Takeshi Kihara, Laurent Pinchart,
Linus Walleij, Simon Horman, Magnus Damm
Cc: linux-sh, linux-gpio, Geert Uytterhoeven
- Fix SCIF0 SCK pin and mux: "SCIF_CLK_B" is not an alternative SCK
pin, but the alternative (H)SCIF baud rate generation clock pin,
which is not yet supported,
- Add missing SCIF0 ctrl pins.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)
diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7795.c b/drivers/pinctrl/sh-pfc/pfc-r8a7795.c
index 9437e87cc8065211..459929d215f9b8aa 100644
--- a/drivers/pinctrl/sh-pfc/pfc-r8a7795.c
+++ b/drivers/pinctrl/sh-pfc/pfc-r8a7795.c
@@ -2243,12 +2243,19 @@ static const unsigned int scif0_data_pins[] = {
static const unsigned int scif0_data_mux[] = {
RX0_MARK, TX0_MARK,
};
-static const unsigned int scif0_clk_b_pins[] = {
+static const unsigned int scif0_clk_pins[] = {
/* SCK */
- RCAR_GP_PIN(5, 9),
+ RCAR_GP_PIN(5, 0),
+};
+static const unsigned int scif0_clk_mux[] = {
+ SCK0_MARK,
+};
+static const unsigned int scif0_ctrl_pins[] = {
+ /* RTS, CTS */
+ RCAR_GP_PIN(5, 4), RCAR_GP_PIN(5, 3),
};
-static const unsigned int scif0_clk_b_mux[] = {
- SCIF_CLK_B_MARK,
+static const unsigned int scif0_ctrl_mux[] = {
+ RTS0_N_TANS_MARK, CTS0_N_MARK,
};
/* - SCIF1 ------------------------------------------------------------------ */
static const unsigned int scif1_data_a_pins[] = {
@@ -2780,7 +2787,8 @@ static const struct sh_pfc_pin_group pinmux_groups[] = {
SH_PFC_PIN_GROUP(msiof3_txd_d),
SH_PFC_PIN_GROUP(msiof3_rxd_d),
SH_PFC_PIN_GROUP(scif0_data),
- SH_PFC_PIN_GROUP(scif0_clk_b),
+ SH_PFC_PIN_GROUP(scif0_clk),
+ SH_PFC_PIN_GROUP(scif0_ctrl),
SH_PFC_PIN_GROUP(scif1_data_a),
SH_PFC_PIN_GROUP(scif1_clk),
SH_PFC_PIN_GROUP(scif1_ctrl),
@@ -2972,7 +2980,8 @@ static const char * const msiof3_groups[] = {
static const char * const scif0_groups[] = {
"scif0_data",
- "scif0_clk_b",
+ "scif0_clk",
+ "scif0_ctrl",
};
static const char * const scif1_groups[] = {
--
1.9.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/5] pinctrl: sh-pfc: r8a7795: Extend SCIF2 pin data
2015-08-26 18:02 [PATCH 0/5] pinctrl: sh-pfc: r8a7795: (H)SCIF Updates Geert Uytterhoeven
2015-08-26 18:02 ` [PATCH 1/5] pinctrl: sh-pfc: r8a7795: Fix and extend SCIF0 pin data Geert Uytterhoeven
@ 2015-08-26 18:02 ` Geert Uytterhoeven
2015-08-26 18:02 ` [PATCH 3/5] pinctrl: sh-pfc: r8a7795: Fix SCIF5 " Geert Uytterhoeven
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2015-08-26 18:02 UTC (permalink / raw)
To: Kuninori Morimoto, Takeshi Kihara, Laurent Pinchart,
Linus Walleij, Simon Horman, Magnus Damm
Cc: linux-sh, linux-gpio, Geert Uytterhoeven
Add missing alternative data pins.
Note that this renames "scif2_data" to "scif2_data_a", and thus requires
a DTS update.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7795.c b/drivers/pinctrl/sh-pfc/pfc-r8a7795.c
index 459929d215f9b8aa..83cce48da9f928b7 100644
--- a/drivers/pinctrl/sh-pfc/pfc-r8a7795.c
+++ b/drivers/pinctrl/sh-pfc/pfc-r8a7795.c
@@ -2288,11 +2288,11 @@ static const unsigned int scif1_data_b_mux[] = {
RX1_B_MARK, TX1_B_MARK,
};
/* - SCIF2 ------------------------------------------------------------------ */
-static const unsigned int scif2_data_pins[] = {
+static const unsigned int scif2_data_a_pins[] = {
/* RX, TX */
RCAR_GP_PIN(5, 11), RCAR_GP_PIN(5, 10),
};
-static const unsigned int scif2_data_mux[] = {
+static const unsigned int scif2_data_a_mux[] = {
RX2_A_MARK, TX2_A_MARK,
};
static const unsigned int scif2_clk_pins[] = {
@@ -2302,6 +2302,13 @@ static const unsigned int scif2_clk_pins[] = {
static const unsigned int scif2_clk_mux[] = {
SCK2_MARK,
};
+static const unsigned int scif2_data_b_pins[] = {
+ /* RX, TX */
+ RCAR_GP_PIN(5, 15), RCAR_GP_PIN(5, 16),
+};
+static const unsigned int scif2_data_b_mux[] = {
+ RX2_B_MARK, TX2_B_MARK,
+};
/* - SCIF3 ------------------------------------------------------------------ */
static const unsigned int scif3_data_a_pins[] = {
/* RX, TX */
@@ -2793,8 +2800,9 @@ static const struct sh_pfc_pin_group pinmux_groups[] = {
SH_PFC_PIN_GROUP(scif1_clk),
SH_PFC_PIN_GROUP(scif1_ctrl),
SH_PFC_PIN_GROUP(scif1_data_b),
- SH_PFC_PIN_GROUP(scif2_data),
+ SH_PFC_PIN_GROUP(scif2_data_a),
SH_PFC_PIN_GROUP(scif2_clk),
+ SH_PFC_PIN_GROUP(scif2_data_b),
SH_PFC_PIN_GROUP(scif3_data_a),
SH_PFC_PIN_GROUP(scif3_clk),
SH_PFC_PIN_GROUP(scif3_ctrl),
@@ -2992,8 +3000,9 @@ static const char * const scif1_groups[] = {
};
static const char * const scif2_groups[] = {
- "scif2_data",
+ "scif2_data_a",
"scif2_clk",
+ "scif2_data_b",
};
static const char * const scif3_groups[] = {
--
1.9.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 3/5] pinctrl: sh-pfc: r8a7795: Fix SCIF5 pin data
2015-08-26 18:02 [PATCH 0/5] pinctrl: sh-pfc: r8a7795: (H)SCIF Updates Geert Uytterhoeven
2015-08-26 18:02 ` [PATCH 1/5] pinctrl: sh-pfc: r8a7795: Fix and extend SCIF0 pin data Geert Uytterhoeven
2015-08-26 18:02 ` [PATCH 2/5] pinctrl: sh-pfc: r8a7795: Extend SCIF2 " Geert Uytterhoeven
@ 2015-08-26 18:02 ` Geert Uytterhoeven
2015-08-26 18:02 ` [PATCH 4/5] pinctrl: sh-pfc: r8a7795: Add HSCIF pins, groups, and functions Geert Uytterhoeven
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2015-08-26 18:02 UTC (permalink / raw)
To: Kuninori Morimoto, Takeshi Kihara, Laurent Pinchart,
Linus Walleij, Simon Horman, Magnus Damm
Cc: linux-sh, linux-gpio, Geert Uytterhoeven
Correct SCIF5 data pin numbers.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7795.c b/drivers/pinctrl/sh-pfc/pfc-r8a7795.c
index 83cce48da9f928b7..52faa7faccdc5488 100644
--- a/drivers/pinctrl/sh-pfc/pfc-r8a7795.c
+++ b/drivers/pinctrl/sh-pfc/pfc-r8a7795.c
@@ -2405,7 +2405,7 @@ static const unsigned int scif4_ctrl_c_mux[] = {
/* - SCIF5 ------------------------------------------------------------------ */
static const unsigned int scif5_data_pins[] = {
/* RX, TX */
- RCAR_GP_PIN(2, 19), RCAR_GP_PIN(2, 21),
+ RCAR_GP_PIN(5, 19), RCAR_GP_PIN(5, 21),
};
static const unsigned int scif5_data_mux[] = {
RX5_MARK, TX5_MARK,
--
1.9.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 4/5] pinctrl: sh-pfc: r8a7795: Add HSCIF pins, groups, and functions
2015-08-26 18:02 [PATCH 0/5] pinctrl: sh-pfc: r8a7795: (H)SCIF Updates Geert Uytterhoeven
` (2 preceding siblings ...)
2015-08-26 18:02 ` [PATCH 3/5] pinctrl: sh-pfc: r8a7795: Fix SCIF5 " Geert Uytterhoeven
@ 2015-08-26 18:02 ` Geert Uytterhoeven
2015-08-26 18:02 ` [PATCH 5/5] arm64: renesas: salvator-x: Update SCIF2 pin group Geert Uytterhoeven
2015-09-25 16:07 ` [PATCH 0/5] pinctrl: sh-pfc: r8a7795: (H)SCIF Updates Linus Walleij
5 siblings, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2015-08-26 18:02 UTC (permalink / raw)
To: Kuninori Morimoto, Takeshi Kihara, Laurent Pinchart,
Linus Walleij, Simon Horman, Magnus Damm
Cc: linux-sh, linux-gpio, Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 256 ++++++++++++++++++++++++++++++++++-
1 file changed, 255 insertions(+), 1 deletion(-)
diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7795.c b/drivers/pinctrl/sh-pfc/pfc-r8a7795.c
index 52faa7faccdc5488..d54e5e5b04f9f3d5 100644
--- a/drivers/pinctrl/sh-pfc/pfc-r8a7795.c
+++ b/drivers/pinctrl/sh-pfc/pfc-r8a7795.c
@@ -1558,7 +1558,191 @@ static const unsigned int hdmi1_cec_pins[] = {
static const unsigned int hdmi1_cec_mux[] = {
HDMI1_CEC_MARK,
};
-/* - HSCIF ------------------------------------------------------------------ */
+
+/* - HSCIF0 ----------------------------------------------------------------- */
+static const unsigned int hscif0_data_pins[] = {
+ /* RX, TX */
+ RCAR_GP_PIN(5, 13), RCAR_GP_PIN(5, 14),
+};
+static const unsigned int hscif0_data_mux[] = {
+ HRX0_MARK, HTX0_MARK,
+};
+static const unsigned int hscif0_clk_pins[] = {
+ /* SCK */
+ RCAR_GP_PIN(5, 12),
+};
+static const unsigned int hscif0_clk_mux[] = {
+ HSCK0_MARK,
+};
+static const unsigned int hscif0_ctrl_pins[] = {
+ /* RTS, CTS */
+ RCAR_GP_PIN(5, 16), RCAR_GP_PIN(5, 15),
+};
+static const unsigned int hscif0_ctrl_mux[] = {
+ HRTS0_N_MARK, HCTS0_N_MARK,
+};
+/* - HSCIF1 ----------------------------------------------------------------- */
+static const unsigned int hscif1_data_a_pins[] = {
+ /* RX, TX */
+ RCAR_GP_PIN(5, 5), RCAR_GP_PIN(5, 6),
+};
+static const unsigned int hscif1_data_a_mux[] = {
+ HRX1_A_MARK, HTX1_A_MARK,
+};
+static const unsigned int hscif1_clk_a_pins[] = {
+ /* SCK */
+ RCAR_GP_PIN(6, 21),
+};
+static const unsigned int hscif1_clk_a_mux[] = {
+ HSCK1_A_MARK,
+};
+static const unsigned int hscif1_ctrl_a_pins[] = {
+ /* RTS, CTS */
+ RCAR_GP_PIN(5, 8), RCAR_GP_PIN(5, 7),
+};
+static const unsigned int hscif1_ctrl_a_mux[] = {
+ HRTS1_N_A_MARK, HCTS1_N_A_MARK,
+};
+
+static const unsigned int hscif1_data_b_pins[] = {
+ /* RX, TX */
+ RCAR_GP_PIN(5, 1), RCAR_GP_PIN(5, 2),
+};
+static const unsigned int hscif1_data_b_mux[] = {
+ HRX1_B_MARK, HTX1_B_MARK,
+};
+static const unsigned int hscif1_clk_b_pins[] = {
+ /* SCK */
+ RCAR_GP_PIN(5, 0),
+};
+static const unsigned int hscif1_clk_b_mux[] = {
+ HSCK1_B_MARK,
+};
+static const unsigned int hscif1_ctrl_b_pins[] = {
+ /* RTS, CTS */
+ RCAR_GP_PIN(5, 4), RCAR_GP_PIN(5, 3),
+};
+static const unsigned int hscif1_ctrl_b_mux[] = {
+ HRTS1_N_B_MARK, HCTS1_N_B_MARK,
+};
+/* - HSCIF2 ----------------------------------------------------------------- */
+static const unsigned int hscif2_data_a_pins[] = {
+ /* RX, TX */
+ RCAR_GP_PIN(6, 8), RCAR_GP_PIN(6, 9),
+};
+static const unsigned int hscif2_data_a_mux[] = {
+ HRX2_A_MARK, HTX2_A_MARK,
+};
+static const unsigned int hscif2_clk_a_pins[] = {
+ /* SCK */
+ RCAR_GP_PIN(6, 10),
+};
+static const unsigned int hscif2_clk_a_mux[] = {
+ HSCK2_A_MARK,
+};
+static const unsigned int hscif2_ctrl_a_pins[] = {
+ /* RTS, CTS */
+ RCAR_GP_PIN(6, 7), RCAR_GP_PIN(6, 6),
+};
+static const unsigned int hscif2_ctrl_a_mux[] = {
+ HRTS2_N_A_MARK, HCTS2_N_A_MARK,
+};
+
+static const unsigned int hscif2_data_b_pins[] = {
+ /* RX, TX */
+ RCAR_GP_PIN(6, 17), RCAR_GP_PIN(6, 18),
+};
+static const unsigned int hscif2_data_b_mux[] = {
+ HRX2_B_MARK, HTX2_B_MARK,
+};
+static const unsigned int hscif2_clk_b_pins[] = {
+ /* SCK */
+ RCAR_GP_PIN(6, 21),
+};
+static const unsigned int hscif2_clk_b_mux[] = {
+ HSCK1_B_MARK,
+};
+static const unsigned int hscif2_ctrl_b_pins[] = {
+ /* RTS, CTS */
+ RCAR_GP_PIN(6, 20), RCAR_GP_PIN(6, 19),
+};
+static const unsigned int hscif2_ctrl_b_mux[] = {
+ HRTS2_N_B_MARK, HCTS2_N_B_MARK,
+};
+/* - HSCIF3 ----------------------------------------------------------------- */
+static const unsigned int hscif3_data_a_pins[] = {
+ /* RX, TX */
+ RCAR_GP_PIN(1, 23), RCAR_GP_PIN(1, 24),
+};
+static const unsigned int hscif3_data_a_mux[] = {
+ HRX3_A_MARK, HTX3_A_MARK,
+};
+static const unsigned int hscif3_clk_pins[] = {
+ /* SCK */
+ RCAR_GP_PIN(1, 22),
+};
+static const unsigned int hscif3_clk_mux[] = {
+ HSCK3_MARK,
+};
+static const unsigned int hscif3_ctrl_pins[] = {
+ /* RTS, CTS */
+ RCAR_GP_PIN(1, 26), RCAR_GP_PIN(1, 25),
+};
+static const unsigned int hscif3_ctrl_mux[] = {
+ HRTS3_N_MARK, HCTS3_N_MARK,
+};
+
+static const unsigned int hscif3_data_b_pins[] = {
+ /* RX, TX */
+ RCAR_GP_PIN(0, 10), RCAR_GP_PIN(0, 11),
+};
+static const unsigned int hscif3_data_b_mux[] = {
+ HRX3_B_MARK, HTX3_B_MARK,
+};
+static const unsigned int hscif3_data_c_pins[] = {
+ /* RX, TX */
+ RCAR_GP_PIN(0, 14), RCAR_GP_PIN(0, 15),
+};
+static const unsigned int hscif3_data_c_mux[] = {
+ HRX3_C_MARK, HTX3_C_MARK,
+};
+static const unsigned int hscif3_data_d_pins[] = {
+ /* RX, TX */
+ RCAR_GP_PIN(2, 7), RCAR_GP_PIN(2, 8),
+};
+static const unsigned int hscif3_data_d_mux[] = {
+ HRX3_D_MARK, HTX3_D_MARK,
+};
+/* - HSCIF4 ----------------------------------------------------------------- */
+static const unsigned int hscif4_data_a_pins[] = {
+ /* RX, TX */
+ RCAR_GP_PIN(1, 12), RCAR_GP_PIN(1, 13),
+};
+static const unsigned int hscif4_data_a_mux[] = {
+ HRX4_A_MARK, HTX4_A_MARK,
+};
+static const unsigned int hscif4_clk_pins[] = {
+ /* SCK */
+ RCAR_GP_PIN(1, 11),
+};
+static const unsigned int hscif4_clk_mux[] = {
+ HSCK4_MARK,
+};
+static const unsigned int hscif4_ctrl_pins[] = {
+ /* RTS, CTS */
+ RCAR_GP_PIN(1, 15), RCAR_GP_PIN(1, 14),
+};
+static const unsigned int hscif4_ctrl_mux[] = {
+ HRTS4_N_MARK, HCTS3_N_MARK,
+};
+
+static const unsigned int hscif4_data_b_pins[] = {
+ /* RX, TX */
+ RCAR_GP_PIN(1, 8), RCAR_GP_PIN(1, 11),
+};
+static const unsigned int hscif4_data_b_mux[] = {
+ HRX4_B_MARK, HTX4_B_MARK,
+};
/* - I2C -------------------------------------------------------------------- */
@@ -2700,6 +2884,31 @@ static const struct sh_pfc_pin_group pinmux_groups[] = {
SH_PFC_PIN_GROUP(du_disp),
SH_PFC_PIN_GROUP(hdmi0_cec),
SH_PFC_PIN_GROUP(hdmi1_cec),
+ SH_PFC_PIN_GROUP(hscif0_data),
+ SH_PFC_PIN_GROUP(hscif0_clk),
+ SH_PFC_PIN_GROUP(hscif0_ctrl),
+ SH_PFC_PIN_GROUP(hscif1_data_a),
+ SH_PFC_PIN_GROUP(hscif1_clk_a),
+ SH_PFC_PIN_GROUP(hscif1_ctrl_a),
+ SH_PFC_PIN_GROUP(hscif1_data_b),
+ SH_PFC_PIN_GROUP(hscif1_clk_b),
+ SH_PFC_PIN_GROUP(hscif1_ctrl_b),
+ SH_PFC_PIN_GROUP(hscif2_data_a),
+ SH_PFC_PIN_GROUP(hscif2_clk_a),
+ SH_PFC_PIN_GROUP(hscif2_ctrl_a),
+ SH_PFC_PIN_GROUP(hscif2_data_b),
+ SH_PFC_PIN_GROUP(hscif2_clk_b),
+ SH_PFC_PIN_GROUP(hscif2_ctrl_b),
+ SH_PFC_PIN_GROUP(hscif3_data_a),
+ SH_PFC_PIN_GROUP(hscif3_clk),
+ SH_PFC_PIN_GROUP(hscif3_ctrl),
+ SH_PFC_PIN_GROUP(hscif3_data_b),
+ SH_PFC_PIN_GROUP(hscif3_data_c),
+ SH_PFC_PIN_GROUP(hscif3_data_d),
+ SH_PFC_PIN_GROUP(hscif4_data_a),
+ SH_PFC_PIN_GROUP(hscif4_clk),
+ SH_PFC_PIN_GROUP(hscif4_ctrl),
+ SH_PFC_PIN_GROUP(hscif4_data_b),
SH_PFC_PIN_GROUP(msiof0_clk),
SH_PFC_PIN_GROUP(msiof0_sync),
SH_PFC_PIN_GROUP(msiof0_ss1),
@@ -2881,6 +3090,46 @@ static const char * const hdmi1_groups[] = {
"hdmi1_cec",
};
+static const char * const hscif0_groups[] = {
+ "hscif0_data",
+ "hscif0_clk",
+ "hscif0_ctrl",
+};
+
+static const char * const hscif1_groups[] = {
+ "hscif1_data_a",
+ "hscif1_clk_a",
+ "hscif1_ctrl_a",
+ "hscif1_data_b",
+ "hscif1_clk_b",
+ "hscif1_ctrl_b",
+};
+
+static const char * const hscif2_groups[] = {
+ "hscif2_data_a",
+ "hscif2_clk_a",
+ "hscif2_ctrl_a",
+ "hscif2_data_b",
+ "hscif2_clk_b",
+ "hscif2_ctrl_b",
+};
+
+static const char * const hscif3_groups[] = {
+ "hscif3_data_a",
+ "hscif3_clk",
+ "hscif3_ctrl",
+ "hscif3_data_b",
+ "hscif3_data_c",
+ "hscif3_data_d",
+};
+
+static const char * const hscif4_groups[] = {
+ "hscif4_data_a",
+ "hscif4_clk",
+ "hscif4_ctrl",
+ "hscif4_data_b",
+};
+
static const char * const msiof0_groups[] = {
"msiof0_clk",
"msiof0_sync",
@@ -3092,6 +3341,11 @@ static const struct sh_pfc_function pinmux_functions[] = {
SH_PFC_FUNCTION(du),
SH_PFC_FUNCTION(hdmi0),
SH_PFC_FUNCTION(hdmi1),
+ SH_PFC_FUNCTION(hscif0),
+ SH_PFC_FUNCTION(hscif1),
+ SH_PFC_FUNCTION(hscif2),
+ SH_PFC_FUNCTION(hscif3),
+ SH_PFC_FUNCTION(hscif4),
SH_PFC_FUNCTION(msiof0),
SH_PFC_FUNCTION(msiof1),
SH_PFC_FUNCTION(msiof2),
--
1.9.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 5/5] arm64: renesas: salvator-x: Update SCIF2 pin group
2015-08-26 18:02 [PATCH 0/5] pinctrl: sh-pfc: r8a7795: (H)SCIF Updates Geert Uytterhoeven
` (3 preceding siblings ...)
2015-08-26 18:02 ` [PATCH 4/5] pinctrl: sh-pfc: r8a7795: Add HSCIF pins, groups, and functions Geert Uytterhoeven
@ 2015-08-26 18:02 ` Geert Uytterhoeven
2015-09-25 16:07 ` [PATCH 0/5] pinctrl: sh-pfc: r8a7795: (H)SCIF Updates Linus Walleij
5 siblings, 0 replies; 7+ messages in thread
From: Geert Uytterhoeven @ 2015-08-26 18:02 UTC (permalink / raw)
To: Kuninori Morimoto, Takeshi Kihara, Laurent Pinchart,
Linus Walleij, Simon Horman, Magnus Damm
Cc: linux-sh, linux-gpio, Geert Uytterhoeven
Cfr. "pinctrl: sh-pfc: r8a7795: Extend SCIF2 pin data", which renamed
"scif2_data" to "scif2_data_a".
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
index 7bb80a937d760195..c485440564451cbc 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
+++ b/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
@@ -38,7 +38,7 @@
&pfc {
scif2_pins: scif2 {
- renesas,groups = "scif2_data";
+ renesas,groups = "scif2_data_a";
renesas,function = "scif2";
};
};
--
1.9.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 0/5] pinctrl: sh-pfc: r8a7795: (H)SCIF Updates
2015-08-26 18:02 [PATCH 0/5] pinctrl: sh-pfc: r8a7795: (H)SCIF Updates Geert Uytterhoeven
` (4 preceding siblings ...)
2015-08-26 18:02 ` [PATCH 5/5] arm64: renesas: salvator-x: Update SCIF2 pin group Geert Uytterhoeven
@ 2015-09-25 16:07 ` Linus Walleij
5 siblings, 0 replies; 7+ messages in thread
From: Linus Walleij @ 2015-09-25 16:07 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Kuninori Morimoto, Takeshi Kihara, Laurent Pinchart, Simon Horman,
Magnus Damm, linux-sh@vger.kernel.org, linux-gpio@vger.kernel.org
On Wed, Aug 26, 2015 at 11:02 AM, Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
> This series contains (H)SCIF-related updates for the R-Car H3 (r8a7795)
> pin function controller driver:
> - Fixes and updates for SCIF pindata (incl. a DTS update),
> - Addition of HSCIF support.
>
> This is against "[PATCH] pinctrl: sh-pfc: Add R8A7795 PFC support" and
> the current state (sic) of the Salvator-X DTS.
The series:
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-09-25 16:07 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-26 18:02 [PATCH 0/5] pinctrl: sh-pfc: r8a7795: (H)SCIF Updates Geert Uytterhoeven
2015-08-26 18:02 ` [PATCH 1/5] pinctrl: sh-pfc: r8a7795: Fix and extend SCIF0 pin data Geert Uytterhoeven
2015-08-26 18:02 ` [PATCH 2/5] pinctrl: sh-pfc: r8a7795: Extend SCIF2 " Geert Uytterhoeven
2015-08-26 18:02 ` [PATCH 3/5] pinctrl: sh-pfc: r8a7795: Fix SCIF5 " Geert Uytterhoeven
2015-08-26 18:02 ` [PATCH 4/5] pinctrl: sh-pfc: r8a7795: Add HSCIF pins, groups, and functions Geert Uytterhoeven
2015-08-26 18:02 ` [PATCH 5/5] arm64: renesas: salvator-x: Update SCIF2 pin group Geert Uytterhoeven
2015-09-25 16:07 ` [PATCH 0/5] pinctrl: sh-pfc: r8a7795: (H)SCIF Updates Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).