Linus Walleij
3f0f867060
gpiolib: let gpiochip_add_pin_range() specify offset
...
Like with commit 3c739ad0df5eb41cd7adad879eda6aa09879eb76
it is not always enough to specify all the pins of a gpio_chip
from offset zero to be added to a pin map range, since the
mapping from GPIO to pin controller may not be linear at all,
but need to be broken into a few consecutive sub-ranges or
1-pin entries for complicated cases. The ranges may also be
sparse.
This alters the signature of the function to accept offsets
into both the GPIO-chip local pinspace and the pin controller
local pinspace.
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2012-11-21 08:55:03 +01:00
..
2012-10-14 13:39:34 -07:00
2009-07-27 12:10:38 -07:00
2009-06-15 13:27:38 +10:00
2009-06-12 11:32:58 +02:00
2012-03-28 18:30:03 +01:00
2011-05-04 14:41:28 -04:00
2011-05-04 14:41:28 -04:00
2011-05-04 14:41:28 -04:00
2011-05-04 14:41:28 -04:00
2012-03-28 18:30:03 +01:00
2011-03-23 19:46:22 -07:00
2012-10-04 18:20:15 +01:00
2012-06-25 10:32:49 -07:00
2009-06-11 21:02:37 +02:00
2009-06-11 21:02:50 +02:00
2011-05-25 08:39:37 -07:00
2011-11-01 07:34:21 -07:00
2012-10-03 21:33:53 +02:00
2010-10-07 14:08:55 +01:00
2012-04-02 14:41:27 -07:00
2012-01-06 08:44:54 -08:00
2009-06-11 21:02:37 +02:00
2011-07-22 18:45:33 +02:00
2009-07-22 00:28:38 +02:00
2012-07-30 12:25:46 +02:00
2012-07-06 12:02:04 +02:00
2010-08-11 08:59:21 -07:00
2012-07-30 12:25:46 +02:00
2009-06-11 21:02:42 +02:00
2012-03-28 18:30:03 +01:00
2009-06-11 21:02:37 +02:00
2011-03-17 09:19:04 +08:00
2011-03-11 12:23:31 +01:00
2012-02-24 10:39:27 -08:00
2012-11-21 08:55:03 +01:00
2010-10-07 14:08:55 +01:00
2009-06-11 21:02:42 +02:00
2012-10-04 18:20:15 +01:00
2012-10-04 18:20:15 +01:00
2012-02-21 16:47:28 -08:00
2012-02-21 16:47:28 -08:00
2012-01-10 18:04:27 -08:00
2012-10-04 18:20:15 +01:00
2012-02-27 09:43:30 -06:00
2010-12-17 15:07:19 +01:00
2009-06-11 21:02:37 +02:00
2010-10-07 14:08:55 +01:00
2012-10-02 18:01:56 +01:00
2010-10-09 21:51:44 +02:00
2012-07-24 15:27:30 +08:00
2012-10-04 18:20:15 +01:00
2009-06-11 21:02:37 +02:00
2011-07-26 16:49:47 -07:00
2011-07-26 16:49:47 -07:00
2011-08-17 13:00:20 -07:00
2009-06-11 21:02:50 +02:00
2009-06-11 21:02:50 +02:00
2012-09-28 14:31:03 +09:30
2012-08-13 18:46:54 +02:00
2009-06-11 21:02:37 +02:00
2012-01-10 17:39:40 -08:00
2012-10-04 18:20:15 +01:00
2009-06-11 21:02:42 +02:00
2012-02-27 09:43:30 -06:00
2012-04-30 15:21:02 -06:00
2010-03-12 15:52:42 -08:00
2012-02-23 20:19:04 -07:00
2010-09-10 10:56:51 +02:00
2009-06-11 21:02:50 +02:00
2009-07-27 12:10:38 -07:00
2009-07-27 12:10:38 -07:00
2012-10-09 16:22:53 +09:00
2011-05-26 17:12:36 -07:00
2012-10-04 18:20:15 +01:00
2009-06-11 21:02:18 +02:00
2011-11-01 07:34:20 -07:00
2010-05-27 09:12:54 -07:00
2011-03-08 17:22:11 +01:00
2009-06-11 21:02:50 +02:00
2009-06-11 21:02:42 +02:00
2012-10-04 18:20:15 +01:00
2012-10-04 18:20:15 +01:00
2012-06-28 17:14:34 +01:00
2009-06-11 21:02:37 +02:00
2012-10-04 18:20:15 +01:00
2009-06-11 21:02:37 +02:00
2012-03-28 18:30:03 +01:00
2012-04-14 11:13:19 +10:00
2010-08-18 12:12:38 -07:00
2012-10-04 18:20:15 +01:00
2009-06-11 21:02:42 +02:00
2012-06-27 19:29:11 -07:00
2012-03-04 17:54:34 -05:00
2010-08-09 20:44:57 -07:00
2009-06-11 21:02:17 +02:00
2011-10-06 19:47:12 -04:00
2009-06-11 21:02:37 +02:00
2012-10-04 18:20:15 +01:00
2011-03-01 15:49:39 +01:00
2009-06-11 21:02:42 +02:00
2012-10-11 11:02:37 +02:00
2012-05-26 11:33:40 -07:00
2012-10-03 21:21:06 +02:00