]> git.baikalelectronics.ru Git - uboot.git/commit
i2c: omap24xx_i2c: Use platdata to probe the device
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 7 Dec 2018 13:50:42 +0000 (14:50 +0100)
committerHeiko Schocher <hs@denx.de>
Mon, 10 Dec 2018 05:11:18 +0000 (06:11 +0100)
commit2abc014a7cf81d51a102f47b6e0d491c349cab17
tree6f74bd607623586d1ff2ea5b20f4f2218188219f
parent6a396670528c7d7829cd431a8466a1227a6de477
i2c: omap24xx_i2c: Use platdata to probe the device

This allows the driver to be used without OF_CONTROL.
AM335x support DM_SPL but does not use SPL_OF_CONTROL. Enabling DM_I2C in
SPL thus requires that the omap I2C can be passed platdata.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
arch/arm/include/asm/arch-am33xx/i2c.h
arch/arm/include/asm/omap_i2c.h [new file with mode: 0644]
drivers/i2c/omap24xx_i2c.c