- 14 Dec, 2025
Linux device driver for the custom SPI peripheral in QEMU
In the post on Linux driver for custom I2C device the overall structure of a Linux I2C device driver was presented. The character device and sysfs attributes creation were also covered. Similar can be done for the SPI custom component. In the original post SPI userspace driver was presented as C++ application (also as a Rust application). In this post creation of a SPI Linux device driver will be ...
- 14 Sep, 2025
Device Tree Overlay
Device Tree Intro In the embedded system various busses can be used to connect peripherals to the CPU (directly or indirectly): system/platform, I2C, SPI, UART, USB, PCI, etc. Some of these busses support automatic detection and enumeration of devices, which allows system to "recognize" the device that is connected and use it without a manual intervention. However, many busses (like platform, I2C, ...