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

2014-03-05 Thread Grygorii Strashko
On 03/05/2014 12:06 AM, Alexander Holler 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 su

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

2014-03-04 Thread Linus Walleij
On Wed, Mar 5, 2014 at 6:06 AM, Alexander Holler 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 te

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

2014-03-04 Thread Alexander Holler
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