[FE training-materials-updates] i2c device model lab: clarify tip

Michael Opdenacker michael.opdenacker at free-electrons.com
Wed Dec 4 06:21:20 CET 2013


Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=48804870db5c2078f87425acedbf03008fa41a2b

>---------------------------------------------------------------

commit 48804870db5c2078f87425acedbf03008fa41a2b
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Tue Dec 3 18:22:18 2013 +0100

    i2c device model lab: clarify tip
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


>---------------------------------------------------------------

48804870db5c2078f87425acedbf03008fa41a2b
 .../kernel-i2c-device-model.tex                    |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/labs/kernel-i2c-device-model/kernel-i2c-device-model.tex b/labs/kernel-i2c-device-model/kernel-i2c-device-model.tex
index dd9981e..2e29ccb 100644
--- a/labs/kernel-i2c-device-model/kernel-i2c-device-model.tex
+++ b/labs/kernel-i2c-device-model/kernel-i2c-device-model.tex
@@ -71,9 +71,11 @@ examples given in the lectures.
   at 100 KHz. As for \code{i2c0}, you will need to declare the base
   address of its registers. Open the processor datasheet and find this
   address \footnote{Tip: you can look-up the \code{i2c0} base address
-    which you already know from the existing Device Tree. The base
-    address for \code{i2c1} won't be far away. If you do so, ignore
-    the \code{pinctrl} properties for now.}.
+    which you already know from the existing Device Tree (put an
+    underscore character in the middle of the address, as in
+    \code{FFFF_FFFF}... that's how addresses are written in the
+    datasheet). The base address for \code{i2c1} won't be far away.
+    If you do so, ignore the \code{pinctrl} properties for now.}.
 \item As a child node to this second bus, declare the \code{nunchuk}
   device, choosing \code{nintendo,nunchuk} for its \code{compatible}
   property. You find the I2C slave address of the nunchuk on the



More information about the training-materials-updates mailing list