From: Jay Cheng Date: Mon, 25 Apr 2011 21:32:27 +0000 (-0600) Subject: i2c: tegra: Add de-bounce cycles. X-Git-Tag: v3.0-rc1~305^2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40abcf772357355a04f966416eebc943fd0281d4;p=pandora-kernel.git 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 [swarren: Added commit description body, Fixed 80-column limit, Reverted file permission change] Signed-off-by: Stephen Warren Signed-off-by: Ben Dooks --- Reading git-diff-tree failed