[ARM]tegra:i2c: Adding i2c slave support apis.
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 23 Dec 2010 16:33:54 +0000 (21:33 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:41:51 +0000 (21:41 -0800)
commit0017a945ba2e0ecdb73657dac435fc83a74dd70e
tree24fcdfc4ce689d61511865319f61fe4ea899f0c1
parent3e0b2a7672850563bca024d9b64ed0c44c6c9a4d
[ARM]tegra:i2c: Adding i2c slave support apis.

To support the i2c slave functionality in the kernel, adding the
framework so that chip specific slave driver can be plugged in.

Adding slave adapter and alogithms in framework so that slave bus driver
can register chip specific driver.

Original-Change-Id: Ie002dbd3b021f70814b455471e66a5da378ab3e9
Reviewed-on: http://git-master/r/14206
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Alok Chauhan <alokc@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I92b6bc4f3953a9edc7f9414a65b69005d2bbf8db

Rebase-Id: R13abe740fa88a76747dcbcd42ffc9f74a504f7c5
drivers/i2c/Kconfig
drivers/i2c/Makefile
drivers/i2c/i2c-slave.c [new file with mode: 0755]
include/linux/i2c-slave.h [new file with mode: 0755]
include/linux/i2c.h