diff options
author | Sekhar Nori <nsekhar@ti.com> | 2018-04-18 12:32:46 +0300 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2018-05-02 12:25:06 +0300 |
commit | 9411ac07cd764be34bbd7ff09125a6b7b9175d4c (patch) | |
tree | 6234e28e7d99c2d1c556e9a9ded92a1f182e5bfa /arch/arm/mach-davinci/board-neuros-osd2.c | |
parent | 5c054de228dd6d97bf8e38962bd118953b66e5a0 (diff) | |
download | linux-9411ac07cd764be34bbd7ff09125a6b7b9175d4c.tar.xz |
ARM: davinci: fix GPIO lookup for I2C
The GPIO chip is called davinci_gpio.0 in legacy mode. Fix it, so that
I2C can correctly lookup the recovery gpios.
Note that it is the gpio-davinci driver that sets the gpiochip label to
davinci_gpio.0.
Also, the I2C device uses an id of 1 on DM644x and DM355.
While at it, convert to using GPIO_TO_PIN() for referring to GPIO pin
numbers, like it is done in rest of the board support files.
Fixes: e53537653791 ("i2c/ARM: davinci: Deep refactoring of I2C recovery")
Reviewed-by: David Lechner <david@lechnology.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/board-neuros-osd2.c')
0 files changed, 0 insertions, 0 deletions