Some cleanups and bugfixes for i2c-sh_mobile. Tested on top of renesas-devel-v3.15-rc3-20140429 and with a lager board. Branch is at git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/sh_mobile-cleanup Changes since V1: * added patches to make bus speed calculation more robust * added patch to fix bus speed calculation for rcar-gen2 SoCs * added tags from Geert to patches Wolfram Sang (10): i2c: sh_mobile: replace magic hex values with constants i2c: sh_mobile: improve error handling i2c: sh_mobile: honor DT bus speed settings i2c: sh_mobile: add devicetree documentation i2c: sh_mobile: devm conversion, low hanging fruits i2c: sh_mobile: devm conversion, irq setup i2c: sh_mobile: remove superfluous offset parameter i2c: sh_mobile: bail out on errors when initializing i2c: sh_mobile: check timing parameters for valid range i2c: sh_mobile: fix clock calculation for newer SoCs .../devicetree/bindings/i2c/i2c-sh_mobile.txt | 26 +++ drivers/i2c/busses/i2c-sh_mobile.c | 222 ++++++++++----------- 2 files changed, 130 insertions(+), 118 deletions(-) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-sh_mobile.txt -- 1.9.2 -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html