diff options
author | Jay Cheng <jacheng@nvidia.com> | 2011-04-25 15:32:27 -0600 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2011-05-11 06:45:50 +0100 |
commit | 40abcf772357355a04f966416eebc943fd0281d4 (patch) | |
tree | 1388653b71196c3523d16b4be4bf1553545e2cd4 /include/linux/tty_ldisc.h | |
parent | 2078cf3b2230cc2ee456e67d28dd9a869097e1ff (diff) |
i2c: tegra: Add de-bounce cycles.
This enables debouncing of the I2C lines. The debounce period is
2 * the debounce register field value, in terms of the I2C block's main
clock. The Tegra TRM indicates that a setting yielding >50nS is
desirable. Hence, a setting of 2 => 4 clocks @ 72MHz => ~55nS.
Signed-off-by: Ken Radtke <kradtke@nvidia.com>
[swarren: Added commit description body,
Fixed 80-column limit, Reverted file permission change]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'include/linux/tty_ldisc.h')
0 files changed, 0 insertions, 0 deletions