"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "ace1297f7222ec5d6a33f41e792a21e999551924"
gpio: Adjust of_xlate API to support multiple GPIO chips
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'. Tested-by:Roland Stigge <stigge@antcom.de> Acked-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Grant Likely <grant.likely@secretlab.ca>
Loading
Please register or sign in to comment