linux/arch/arm/mach-davinci
Sekhar Nori 9411ac07cd 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>
2018-05-02 14:55:06 +05:30
..
2017-07-27 13:15:29 +02:00
2018-02-19 16:25:15 +05:30
2018-02-19 16:25:15 +05:30
2015-12-01 21:52:51 +01:00
2015-12-01 21:52:51 +01:00
2015-12-01 21:52:51 +01:00
2015-12-01 21:52:51 +01:00
2018-02-19 16:25:15 +05:30