i2c: tegra: add support for Tegra114 SoC
authorLaxman Dewangan <ldewangan@nvidia.com>
Sat, 5 Jan 2013 12:04:46 +0000 (17:34 +0530)
committerWolfram Sang <w.sang@pengutronix.de>
Mon, 28 Jan 2013 04:26:43 +0000 (05:26 +0100)
commit2a2897bab2d3d50ab466cf908f03b62801f1ff56
treeacd8aa07d9a33368e5bd3223d8d9207b5447f9ae
parentb61b14154b19e1ef1da9c1e283f0cf93470e0c70
i2c: tegra: add support for Tegra114 SoC

NVIDIA's Tegra114 has following enhanced feature in i2c controller:
- Enable/disable control for per packet transfer complete interrupt.
  Earlier SoCs could not disable this.
- Single clock source for standard/fast and HS mode clock speed.
  The clock divisor for fast/standard mode is added into the i2c
  controller to meet the HS and standard/fast mode of clock speed
  from single source.

Add support for the above feature to make it functional on T114 SOCs.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-tegra.c