]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio: f7188x: Add F71889A GPIO support.
authorMarty Plummer <netz.kernel@gmail.com>
Fri, 7 Apr 2017 00:42:06 +0000 (19:42 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 7 Apr 2017 10:26:42 +0000 (12:26 +0200)
commitd69843e416d315123aea4831c3a7dfb299526681
tree47d037a7d303162e57e227f7fb274efa163ee2c3
parent4c0facddb7d88c78c8bd977c16faa647f079ccda
gpio: f7188x: Add F71889A GPIO support.

Add F71889A GPIO support.

Fintek F71889A is a SuperIO. It contains HWMON/GPIO/Serial Ports.

Datasheet:
http://www.alldatasheet.com/datasheet-pdf/pdf/459076/FINTEK/F71889A.html

Its virtually identical to the F71889F superio as far as gpios go.
One oddity is GPIO2 at index 0xD0; the datasheet only lists gpio's 7-5,
but it logically seems that it should continue down to 0. I'm not sure
if the driver can handle gpios that are shifted away from index 0 as it
currently stands.

Signed-off-by: Marty Plummer <netz.kernel@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-f7188x.c