[U-Boot] [PATCH v3] gpio: dwapb: Add support for port B

Marek Vasut marex at denx.de
Fri Nov 4 21:58:09 CET 2016


On 11/03/2016 12:05 PM, Phil Edworthy wrote:
> 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 at renesas.com>
> ---
> v3:
>  Pass the bank nr to the register offset macro, to cope with
>  irregular register locations.
> v2:
>  Use an offset element in the platform data instead of if-elses.

Acked-by: Marek Vasut <marex at denx.de>


-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list