gpio: dwapb: Add support for port B
authorPhil Edworthy <PHIL.EDWORTHY@renesas.com>
Thu, 3 Nov 2016 11:05:12 +0000 (11:05 +0000)
committerTom Rini <trini@konsulko.com>
Mon, 21 Nov 2016 19:07:26 +0000 (14:07 -0500)
commit2d0c2c47aa2d81c9a5033ffa1e28cd34b1b24e9d
tree28fe1b8dd54190e6c1302818bb27cb8b36e603e4
parent4886de76080a970a7153ab802cd083f0a97eb115
gpio: dwapb: Add support for port B

The IP supports two ports, A and B, each providing up to 32 gpios.
The driver already creates a 2nd gpio bank by reading the 2nd node
from DT, so this is quite a simple change to support the 2nd bank.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Acked-by: Marek Vasut <marex@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/gpio/dwapb_gpio.c