[bootlin/training-materials updates] master: kernel-hw-devices: Move the explanation about non-discoverable devices earlier (15386826)
Miquel Raynal
miquel.raynal at bootlin.com
Wed Jan 18 14:27:53 CET 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/15386826c56e1b74a8315e6081c2c4c124f8595c
>---------------------------------------------------------------
commit 15386826c56e1b74a8315e6081c2c4c124f8595c
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date: Wed Jan 18 12:46:14 2023 +0100
kernel-hw-devices: Move the explanation about non-discoverable devices earlier
Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
>---------------------------------------------------------------
15386826c56e1b74a8315e6081c2c4c124f8595c
slides/kernel-device-model/kernel-device-model.tex | 20 --------------------
slides/kernel-hw-devices/kernel-hw-devices.tex | 16 +++++++++++++++-
2 files changed, 15 insertions(+), 21 deletions(-)
diff --git a/slides/kernel-device-model/kernel-device-model.tex b/slides/kernel-device-model/kernel-device-model.tex
index 6117c21d..614df704 100644
--- a/slides/kernel-device-model/kernel-device-model.tex
+++ b/slides/kernel-device-model/kernel-device-model.tex
@@ -362,26 +362,6 @@ Source: \kfile{drivers/net/usb/rtl8150.c}
\subsection{Platform drivers}
-\begin{frame}{Non-discoverable buses}
- \begin{itemize}
- \item On embedded systems, devices are often not connected through a
- bus allowing enumeration, hotplugging, and providing unique
- identifiers for devices.
- \item For example, the devices on I2C buses or SPI buses, or the
- devices directly part of the system-on-chip.
- \item However, we still want all of these devices to be part of the
- device model.
- \item Such devices, instead of being dynamically detected, must be
- statically described in either:
- \begin{itemize}
- \item The kernel source code
- \item The {\em Device Tree}, a hardware description file used on
- some architectures.
- \item ACPI tables (x86/PC architecture)
- \end{itemize}
- \end{itemize}
-\end{frame}
-
\begin{frame}{Platform devices}
\begin{itemize}
\item Amongst the non-discoverable devices, a huge family are the
diff --git a/slides/kernel-hw-devices/kernel-hw-devices.tex b/slides/kernel-hw-devices/kernel-hw-devices.tex
index 8f798119..1fb6e10b 100644
--- a/slides/kernel-hw-devices/kernel-hw-devices.tex
+++ b/slides/kernel-hw-devices/kernel-hw-devices.tex
@@ -1,6 +1,20 @@
\section{Accessing hardware devices}
-\subsection{Describing non-discoverable hardware: Device Tree}
+\subsection{Describing non-discoverable hardware}
+
+\begin{frame}{Non-discoverable buses}
+ \begin{itemize}
+ \item On embedded systems, devices are often not connected through a
+ bus allowing enumeration, hotplugging, and providing unique
+ identifiers for devices.
+ \item For example, the devices on I2C buses or SPI buses, or the
+ devices directly part of the system-on-chip.
+ \item However, we still want all of these devices to be part of the
+ device model.
+ \item Such devices, instead of being dynamically detected, must be
+ statically described.
+ \end{itemize}
+\end{frame}
\begin{frame}{Describing non-discoverable hardware}
\begin{columns}
More information about the training-materials-updates
mailing list