pinctrl: sh-pfc: r8a77965: Add SATA pins, groups and functions
PATCH 1/1 pinctrl: sh-pfc: r8a77965: Add SATA pins, groups and functions
From: Takeshi Kihara <[email protected]>
This patch adds SATA0 pin, group and function to the R8A77965 SoC.
--- drivers/pinctrl/sh-pfc/pfc-r8a77965.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+)
drivers/pinctrl/sh-pfc/pfc-r8a77965.c +27 -0
@@ -2907,6 +2907,25 @@ static const unsigned int pwm6_b_mux[] = { PWM6_B_MARK, }; +/* - SATA --------------------------------------------------------------------*/ +static const unsigned int sata0_devslp_a_pins[] = { +/* DEVSLP */ +RCAR_GP_PIN (6 ,16 ), +}; + +static const unsigned int sata0_devslp_a_mux[] = { +SATA_DEVSLP_A_MARK , +}; + +static const unsigned int sata0_devslp_b_pins[] = { +/* DEVSLP */ +RCAR_GP_PIN (4 ,6 ), +}; + +static const unsigned int sata0_devslp_b_mux[] = { +SATA_DEVSLP_B_MARK , +}; +/* - SCIF0 ------------------------------------------------------------------ */ static const unsigned int scif0_data_pins[] = {/* RX, TX */
@@ -3579,6 +3598,8 @@ static const struct sh_pfc_pin_group pinmux_groups[] = {SH_PFC_PIN_GROUP (pwm5_b),SH_PFC_PIN_GROUP (pwm6_a),SH_PFC_PIN_GROUP (pwm6_b), +SH_PFC_PIN_GROUP (sata0_devslp_a), +SH_PFC_PIN_GROUP (sata0_devslp_b),SH_PFC_PIN_GROUP (scif0_data),SH_PFC_PIN_GROUP (scif0_clk), SH_PFC_PIN_GROUP(scif0_ctrl),
@@ -3664,6 +3685,11 @@ static const char * const du_groups[] = { "du_disp", }; +static const char *const sata0_groups[] = { +"sata0_devslp_a" , +"sata0_devslp_b" , +}; +static const char *const hscif0_groups[] = {"hscif0_data" ,"hscif0_clk" ,
@@ -3999,6 +4025,7 @@ static const struct sh_pfc_function pinmux_functions[] = {SH_PFC_FUNCTION (pwm4),SH_PFC_FUNCTION (pwm5),SH_PFC_FUNCTION (pwm6), +SH_PFC_FUNCTION (sata0),SH_PFC_FUNCTION (scif0),SH_PFC_FUNCTION (scif1), SH_PFC_FUNCTION(scif2),
Signature · 1 line
2.11.0
Quoted 7 lines · Wolfram Sang
From: Takeshi Kihara <[email protected]>
This patch adds SATA0 pin, group and function to the R8A77965 SoC.
Signed-off-by Takeshi Kihara <[email protected]>[wsa: rebased to upstream base]Signed-off-by Wolfram Sang <[email protected]>
i.e. will queue in sh-pfc-for-v4.20.
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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
Quoted 7 lines · Wolfram Sang
From: Takeshi Kihara <[email protected]>
This patch adds SATA0 pin, group and function to the R8A77965 SoC.
Signed-off-by Takeshi Kihara <[email protected]>[wsa: rebased to upstream base]Signed-off-by Wolfram Sang <[email protected]>
Hi Wolfram,
Quoted 12 lines · Wolfram Sang
From: Takeshi Kihara <[email protected]>
This patch adds SATA0 pin, group and function to the R8A77965 SoC.
Signed-off-by Takeshi Kihara <[email protected]>[wsa: rebased to upstream base]Signed-off-by Wolfram Sang <[email protected]>
drivers/pinctrl/sh-pfc/pfc-r8a77965.c static const char * const du_groups[] = { · line 3692
Quoted 8 lines
drivers/pinctrl/sh-pfc/pfc-r8a77965.c +5
-0@@ -3664,6 +3685,11 @@ static const char * const du_groups[] = { "du_disp", }; +static const char *const sata0_groups[] = { +"sata0_devslp_a" , +"sata0_devslp_b" , +}; +
Moving the above hunk to its correct destination while applying...
drivers/pinctrl/sh-pfc/pfc-r8a77965.c static const char * const du_groups[] = { · line 3695
Quoted 3 lines
drivers/pinctrl/sh-pfc/pfc-r8a77965.c +0
-0static const char *const hscif0_groups[] = {"hscif0_data" ,"hscif0_clk" ,
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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