[PATCH 2/2] GPIO: gpio-pxa: fix devicetree functions
From: haojian.zhuang@gmail.com (Haojian Zhuang)
Date: 2012-08-05 12:58:41
On Sun, Aug 5, 2012 at 5:40 PM, Linus Walleij [off-list ref] wrote:
On Sun, Aug 5, 2012 at 5:52 AM, Haojian Zhuang [off-list ref] wrote:quoted
On Sun, Aug 5, 2012 at 7:16 AM, Linus Walleij [off-list ref] wrote:quoted
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.OK I take that as an ACK so I've put it on my fixes branch with your Acked-by.
Thanks. Let me revert it from pxa git tree. Regards Haojian