diff options
author | Gao Pan <pandy.gao@nxp.com> | 2017-03-08 22:37:23 +0800 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | a9ab12bc2c5c8b8f0a6409114eb5a73c33fb2d98 (patch) | |
tree | 71a057d265412b1e423ab341c294e60b889d9e80 /drivers/i2c | |
parent | 8d4eaf1a0a944058258d44282f3e3fd12d578ca8 (diff) |
MLK-14394 i2c: imx-lpi2c: change default bitrate
Due to the eviation i2c clk settings, the result may less than
100KBps. As a result, some i2c slave works in wrong condition.
This patch changes i2c bitrate to 200KBps
Signed-off-by: Gao Pan <pandy.gao@nxp.com>
(cherry-pick from e8001d5993b9be81a872a0d93106e71050dced24)
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-imx-lpi2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-imx-lpi2c.c b/drivers/i2c/busses/i2c-imx-lpi2c.c index 35e97282c33d..a18676459851 100644 --- a/drivers/i2c/busses/i2c-imx-lpi2c.c +++ b/drivers/i2c/busses/i2c-imx-lpi2c.c @@ -86,7 +86,7 @@ #define LPI2C_RX_FIFOSIZE 4 #define LPI2C_TX_FIFOSIZE 4 -#define LPI2C_DEFAULT_RATE 100000 +#define LPI2C_DEFAULT_RATE 200000 #define STARDARD_MAX_BITRATE 400000 #define FAST_MAX_BITRATE 1000000 #define FAST_PLUS_MAX_BITRATE 3400000 |