summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-nomadik.c
diff options
context:
space:
mode:
authorSerge Semin <Sergey.Semin@baikalelectronics.ru>2020-05-28 11:33:21 +0200
committerWolfram Sang <wsa@kernel.org>2020-05-30 23:03:06 +0200
commitfcb82a939df86018641f38124cb9a7811a5f8505 (patch)
treef9b3d40e9ab2537066b03165c6c31a37bae6b1a2 /drivers/i2c/busses/i2c-nomadik.c
parenti2c: designware: Move reg-space remapping into a dedicated function (diff)
downloadlinux-fcb82a939df86018641f38124cb9a7811a5f8505.tar.xz
linux-fcb82a939df86018641f38124cb9a7811a5f8505.zip
i2c: designware: Add Baikal-T1 System I2C support
Baikal-T1 System Controller is equipped with a dedicated I2C Controller which functionality is based on the DW APB I2C IP-core, the only difference in a way it' registers are accessed. There are three access register provided in the System Controller registers map, which indirectly address the normal DW APB I2C registers space. So in order to have the Baikal-T1 System I2C Controller supported by the common DW APB I2C driver we created a dedicated Dw I2C controller model quirk, which retrieves the syscon regmap from the parental dt node and creates a new regmap based on it. Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-nomadik.c')
0 files changed, 0 insertions, 0 deletions