lkml.org 
[lkml]   [2012]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/2] gpio: Adjust of_xlate API to support multiple GPIO chips
Date
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>


\
 
 \ /
  Last update: 2012-05-18 12:21    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean