lkmpg
lkmpg copied to clipboard
Device-tree support
Would it be possible to get a section that talks about device-trees and how they interact with kernel modules? That would be a great addition for the folks that work on embedded systems.
@johnnylord, can you attempt to contribute preliminary descriptions along with sample code for device tree?
- https://github.com/johnnylord/drivers/tree/main/06-devicemodel
- https://github.com/johnnylord/drivers/tree/main/07-platform
I will try to give the device tree example with raspberry pi (the open source one). As device tree is proposed to decouple the hardware description from the kernel source tree, some companies maintain their own device tree files for different platforms and SoCs product internally, and their device tree files are not public available.