lkml.org 
[lkml]   [2011]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 02/11] GPIO: DA9052 GPIO module v1
On Thu, Jun 30, 2011 at 05:10:31PM +0530, Ashish Jangam wrote:

> > Why insist on platform data? gpiolib can dynamically allocate a GPIO
> > range to the device.

> Do you mean to use gpiochip_reserve() in machine file and not to have
> ngpio and base defined in GPIO platform driver but, this will fail the
> call to gpiochip_add()?

No, I mean that you should allow gpiolib to allocate a GPIO range if one
is not already allocated like other gpiolib drivers do by supplying -1
as the base.


\
 
 \ /
  Last update: 2011-06-30 17:35    [W:0.113 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site