diff options
author | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2017-06-12 18:34:59 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-06-16 12:28:29 +0300 |
commit | b6730b20837e7402292d35d3cb910fff4dac7099 (patch) | |
tree | c1603d2896d0a9b8afed178710c96aea5703a09f /drivers/firmware | |
parent | 43a2dcecd8ae16c76026d6728e072a6c0aa2d8ac (diff) | |
download | linux-b6730b20837e7402292d35d3cb910fff4dac7099.tar.xz |
gpio: mvebu: Add support for the Armada 7K/8K SoCs
The Armada 7K and 8K SoCs use the same gpio controller as most of the
other mvebu SoCs. However, the main difference is that the GPIO
controller is part of a bigger system controller, and a syscon is used to
control the overall system controller. Therefore, the driver needs to be
adjusted to retrieve the regmap of the syscon to access registers, and
account for the fact that registers are located at a certain offset
within the regmap.
This commit add the support of the syscon and introduce a new variant for
this case.
It was based on the preliminary work of Thomas Petazzoni.
Tested-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>
Diffstat (limited to 'drivers/firmware')
0 files changed, 0 insertions, 0 deletions