From: Marek Vasut Date: Fri, 4 Nov 2016 21:58:09 +0100 Subject: [U-Boot] [PATCH v3] gpio: dwapb: Add support for port B In-Reply-To: <1478171112-10027-1-git-send-email-phil.edworthy@renesas.com> References: <1478171112-10027-1-git-send-email-phil.edworthy@renesas.com> Message-ID: <33a12f90-bf17-dbfa-4b70-8f32c95638ba@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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 -- Best regards, Marek Vasut