~/talk

DTS 101: From Roots To Trees, Aka Devicetree for Beginners

slides:none on file

Practical, step‑by‑step guide to writing Linux devicetree sources and YAML bindings: explains that compatible strings must name the specific device (front then fallback), that DTC produces DTB blobs, and that DT schema plus the DT validation tools catch mistakes early. Recommends filename = compatible, copying the example schema, using make DT_BINDINGS_CHECK and make DTB_CHECK (or single-DTS DTB targets) to validate before submitting, and notes automated txt→YAML conversions already accelerate upstreaming.

AI-written summary · about

  1. 0:00Device Tree basics
  2. 1:02What is Device Tree
  3. 3:49Schema and validation tools
  4. 4:53DTS structure and nodes
  5. 6:38Address cells and properties
  6. 8:02Compatible property
  7. 9:26Front and fallback compatibles
  8. 11:33Writing bindings from scratch
  9. 13:17Binding constraints
  10. 15:47Required properties
  11. 17:13Referencing schemas
  12. 18:15What belongs in DTS and what does not
  13. 20:22Adding child nodes
  14. 22:07Hardware vs driver needs
  15. 23:52Clock frequency issues
  16. 25:16Near-identical devices
  17. 27:24Validating bindings and DTS
  18. 28:50Q&A on bindings
  19. 30:56Legacy to YAML bindings
  20. 32:00Final Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.