当前位置:网站首页>Rk3399 platform development series explanation (Introduction to kernel) 1.52. Call stack analysis of probe function in platform

Rk3399 platform development series explanation (Introduction to kernel) 1.52. Call stack analysis of probe function in platform

2022-06-09 02:26:00 Kernel notes

 Insert picture description here

Return to the column catalog

List of articles

precipitation 、 Share 、 grow up , Let yourself and others have something to gain !

We know that when the hardware first came up ,bootloader Let the kernel select the appropriate by passing parameters dts,kernel After receiving the correct dts when , Will put each appropriate node To register (platform_device_register), And hang it on bus On , When the underlying driver registers (platform_driver_register), Will first traverse bus Upper devicebus_for_each_dev), And then through dts Medium compatible Match (platform_match In the implementation of ,dts Matching is just one way of matching ), If I found driver and device Same name , well , We can execute what we need

原网站

版权声明
本文为[Kernel notes]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/159/202206081308223319.html