drivers: gpio: Add support for GPIOs over Moxtet bus
authorMarek Behún <marek.behun@nic.cz>
Mon, 12 Aug 2019 16:11:17 +0000 (18:11 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 14 Aug 2019 13:30:56 +0000 (15:30 +0200)
commit856ed97af5cfcfdc73cc4178d9670122bca52f6b
tree71cf77f117de6b08669f441638613e707f60b4e1
parent2091b417aab195a2c35abe780ad15ade1b0932ac
drivers: gpio: Add support for GPIOs over Moxtet bus

This adds support for interpreting the input and output bits of one
device on Moxtet bus as GPIOs.
This is needed for example by the SFP cage module of Turris Mox.

Link: https://lore.kernel.org/r/20190812161118.21476-5-marek.behun@nic.cz
Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
MAINTAINERS
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/gpio-moxtet.c [new file with mode: 0644]