]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit70166c597a5f48c5ffd56207069125cb7ff15cc5
tree28fe1b8dd54190e6c1302818bb27cb8b36e603e4
parentd1bf14dea0ebe97a1f1b08746f9196b2259c806e
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