gpio: Add MT7621 GPIO support
authorStefan Roese <sr@denx.de>
Mon, 8 Oct 2018 10:38:01 +0000 (12:38 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sun, 18 Nov 2018 15:02:22 +0000 (16:02 +0100)
commit4751e5595ee1e8ec121178a0ddaa99c3bbfa8e80
tree5d4c20b312d7574d920b6dcd5ab2a2d6eda8f88a
parent053fce84c1505b1dac1ab75e2c4666bb36437514
gpio: Add MT7621 GPIO support

This patch adds GPIO support for the Mediatek MT7621 SoC, tested on
MT7688 (Gardena smart-gateway). The driver is loosly based on the
Linux kernel version.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
[fixed checkpatch.pl warnings: Prefer 'unsigned int' to bare use of 'unsigned']
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
drivers/gpio/Kconfig
drivers/gpio/Makefile
drivers/gpio/mt7621_gpio.c [new file with mode: 0644]