gpio: dwapb: Add support for next generation of X-Gene SoC
authorHoan Tran <hotran@apm.com>
Tue, 21 Feb 2017 19:32:43 +0000 (11:32 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 6 Mar 2017 13:34:53 +0000 (14:34 +0100)
commita72b8c4a63e2a3375b5d3af4a2b70c172570c354
treec8ef98d831832831eecb84eccf0f0577592a7423
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
gpio: dwapb: Add support for next generation of X-Gene SoC

Next generation of X-Gene SoC's GPIO hardware register map is very
similar to DW GPIO. It only differs by a few register addresses.
This patch modifies DW GPIO driver to accommodate the difference
in a few register addresses.

Signed-off-by: Hoan Tran <hotran@apm.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-dwapb.c