i2c: sh_mobile: fix clock calculation for newer SoCs
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 2 May 2014 19:15:16 +0000 (21:15 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 22 May 2014 08:09:25 +0000 (10:09 +0200)
commit67240dfcb8dcf756cc00fb37f5cb7e3ee2fa6190
tree998fac70bb3516601d0492e6468f30bb4bfb75ed
parent7663ebefca8079ef0fd2fff1047d3d10af654c78
i2c: sh_mobile: fix clock calculation for newer SoCs

Newer SoCs have so fast input clocks that the ICCL/H registers only
count every second clock to have a meaningful 9-bit range. The driver
was already prepared for that happening, but didn't use it so far.
Add the proper DT configuration for SoCs that need it.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-sh_mobile.c