Thread (14 messages) flat view 14 messages, 5 authors, 2012-08-06
STALE5144d

[PATCH 2/2] GPIO: gpio-pxa: fix devicetree functions

From: haojian.zhuang@gmail.com (Haojian Zhuang)
Date: 2012-08-05 03:52:11

On Sun, Aug 5, 2012 at 7:16 AM, Linus Walleij [off-list ref] wrote:
On Wed, Jul 25, 2012 at 5:35 PM, Daniel Mack [off-list ref] wrote:
quoted
Provide an of_xlate function for the PXA GPIO chips and make it work for
devicetree environments.

Successfully tested on a PXA3xx board.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Could the PXA maintainers pls have a look at this patch, if you're working
on DT support especially...

BTW: I guess this is not a fix for issues in the current kernel HEAD?
Is it OK to have this for the next (v3.7) cycle?
It's a real fix. Since of_get_named_gpio_flags() needs to get flags of gpio.
This function is widely used in mmc/usb/... drivers. So it requires
vendor's gpio
driver to support parse flags from DT script.

gpio-pxa driver doesn't support flags before. Now Daniel's patch can
fix this issue.
So I'm OK on this patch.

Regards
Haojian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help