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

2016-11-03 Thread Marek Vasut
On 11/03/2016 09:54 AM, 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 > --- > v2:

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

2016-11-03 Thread Phil Edworthy
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 --- v2: Use an offset element in the platform data instead of if-e