summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-09-10 18:43:10 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2016-09-10 18:43:10 +0200
commitb8db3714d7479881e23de20735f60f1733723241 (patch)
tree398e50ba60df642d66d470755ead99b24383daf5 /Documentation
parentMerge tag 'for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git... (diff)
parenti2c: rk3x: Restore clock settings at resume time (diff)
downloadlinux-b8db3714d7479881e23de20735f60f1733723241.tar.xz
linux-b8db3714d7479881e23de20735f60f1733723241.zip
Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Pull i2c fixes from Wolfram Sang: "Mostly driver bugfixes, but also a few cleanups which are nice to have out of the way" * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux: i2c: rk3x: Restore clock settings at resume time i2c: Spelling s/acknowedge/acknowledge/ i2c: designware: save the preset value of DW_IC_SDA_HOLD Documentation: i2c: slave-interface: add note for driver development i2c: mux: demux-pinctrl: run properly with multiple instances i2c: bcm-kona: fix inconsistent indenting i2c: rcar: use proper device with dma_mapping_error i2c: sh_mobile: use proper device with dma_mapping_error i2c: mux: demux-pinctrl: invalidate properly when switching fails
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/i2c/slave-interface5
1 files changed, 5 insertions, 0 deletions
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.