diff options
author | Marek Vasut <marex@denx.de> | 2012-11-30 18:48:35 +0100 |
---|---|---|
committer | Wolfram Sang <wolfram@the-dreams.de> | 2013-02-10 19:55:14 +0100 |
commit | 626f0a2ff6bc9820b17c17958d5862262556892f (patch) | |
tree | bb2e4a827e8eafc14f42bf7e4a1cb7ab16dd404d /drivers/parisc/power.c | |
parent | c2db409cbc8751ccc7e6d2cc2e41af0d12ea637f (diff) | |
download | op-kernel-dev-626f0a2ff6bc9820b17c17958d5862262556892f.zip op-kernel-dev-626f0a2ff6bc9820b17c17958d5862262556892f.tar.gz |
i2c: mxs: Implement arbitrary clock speed derivation algorithm
This patch drops the i2c timing tables from this driver and instead
derives the timing based from the requested clock sleep. The timing
tables were completely wrong anyway when observed on a scope.
This new algorithm is also only derived by using a scope, but it seems
to produce much more accurate result.
Signed-off-by: Marek Vasut <marex@denx.de>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
[wsa: changed messages from dev_err to dev_warn]
Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
Diffstat (limited to 'drivers/parisc/power.c')
0 files changed, 0 insertions, 0 deletions