Re: [PATCH 2/5] i2c: sh_mobile: Add support for r8a73a4 and sh73a0

2014-11-07 Thread Wolfram Sang
On Thu, Nov 06, 2014 at 12:52:07PM +0100, Geert Uytterhoeven wrote: Add support for r8a73a4 (R-Mobile APE6) and sh73a0 (SH-Mobile AG5). On these SoCs, the operating clock runs faster that on previous SoCs, and the internal SCL clock counter gets incremented every 2 clocks of the operating

[PATCH 2/5] i2c: sh_mobile: Add support for r8a73a4 and sh73a0

2014-11-06 Thread Geert Uytterhoeven
Add support for r8a73a4 (R-Mobile APE6) and sh73a0 (SH-Mobile AG5). On these SoCs, the operating clock runs faster that on previous SoCs, and the internal SCL clock counter gets incremented every 2 clocks of the operating clock, just like on R-Car Gen2. Cfr. the /2 in the calculation of ICCL/ICCH