pinctrl: mscc: Add gpio and pinctrl driver for MSCC MIPS SoCs (VcoreIII based)
authorGregory CLEMENT <gregory.clement@bootlin.com>
Sat, 8 Dec 2018 08:59:01 +0000 (09:59 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 19 Dec 2018 14:23:01 +0000 (15:23 +0100)
commit53bdae241888de3d23a51735e9610389921b80ae
tree10aaaa2bebb8deedb49ba3ebe25f333faa89ce88
parentbea91b0c9b45420fd2a4a1bb1567c90518d09d9e
pinctrl: mscc: Add gpio and pinctrl driver for MSCC MIPS SoCs (VcoreIII based)

This driver supports the pin and gpio controller found in the Ocelot and
Luton SoCs.

The driver was inspired from the pinctrl driver in Linux, but was
simplified and was modified to allow supporting an other SoCs (Luton).

For Ocelot and Luton the controller is the same, only the pins to program
differ.

Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
[changed to only descend into mscc/ dependent on CONFIG_PINCTRL_MSCC]
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
drivers/pinctrl/Kconfig
drivers/pinctrl/Makefile
drivers/pinctrl/mscc/Kconfig [new file with mode: 0644]
drivers/pinctrl/mscc/Makefile [new file with mode: 0644]
drivers/pinctrl/mscc/mscc-common.c [new file with mode: 0644]
drivers/pinctrl/mscc/mscc-common.h [new file with mode: 0644]
drivers/pinctrl/mscc/pinctrl-luton.c [new file with mode: 0644]
drivers/pinctrl/mscc/pinctrl-ocelot.c [new file with mode: 0644]