Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [PATCH 1/2] gpio: Adjust of_xlate API to support multiple GPIO chips | Date | Fri, 18 May 2012 09:36:45 +0000 |
| |
On Friday 18 May 2012, Roland Stigge wrote: > From: Grant Likely <grant.likely@secretlab.ca> > > This patch changes the of_xlate API to make it possible for multiple > gpio_chips to refer to the same device tree node. This is useful for > banked GPIO controllers that use multiple gpio_chips for a single > device. With this change the core code will try calling of_xlate on > each gpio_chip that references the device_node and will return the > gpio number for the first one to return 'true'. > > Cc: Roland Stigge <stigge@antcom.de> > Signed-off-by: Grant Likely <grant.likely@secretlab.ca> > Tested-by: Roland Stigge <stigge@antcom.de> >
Acked-by: Arnd Bergmann <arnd@arndb.de>
| |