[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201205180936.45449.arnd@arndb.de>
Date: Fri, 18 May 2012 09:36:45 +0000
From: Arnd Bergmann <arnd@...db.de>
To: Roland Stigge <stigge@...com.de>
Cc: linux-kernel@...r.kernel.org, grant.likely@...retlab.ca
Subject: Re: [PATCH 1/2] gpio: Adjust of_xlate API to support multiple GPIO chips
On Friday 18 May 2012, Roland Stigge wrote:
> From: Grant Likely <grant.likely@...retlab.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@...com.de>
> Signed-off-by: Grant Likely <grant.likely@...retlab.ca>
> Tested-by: Roland Stigge <stigge@...com.de>
>
Acked-by: Arnd Bergmann <arnd@...db.de>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists