Anton Vorontsov b908b53d58 of/gpio: Implement of_get_gpio_flags()
This adds a new function, of_get_gpio_flags, which is like
of_get_gpio(), but accepts a new "flags" argument.  This new function
will be used by the drivers that need to retrieve additional GPIO
information, such as active-low flag.

Also, this changes the default ("simple") .xlate routine to warn about
bogus (< 2) #gpio-cells usage: the second cell should always be present
for GPIO flags.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-12-03 21:04:05 +11:00
..
2008-11-29 20:42:28 -08:00
2008-10-28 17:46:02 +09:00
2008-11-30 10:03:36 -08:00
2008-12-01 19:55:25 -08:00
2008-11-07 08:25:43 -08:00
2008-12-02 20:40:04 +01:00
2008-11-30 10:03:37 -08:00
2008-11-01 09:50:12 -07:00
2008-10-21 07:48:33 -04:00
2008-10-16 11:21:30 -07:00
2008-12-03 21:04:05 +11:00
2008-10-27 19:15:41 +01:00
2008-12-03 20:11:06 +11:00
2008-11-04 08:18:19 -08:00
2008-11-30 10:03:37 -08:00
2008-12-03 20:11:06 +11:00
2008-11-10 13:50:17 -08:00
2008-11-01 09:49:46 -07:00
2008-12-03 20:11:06 +11:00
2008-11-17 19:11:26 +01:00
2008-10-28 21:47:17 +00:00