summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-max732x.c
diff options
context:
space:
mode:
authorAlexander Holler <holler@ahsoftware.de>2014-03-05 12:21:01 +0100
committerLinus Walleij <linus.walleij@linaro.org>2014-03-11 11:14:19 +0100
commit758afe429c501924ac650ad667fd79f4bb06c05a (patch)
treed2d038b3f4126f7aea3d37f4234315f7b4ace592 /drivers/gpio/gpio-max732x.c
parentd3e144532703fe2454b56eddb56f30d2d620187b (diff)
gpio: davinci: fix gpio selection for OF
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 <holler@ahsoftware.de> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-max732x.c')
0 files changed, 0 insertions, 0 deletions