[bootlin/training-materials updates] master: kernel: i2c: Try giving a better definition of SMBus (dea44e6d)

Miquel Raynal miquel.raynal at bootlin.com
Mon Nov 15 10:47:12 CET 2021

Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/dea44e6d2eb5be1a0f666edfa8eddf5e12cf905c


commit dea44e6d2eb5be1a0f666edfa8eddf5e12cf905c
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date:   Mon Nov 15 10:36:04 2021 +0100

    kernel: i2c: Try giving a better definition of SMBus
    SMBus does not simply target byte reads/writes. It's actually a full
    specification targetting devices power management on an "I2C bus". It is
    true that for us, it offers a register-like interface but it is only a
    biased view from our side, it's not the original purpose.
    Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>


 slides/kernel-i2c/kernel-i2c.tex | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/slides/kernel-i2c/kernel-i2c.tex b/slides/kernel-i2c/kernel-i2c.tex
index cde2746e..80bcbbe9 100644
--- a/slides/kernel-i2c/kernel-i2c.tex
+++ b/slides/kernel-i2c/kernel-i2c.tex
@@ -359,8 +359,9 @@ From \kfile{drivers/input/touchscreen/st1232.c}
 \begin{frame}{SMBus calls}
   \item SMBus is a subset of the I2C protocol.
-  \item It defines a standard set of transactions, for example to read
-    or write a register into a device.
+  \item It focuses on devices power management and defines a standard
+    set of transactions, such as reading/writing from a register-like
+    interface.
   \item Linux provides SMBus functions that {\em should be used}
     instead of the raw API, if the I2C device supports this
     standard type of transactions. The driver can then be used on both

More information about the training-materials-updates mailing list