summaryrefslogtreecommitdiff
path: root/drivers/i2c/busses/i2c-ocores.c
diff options
context:
space:
mode:
authorSowjanya Komatineni <skomatineni@nvidia.com>2019-02-12 22:06:48 +0300
committerWolfram Sang <wsa@the-dreams.de>2019-02-14 19:48:57 +0300
commit0940d24912e9256fdf172f84c54ffd91680f05d0 (patch)
tree8614a258d3fe9e36395d6defcd51c663e28f4e60 /drivers/i2c/busses/i2c-ocores.c
parent80d40626cc76f65f2699573a95ecc90a31dcf50e (diff)
downloadlinux-0940d24912e9256fdf172f84c54ffd91680f05d0.tar.xz
i2c: tegra: add i2c interface timing support
This patch adds I2C interface timing registers support for proper bus rate configuration along with meeting the I2C spec setup and hold times based on the tuning performed on Tegra210, Tegra186 and Tegra194 platforms. I2C_INTERFACE_TIMING_0 register contains TLOW and THIGH field and Tegra I2C controller design uses them as a part of internal clock divisor. I2C_INTERFACE_TIMING_1 register contains the setup and hold times for start and stop conditions. Acked-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Dmitry Osipenko <digetx@gmail.com> Tested-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-ocores.c')
0 files changed, 0 insertions, 0 deletions