Contributor
Animesh Agarwal

Device tree bindings: Convert device tree bindings to DT schema


Mentors
Daniel Baluta, Rishabh Maheshwari, Iuliana Prodan
Organization
The Linux Foundation
Technologies
c, make, git, shell scripting
Topics
linux kernel, Device tree bindings, Device tree, DT schema
A Device Tree (DT) is a data structure used to describe non-discoverable hardware to the OS or bootloader. It is written in a device tree source (.dts/.dtsi) file, which is compiled into the kernel image at build time. This structure provides a standardized way to describe a system’s hardware topology. Device Tree bindings are the rules and conventions used to describe devices within the Device Tree. These bindings define how to represent various hardware components. Device tree bindings were historically written in human readable (.txt) format and developers had to rely upon manually reading these files and writing device tree source files accordingly. Now, these files are being converted to DT schema (.yaml) format so that semantic validation can be done on device tree sources automatically.