summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-octeon.c
diff options
context:
space:
mode:
authorShardar Shariff Md <smohammed@nvidia.com>2016-03-14 18:52:18 +0530
committerWolfram Sang <wsa@the-dreams.de>2016-04-12 23:56:05 +0200
commit497fbe24987bd24ee271c67c212ec681995188b6 (patch)
tree62c5fb3e613b724571e10c1ded14decff88bf125 /drivers/i2c/busses/i2c-octeon.c
parenta7401ca5596e246f17b087b84fe55a429b666132 (diff)
downloadlinux-497fbe24987bd24ee271c67c212ec681995188b6.tar.bz2
i2c: tegra: enable multi master mode for tegra210
Enable multi-master mode in I2C_CNFG reg based on hw features. Using single/multi-master mode bit introduced for Tegra210, whereas multi-master mode is enabled by default in HW for T124 and earlier Tegra SOC. Enabling this bit doesn't explicitly start treating the bus has having multiple masters, but will start checking for arbitration lost and reporting when it occurs. The Tegra210 I2C controller supports single/multi master mode. Add chipdata for Tegra210 and its compatibility string so that Tegra210 will select data that enables multi master mode correctly. Do below prerequisites for multi-master bus if "multi-master" dt property entry is added. 1. Enable 1st level clock always set. 2. Disable 2nd level clock gating (slcg which is supported from T124 SOC and later chips) Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-octeon.c')
0 files changed, 0 insertions, 0 deletions