Thread (23 messages) 23 messages, 4 authors, 2014-03-21

[PATCH v2] gpio: davinci: fix gpio selection for OF

From: Linus Walleij <hidden>
Date: 2014-03-11 10:15:09
Also in: linux-devicetree, linux-gpio, lkml

On Wed, Mar 5, 2014 at 12:21 PM, Alexander Holler [off-list ref] wrote:
The driver missed an of_xlate function to translate gpio numbers
as found in the DT to the correct chip and number.

While there I've set #gpio_cells to a fixed value of 2.

I've used gpio-pxa.c as template for those changes and tested my changes
successfully on a da850 board using entries for gpio-leds in a DT. So I didn't
reinvent the wheel but just copied and tested stuff.

Thanks to Grygorii Strashko for the hint to the existing code in gpio-pxa.

Signed-off-by: Alexander Holler <redacted>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
This v2 version applied, thanks!

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help