[FE training-materials-updates] Kernel labs: nunchuk lab updates

Michael Opdenacker michael.opdenacker at free-electrons.com
Thu Jul 16 11:42:25 CEST 2015

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

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


commit 252d4579cb36423e52fd53ae568cfd61cbbf9149
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Thu Jul 16 11:41:22 2015 +0200

    Kernel labs: nunchuk lab updates
    - For Linux 4.1
    - For the changes we previously made
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


 labs/kernel-i2c-communication/kernel-i2c-communication.tex     | 8 +++++---
 labs/kernel-i2c-input-interface/kernel-i2c-input-interface.tex | 7 ++++---
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/labs/kernel-i2c-communication/kernel-i2c-communication.tex b/labs/kernel-i2c-communication/kernel-i2c-communication.tex
index 691096e..b52a854 100644
--- a/labs/kernel-i2c-communication/kernel-i2c-communication.tex
+++ b/labs/kernel-i2c-communication/kernel-i2c-communication.tex
@@ -131,9 +131,11 @@ to \code{i2c1}:
       be needed for I2C bus operation.
-Now that pin muxing settings have been explained, edit the
-\code{arch/arm/boot/dts/am335x-bone-common.dtsi} file and add
-the same definitions to enable pin muxing for \code{i2c1}.
+Now that pin muxing settings have been explained, edit your board
+DTS file to add the same definitions to enable pin muxing for \code{i2c1}.
+Don't forget that you don't have to repeat definitions that are
+already present in the \code{.dtsi} files. Just add new declarations, or
+settings that override common definitions.
 Rebuild and update your DTB, and eventually reboot the board.
diff --git a/labs/kernel-i2c-input-interface/kernel-i2c-input-interface.tex b/labs/kernel-i2c-input-interface/kernel-i2c-input-interface.tex
index fb44da3..b11633b 100644
--- a/labs/kernel-i2c-input-interface/kernel-i2c-input-interface.tex
+++ b/labs/kernel-i2c-input-interface/kernel-i2c-input-interface.tex
@@ -20,9 +20,10 @@ its state has changed. Therefore, the only way to access device data
 and detect changes is to regularly poll its registers, using the input
 polling API described in the lectures.
-Rebuild your kernel with static support for polled input device support
-(\code{CONFIG_INPUT_POLLDEV=y}). With the default configuration, this
-feature is available as a module, which is less convenient.
+Rebuild your kernel with static support for polled input device
+(\code{CONFIG_INPUT_POLLDEV=y}) and for event interface
+(\code{CONFIG_INPUT_EVDEV}) support. With the default configuration,
+these features are available as modules, which is less convenient.
 Update and reboot your kernel.

More information about the training-materials-updates mailing list