[FE training-materials-updates] Kernel I2C device model lab: don't copy pinmux properties

Michael Opdenacker michael.opdenacker at free-electrons.com
Tue Apr 8 17:04:27 CEST 2014


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

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

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

commit 5562e9429371eebc90098cf8733f5ad1dee4e458
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Tue Apr 8 17:02:54 2014 +0200

    Kernel I2C device model lab: don't copy pinmux properties
    
    - If you follow the instructions, you will copy
      pinmux settings from i2c0, but none are defined for i2c1.
      We will define them in the next lab.
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


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

5562e9429371eebc90098cf8733f5ad1dee4e458
 .../kernel-i2c-device-model.tex                    |    4 ++++
 1 file changed, 4 insertions(+)

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 391f889..f45fc45 100644
--- a/labs/kernel-i2c-device-model/kernel-i2c-device-model.tex
+++ b/labs/kernel-i2c-device-model/kernel-i2c-device-model.tex
@@ -83,6 +83,10 @@ TI datasheet).}.
 Then, imitating the definitions found for \code{i2c0},
 modify the \code{arch/arm/boot/dts/am335x-boneblack.dts}
 file to instantiate \code{i2c1}, functioning at 100 KHz.
+For the moment, comment out the \code{pinctrl-} properties.
+They correspond to pin muxing settings for \code{i2c1}. We will define
+these settings in the next lab, and there are not defined in
+any \code{.dtsi} file anyway. 
 
 \subsection{Declare the Nunchuk device} 
 



More information about the training-materials-updates mailing list