[FE training-materials-updates] Add a small slide to talk about how the resources are filled by the kernel

Maxime Ripard maxime.ripard at free-electrons.com
Wed Oct 2 14:52:40 CEST 2013


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

On branch  : kernel-ng
Link       : http://git.free-electrons.com/training-materials/commit/?id=3bde9f2d1799fdf4c61ed8a27e901dcd5774a4ce

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

commit 3bde9f2d1799fdf4c61ed8a27e901dcd5774a4ce
Author: Maxime Ripard <maxime.ripard at free-electrons.com>
Date:   Wed Oct 2 14:48:53 2013 +0200

    Add a small slide to talk about how the resources are filled by the kernel
    
    Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>


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

3bde9f2d1799fdf4c61ed8a27e901dcd5774a4ce
 slides/kernel-device-model/kernel-device-model.tex |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/slides/kernel-device-model/kernel-device-model.tex b/slides/kernel-device-model/kernel-device-model.tex
index 916431e..5bce5e6 100644
--- a/slides/kernel-device-model/kernel-device-model.tex
+++ b/slides/kernel-device-model/kernel-device-model.tex
@@ -652,6 +652,20 @@ static struct platform_driver serial_omap_driver = {
   \end{itemize}
 \end{frame}
 
+\begin{frame}
+  \frametitle{Device Tree Resources}
+  \begin{itemize}
+  \item The drivers will use the same mechanism than we saw previously
+    to retrieve the basic informations: interrupts numbers, physical
+    addresses, etc.
+  \item The available resources list will be built up by the kernel at
+    boot time from the device tree, so that you don't need to make any
+    unnnecessary lookups to the DT when loading your driver.
+  \item Any additional informations will be specific to a driver or
+    the class it belongs to, defining the {\em bindings}
+  \end{itemize}
+\end{frame}
+
 \begin{frame}{Device Tree bindings}
   \begin{itemize}
   \item The compatible string and the associated properties define



More information about the training-materials-updates mailing list