pinctrl: renesas: r8a7779: Restore pin group and function sort order
Subsystems (3)
Geert Uytterhoeven
maintainercover pinctrl: renesas: r8a7779: Restore pin group and function sort order
Hi Linus,
This patch series reorders some pin group and pin function declarations in various Renesas pin control drivers, to restore sort order.
I intend to queue these in renesas-pinctrl-for-v5.18.
Thanks for your comments!
Geert Uytterhoeven (3):
pinctrl: renesas: r8a7779: Restore pin function sort order
pinctrl: renesas: r8a7790: Restore pin function sort order
pinctrl: renesas: r8a77995: Restore pin group sort order
drivers/pinctrl/renesas/pfc-r8a7779.c | 8 +-- drivers/pinctrl/renesas/pfc-r8a7790.c | 2 +- drivers/pinctrl/renesas/pfc-r8a77995.c | 86 +++++++++++++------------- 3 files changed, 48 insertions(+), 48 deletions(-)
Signature · 12 lines
2.25.1
Gr{oetje,eeting}s,
Geert
--
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 TorvaldsGeert Uytterhoeven
maintainerPATCH 1/3 pinctrl: renesas: r8a7779: Restore pin function sort order
Move the sdhi* pin functions where they belong.
--- drivers/pinctrl/renesas/pfc-r8a7779.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/pinctrl/renesas/pfc-r8a7779.c +4 -4
@@ -3075,10 +3075,6 @@ static const struct sh_pfc_function pinmux_functions[] = {SH_PFC_FUNCTION (lbsc),SH_PFC_FUNCTION (mmc0),SH_PFC_FUNCTION (mmc1), -SH_PFC_FUNCTION (sdhi0), -SH_PFC_FUNCTION (sdhi1), -SH_PFC_FUNCTION (sdhi2), -SH_PFC_FUNCTION (sdhi3),SH_PFC_FUNCTION (scif0),SH_PFC_FUNCTION (scif1), SH_PFC_FUNCTION(scif2),
@@ -3086,6 +3082,10 @@ static const struct sh_pfc_function pinmux_functions[] = {SH_PFC_FUNCTION (scif4),SH_PFC_FUNCTION (scif5),SH_PFC_FUNCTION (scif_clk), +SH_PFC_FUNCTION (sdhi0), +SH_PFC_FUNCTION (sdhi1), +SH_PFC_FUNCTION (sdhi2), +SH_PFC_FUNCTION (sdhi3),SH_PFC_FUNCTION (usb0),SH_PFC_FUNCTION (usb1), SH_PFC_FUNCTION(usb2),
Signature · 1 line
2.25.1
Geert Uytterhoeven
maintainerPATCH 2/3 pinctrl: renesas: r8a7790: Restore pin function sort order
In reply to Geert UytterhoevenMove the du* pin function where it belongs.
--- drivers/pinctrl/renesas/pfc-r8a7790.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pinctrl/renesas/pfc-r8a7790.c +1 -1
@@ -4852,10 +4852,10 @@ static const struct { .common = {SH_PFC_FUNCTION (audio_clk),SH_PFC_FUNCTION (avb), -SH_PFC_FUNCTION (du),SH_PFC_FUNCTION (can0),SH_PFC_FUNCTION (can1),SH_PFC_FUNCTION (can_clk), +SH_PFC_FUNCTION (du),SH_PFC_FUNCTION (du0),SH_PFC_FUNCTION (du1), SH_PFC_FUNCTION(du2),
Signature · 1 line
2.25.1
Geert Uytterhoeven
maintainerPATCH 3/3 pinctrl: renesas: r8a77995: Restore pin group sort order
In reply to Geert UytterhoevenMove the msiof* pin groups where they belong.
--- drivers/pinctrl/renesas/pfc-r8a77995.c | 86 +++++++++++++------------- 1 file changed, 43 insertions(+), 43 deletions(-)
drivers/pinctrl/renesas/pfc-r8a77995.c +43 -43
@@ -2210,6 +2210,49 @@ static const char * const mmc_groups[] = { "mmc_ctrl", }; +static const char *const msiof0_groups[] = { +"msiof0_clk" , +"msiof0_sync" , +"msiof0_ss1" , +"msiof0_ss2" , +"msiof0_txd" , +"msiof0_rxd" , +}; + +static const char *const msiof1_groups[] = { +"msiof1_clk" , +"msiof1_sync" , +"msiof1_ss1" , +"msiof1_ss2" , +"msiof1_txd" , +"msiof1_rxd" , +}; + +static const char *const msiof2_groups[] = { +"msiof2_clk" , +"msiof2_sync_a" , +"msiof2_sync_b" , +"msiof2_ss1" , +"msiof2_ss2" , +"msiof2_txd" , +"msiof2_rxd" , +}; + +static const char *const msiof3_groups[] = { +"msiof3_clk_a" , +"msiof3_sync_a" , +"msiof3_ss1_a" , +"msiof3_ss2_a" , +"msiof3_txd_a" , +"msiof3_rxd_a" , +"msiof3_clk_b" , +"msiof3_sync_b" , +"msiof3_ss1_b" , +"msiof3_ss2_b" , +"msiof3_txd_b" , +"msiof3_rxd_b" , +}; +static const char *const pwm0_groups[] = {"pwm0_a" ,"pwm0_b" ,
@@ -2307,49 +2350,6 @@ static const char * const vin4_groups[] = { "vin4_clk", }; -static const char *const msiof0_groups[] = { -"msiof0_clk" , -"msiof0_sync" , -"msiof0_ss1" , -"msiof0_ss2" , -"msiof0_txd" , -"msiof0_rxd" , -}; - -static const char *const msiof1_groups[] = { -"msiof1_clk" , -"msiof1_sync" , -"msiof1_ss1" , -"msiof1_ss2" , -"msiof1_txd" , -"msiof1_rxd" , -}; - -static const char *const msiof2_groups[] = { -"msiof2_clk" , -"msiof2_sync_a" , -"msiof2_sync_b" , -"msiof2_ss1" , -"msiof2_ss2" , -"msiof2_txd" , -"msiof2_rxd" , -}; - -static const char *const msiof3_groups[] = { -"msiof3_clk_a" , -"msiof3_sync_a" , -"msiof3_ss1_a" , -"msiof3_ss2_a" , -"msiof3_txd_a" , -"msiof3_rxd_a" , -"msiof3_clk_b" , -"msiof3_sync_b" , -"msiof3_ss1_b" , -"msiof3_ss2_b" , -"msiof3_txd_b" , -"msiof3_rxd_b" , -}; -static const struct sh_pfc_function pinmux_functions[] = {SH_PFC_FUNCTION (audio_clk),SH_PFC_FUNCTION (avb0),
Signature · 1 line
2.25.1