pinctrl: ralink: move ralink architecture pinmux header into the driver
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 4 Jun 2021 11:51:54 +0000 (13:51 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 7 Jun 2021 07:17:47 +0000 (09:17 +0200)
commit276e552e081c2db115319130511b55397d9695bd
tree950cda54268525d28722a86ce3e3aec2022ee227
parent8c987eb15aa6e397e2dba63246c4d8785f5c9f41
pinctrl: ralink: move ralink architecture pinmux header into the driver

Ralink architecture is making use of the header located in
'arch/mips/include/asm/mach-ralink/pinmux.h' to stablish the
mechanisms to make derived SoCs to set its pin functions and
groups. In order to move all architecture pinmux into a more
accurate place which is 'drivers/pinctrl/ralink' we have to
first of all move this file also there with a small modification
which creates 'rt2880_pinmux_init' function to allow SoCs pinctrl
drivers to pass its configuration to the common code located in
'pinctrl-rt2880.c' file.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210604115159.8834-2-sergio.paracuellos@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/mips/include/asm/mach-ralink/pinmux.h [deleted file]
arch/mips/ralink/prom.c
drivers/pinctrl/ralink/pinctrl-rt2880.c
drivers/pinctrl/ralink/pinmux.h [new file with mode: 0644]