i2c: omap24xx_i2c: Move away from SoC specific headers for reg offset
authorVignesh R <vigneshr@ti.com>
Fri, 7 Dec 2018 13:50:41 +0000 (14:50 +0100)
committerHeiko Schocher <hs@denx.de>
Mon, 10 Dec 2018 05:09:34 +0000 (06:09 +0100)
commitbca09ce4b044b3a517f18e40902b0a399ffab361
treeb976b200e71f386efd50c723890a46ca048769a8
parentd83499892a26ae2bd0555ffa18a7ce804e784686
i2c: omap24xx_i2c: Move away from SoC specific headers for reg offset

Move away from SoC specific headers to handle different register layout.
Instead use driver data to get appropriate register layouts like in the
kernel. While at it, perform some mostly cosmetic alignment/cleanup in
the functions being updated.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
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/arch-omap3/i2c.h
arch/arm/include/asm/arch-omap4/i2c.h
arch/arm/include/asm/arch-omap5/i2c.h
drivers/i2c/omap24xx_i2c.c