i2c: tegra: Implement the bit banging method for i2c transfer after shutdown
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 13 Aug 2013 10:18:28 +0000 (15:18 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:40:28 +0000 (13:40 -0700)
commit4fa85e87e7f42efb89bc714049fd35e564400c9d
tree50d2ba70c312ae4a46e029f2aef511be1c26de11
parent73669ec4d6922a746445481dfefaf6346452ee77
i2c: tegra: Implement the bit banging method for i2c transfer after shutdown

Implement bit banging method of doing i2c transfer after shutdown call back
get called. For bit banging method, driver will use bit algo for i2c transfer.

Make this as optional and can be selected through platform data.

bug 1213113

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/260041
(cherry picked from commit 74e591524d6dbff96d133a254e363ecee90094c9)

Change-Id: Id68c53f9685ea93e2e16d5523619cf9254ef4dac
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/261007
GVS: Gerrit_Virtual_Submit
drivers/i2c/busses/Kconfig
drivers/i2c/busses/i2c-tegra.c
include/linux/i2c-tegra.h