From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Wu Subject: [PATCH v3 0/4] Add rk3399 i2c clocks calculated method Date: Thu, 14 Jan 2016 20:31:35 +0800 Message-ID: <1452774699-57455-1-git-send-email-david.wu@rock-chips.com> Content-Type: text/plain; charset="utf-8" Return-path: Received: from lucky1.263xmail.com ([211.157.147.131]:44462 "EHLO lucky1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751867AbcANMbI (ORCPT ); Thu, 14 Jan 2016 07:31:08 -0500 Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: heiko@sntech.de Cc: wsa@the-dreams.de, andy.shevchenko@gmail.com, dianders@chromium.org, huangtao@rock-chips.com, zyw@rock-chips.com, cf@rock-chips.com, xjq@rock-chips.com, hl@rock-chips.com, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, David Wu RK3399 have updated a new way to calculate i2c timing information to slove "repeat start" timing issue. So it needs to integrate existing method, use different ops to seperate them. After picking this series, pmic-rk818 and touchscreen-ts could work well on the rk3368 sdk board. 100k, 400k and 1.7M i2c clk rates were tested on the rk3399 fpga board, where i2c0 connected to pmic-ti65910. But 3.4M clk rate was not tested, because of the scl rise time is 60ns, it could not meet the i2c spec, the scl rise time is hard to reduce on fpga board. David Wu (4): i2c: rk3x: switch to i2c generic dt parsing i2c: rk3x: add ops to caculate i2c clocks i2c: rk3x: new method to caculate i2c clocks i2c: rk3x: support I2C Highspeed Mode drivers/i2c/busses/i2c-rk3x.c | 405 +++++++++++++++++++++++++++++++++--------- 1 file changed, 319 insertions(+), 86 deletions(-) -- 1.9.1