]> git.karo-electronics.de Git - linux-beck.git/commit
i2c: core changes for slave support
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Tue, 18 Nov 2014 16:04:53 +0000 (17:04 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 11 Dec 2014 21:25:53 +0000 (22:25 +0100)
commit4b1acc43331d6c716c331a61477660dc20c8b59c
treebf4138594b8e48384972f56c499c895ec9fe0de5
parent40ed1b4caf76e27807a49d42a41f43e8393a7607
i2c: core changes for slave support

Finally(!), make Linux support being an I2C slave. Most of the existing
infrastructure is reused. We mainly add i2c_slave_register/unregister()
calls which tells i2c bus drivers to activate the slave mode. Then, they
also get a callback to report slave events to.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/i2c-core.c
include/linux/i2c.h