diff options
author | Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com> | 2012-10-24 19:57:27 +0900 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2012-11-16 09:07:43 +0100 |
commit | 23a612916a51cc3772ff46c9dc34a86c9c50840e (patch) | |
tree | f1cff85dd93d7cfa457b7d22dd3d00122b3a548f /crypto/842.c | |
parent | 7b0e62920ac314eb819e68b7d2c51994b98b19ca (diff) |
i2c: i2c-sh_mobile: optimize ICCH/ICCL values according to I2C bus speed
ICCH/ICCL values is supposed to be calculated/optimized to strictly meet
the timing specs required by the I2C standard. The resulting I2C bus
speed does not matter at all, if it's less than 100 or 400 kHz.
With this change, sh_mobile_i2c_icch() is virtually identical to
sh_mobile_i2c_iccl(), but they're providing good descriptions of
SH-/R-Mobile I2C hardware spec, and I'd leave them as separated.
Also fix a typo in the comment, print icch/iccl values at probe, etc.
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>
[wsa: squashed two patches for bisectability]
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'crypto/842.c')
0 files changed, 0 insertions, 0 deletions