Tegra: I2C: Add T114 clock support to tegra_i2c driver
authorTom Warren <twarren.nvidia@gmail.com>
Fri, 8 Feb 2013 07:25:30 +0000 (07:25 +0000)
committerTom Warren <twarren@nvidia.com>
Thu, 14 Mar 2013 18:06:41 +0000 (11:06 -0700)
commite32624ef820f821b94333402788e79979681eb29
treed328b83fe643568c319bd46c1c9458317f46ad3b
parent702b87289438cfc3165408f0eaf999b0b67c1e7e
Tegra: I2C: Add T114 clock support to tegra_i2c driver

T114 has a slightly different I2C clock, with a new (extra) divisor
in standard/fast mode and HS mode. Tested on my Dalmore, and the I2C
clock is 100KHz +/- 3Hz on my Saleae Logic analyzer.

Added a new entry in compat_names for T114 I2C since it differs
from the previous Tegra SoCs. A flag is set when T114 I2C HW is
found so new features like the extra clock divisor can be used.

Signed-off-by: Tom Warren <twarren@nvidia.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
arch/arm/include/asm/arch-tegra/tegra_i2c.h
drivers/i2c/tegra_i2c.c
include/fdtdec.h
lib/fdtdec.c