i2c: ocores: Add support for IO mapper registers.
authorAndrew Lunn <andrew@lunn.ch>
Thu, 14 Feb 2019 03:24:49 +0000 (04:24 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 14 Feb 2019 16:58:07 +0000 (17:58 +0100)
commit809445d4b7fa7101d9434182bebbd8c84d7e4b65
treeacc4cdf10a4c704a79881fcee7ed7a0e6935dd6a
parentfac9c29fc7d5b57724b88f54d27e11b20404a2ec
i2c: ocores: Add support for IO mapper registers.

Some implementations of the OCORES i2c bus master use IO mapped
registers. Add support for getting the IO registers from the platform
data, and register accessor functions.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-ocores.c