Re: [PATCH v2 1/2] i2c-designware: make HCNT/LCNT values configurable

2013-08-28 Thread Wolfram Sang
On Mon, Aug 19, 2013 at 03:07:53PM +0300, Mika Westerberg wrote: > The DesignWare I2C controller has high count (HCNT) and low count (LCNT) > registers for each of the I2C speed modes (standard and fast). These > registers are programmed based on the input clock speed in the driver. > > The curren

Re: [PATCH v2 1/2] i2c-designware: make HCNT/LCNT values configurable

2013-08-19 Thread Shinya Kuribayashi
On 8/19/13 9:07 PM, Mika Westerberg wrote: The DesignWare I2C controller has high count (HCNT) and low count (LCNT) registers for each of the I2C speed modes (standard and fast). These registers are programmed based on the input clock speed in the driver. The current code calculates these values

[PATCH v2 1/2] i2c-designware: make HCNT/LCNT values configurable

2013-08-19 Thread Mika Westerberg
The DesignWare I2C controller has high count (HCNT) and low count (LCNT) registers for each of the I2C speed modes (standard and fast). These registers are programmed based on the input clock speed in the driver. The current code calculates these values based on the input clock speed and tries har