[lkml]   [2012]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/2] gpio: Adjust of_xlate API to support multiple GPIO chips
On Friday 18 May 2012, Roland Stigge wrote:
> From: Grant Likely <>
> 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 <>
> Signed-off-by: Grant Likely <>
> Tested-by: Roland Stigge <>

Acked-by: Arnd Bergmann <>

 \ /
  Last update: 2012-05-18 12:21    [W:0.314 / U:1.172 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site