i2c: s3c2410: Add polling mode support
authorVasanth Ananthan <vasanthananthan@gmail.com>
Mon, 11 Nov 2013 11:20:20 +0000 (16:50 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 3 Jan 2014 16:40:36 +0000 (17:40 +0100)
commit117053f77a5a4d055ec4fc7b4f6639045a24fefd
treeb1554d85ca30f8b82caf8180d5afa1d2e47ef7c6
parent46a4e737bc7ea3b07b0bc6f8315ab610a16c7eab
i2c: s3c2410: Add polling mode support

This patch adds polling mode support for i2c-s3c2410 driver.The
SATA PHY controller's CMU and TRSV block's are of I2C register
map in exynos5250.These blocks can be configured using i2c.

But i2c controller instance on which these block's sits lacks an
interrupt line.Also the current i2c-s3c2410 driver is only interrupt
driven, thus a polling mode support is required in the driver for
supporting this controller. This patch adds this support to the driver.

Signed-off-by: Vasanth Ananthan <vasanth.a@samsung.com>
Signed-off-by: Yuvaraj Kumar C D <yuvaraj.cd@samsung.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Documentation/devicetree/bindings/i2c/i2c-s3c2410.txt
drivers/i2c/busses/i2c-s3c2410.c