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: e535376537 ("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
..
include/mach ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
aemif.c ARM: davinci: aemif: get rid of davinci-nand driver dependency on aemif 2014-02-23 20:33:18 +05:30
asp.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
board-da830-evm.c ARM: davinci: board-da830-evm: fix GPIO lookup for MMC/SD 2018-05-01 17:13:38 +05:30
board-da850-evm.c ARM: davinci: board-da850-evm: fix GPIO lookup for MMC/SD 2018-05-01 17:14:39 +05:30
board-dm355-evm.c ARM: davinci: fix GPIO lookup for I2C 2018-05-02 14:55:06 +05:30
board-dm355-leopard.c Miscellaneous DaVinci SoC support improvements for v4.17 2018-03-07 16:01:34 +01:00
board-dm365-evm.c Miscellaneous DaVinci SoC support improvements for v4.17 2018-03-07 16:01:34 +01:00
board-dm644x-evm.c ARM: davinci: fix GPIO lookup for I2C 2018-05-02 14:55:06 +05:30
board-dm646x-evm.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
board-mityomapl138.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
board-neuros-osd2.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
board-omapl138-hawk.c ARM: davinci: board-omapl138-hawk: fix GPIO numbers for MMC/SD lookup 2018-05-01 17:16:02 +05:30
board-sffsdr.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
clock.c ARM: davinci: normalize clk API 2017-07-27 13:15:29 +02:00
clock.h ARM: davinci: remove watchdog reset 2018-02-19 16:25:15 +05:30
common.c ARM: davinci: make argument to davinci_common_init() as const 2017-12-23 15:46:24 +05:30
cp_intc.c ARM: davinci: use IRQCHIP_DECLARE for cp_intc 2016-04-14 12:09:50 +05:30
cp_intc.h ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
cpuidle.c ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
cpuidle.h ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
da8xx-dt.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
da830.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
da850.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
davinci.h ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
ddr2.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
devices-da8xx.c ARM: davinci: da8xx: simplify CFGCHIP regmap_config 2018-03-29 12:19:12 +05:30
devices.c ARM: davinci: remove watchdog reset 2018-02-19 16:25:15 +05:30
dm355.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
dm365.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
dm644x.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
dm646x.c ARM: davinci: move davinci_clk_init() to init_time 2018-02-19 16:25:15 +05:30
irq.c
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile.boot License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mux.c ARM: davinci: davinci_cfg_reg cannot be init 2015-02-18 12:20:25 +01:00
mux.h
pdata-quirks.c ARM: davinci: fix const warnings 2017-06-15 19:18:24 +05:30
pm_domain.c arm: davinci: remove boilerplate code and use USE_PM_CLK_RUNTIME_OPS 2015-05-12 23:55:38 +02:00
pm.c ARM: davinci: PM: Do not free useful resources in normal path in 'davinci_pm_init' 2017-05-17 15:25:18 +05:30
psc.c ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
psc.h ARM: davinci: da850: add clocks for mcbsp0 and 1 2016-06-10 18:22:41 +05:30
serial.c ARM: davinci: serial.c: remove unused serial_read_reg() 2015-01-14 15:56:12 +05:30
sleep.S ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
sram.c ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
sram.h ARM: davinci: make headers more local 2015-12-01 21:52:51 +01:00
time.c ARM: davinci: remove watchdog reset 2018-02-19 16:25:15 +05:30
usb-da8xx.c ARM: davinci: da8xx: fix oops in USB PHY driver due to stack allocated platform_data 2018-03-29 12:18:32 +05:30
usb.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00