i2c: exynos5: add support for HSI2C on Exynos5260 SoC
authorNaveen Krishna Ch <ch.naveen@samsung.com>
Mon, 28 Apr 2014 08:59:58 +0000 (14:29 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 22 May 2014 08:09:22 +0000 (10:09 +0200)
commit218e1496135e94e901bf1c136d81ede7e2b418b8
tree201d6039862e875ee922370bf50cc1b8523176e8
parenta83bea7c1170ad8c68d65ed2fff6a533e68f67a4
i2c: exynos5: add support for HSI2C on Exynos5260 SoC

HSI2C module on Exynos5260 differs from current modules in
following ways:
1.  HSI2C on Exynos5260 has fifo_depth of 16bytes
2.  Module needs to be reset as a part of init sequence.

Hence, Following changes are involved.
1. Add a new compatible string and Updates the Documentation dt bindings.
2. Introduce a variant struct to support the changes in H/W
3. Reset the module during init. Thus, bringing the module back
to default state irrespective of what firmware did with it.

Signed-off-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Documentation/devicetree/bindings/i2c/i2c-exynos5.txt
drivers/i2c/busses/i2c-exynos5.c