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