[FE training-materials-updates] kernel: device-model: Mention to ignore the pinctrl-related properties for now
Maxime Ripard
maxime.ripard at free-electrons.com
Mon Oct 14 17:17:12 CEST 2013
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=d5c02269b60595270d9c35130a3d1b5d2ef880cf
>---------------------------------------------------------------
commit d5c02269b60595270d9c35130a3d1b5d2ef880cf
Author: Maxime Ripard <maxime.ripard at free-electrons.com>
Date: Mon Oct 14 14:19:21 2013 +0200
kernel: device-model: Mention to ignore the pinctrl-related properties for now
Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
>---------------------------------------------------------------
d5c02269b60595270d9c35130a3d1b5d2ef880cf
.../kernel-i2c-device-model.tex | 21 ++++++++++----------
1 file changed, 10 insertions(+), 11 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 823ec6e..dd9981e 100644
--- a/labs/kernel-i2c-device-model/kernel-i2c-device-model.tex
+++ b/labs/kernel-i2c-device-model/kernel-i2c-device-model.tex
@@ -68,18 +68,17 @@ examples given in the lectures.
\begin{enumerate}
\item Add a node declaring a second I2C bus (\code{i2c1}), functioning
- 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.}.
+ 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.}.
\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 nunckuk document that we have used earlier
- \footnote{This I2C slave addressed is enforced by the device
- itself. You can't change it.}.
+ device, choosing \code{nintendo,nunchuk} for its \code{compatible}
+ property. You find the I2C slave address of the nunchuk on the
+ nunckuk document that we have used earlier \footnote{This I2C slave
+ addressed is enforced by the device itself. You can't change it.}.
\end{enumerate}
Once this is done, recompile your DTB and copy the updated version to
More information about the training-materials-updates
mailing list