X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=Documentation%2Fi2c%2Fslave-interface;h=7e2a228f21bccd8ab12cec93bda73831f66827cb;hb=30851a7c2155d0b321485e66386ea99191d8b3f5;hp=80807adb8ded52c6ad0482b0abab86e79921a8e5;hpb=3fbff9c874072a085c08af706beb88e7797d78b4;p=cascardo%2Flinux.git diff --git a/Documentation/i2c/slave-interface b/Documentation/i2c/slave-interface index 80807adb8ded..7e2a228f21bc 100644 --- a/Documentation/i2c/slave-interface +++ b/Documentation/i2c/slave-interface @@ -145,6 +145,11 @@ If you want to add slave support to the bus driver: * Catch the slave interrupts and send appropriate i2c_slave_events to the backend. +Note that most hardware supports being master _and_ slave on the same bus. So, +if you extend a bus driver, please make sure that the driver supports that as +well. In almost all cases, slave support does not need to disable the master +functionality. + Check the i2c-rcar driver as an example.