]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit059b0f084cdd96ff3b6c79d46c9ee97c58030103
tree10aaaa2bebb8deedb49ba3ebe25f333faa89ce88
parentc9ee0a7aacafab2104b1eae7098ac74076f328f5
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]