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

Linus Walleij linus.walleij at linaro.org
Tue Mar 4 21:27:59 EST 2014


On Wed, Mar 5, 2014 at 6:06 AM, Alexander Holler <holler at ahsoftware.de> 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 of the existing code in gpio-pxa.
>
> Signed-off-by: Alexander Holler <holler at ahsoftware.de>

Grygorii, can I have your review tag on this patch so I can apply it?

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list