gpio: mvebu: switch to regmap for register access
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 19 May 2017 16:09:21 +0000 (18:09 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 23 May 2017 09:16:02 +0000 (11:16 +0200)
commit2233bf7a92e784f20d1a4a1d39438dcf51e75161
treef2a0a6696f95935caeb9efb6f57d369539768612
parent6ec015d6130283fe63bd2f374a34c44d23442286
gpio: mvebu: switch to regmap for register access

In order to be able to use this driver with the Armada 7K/8K SoCs, we
need to use the regmap to access the registers. Indeed for these new SoCs,
the gpio node will be part of a syscon.

[gregory.clement@free-electrons.com:
 - fixed merge conflcit from 4.10 to 4.12-rc1
 - added a commit log]

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mvebu.c