DT中的simple-bus,简单来说,就是可以将该node下所有的child nodes都作为platform device注册进kernel。

默认情况下,of_platform_populate是不会将node中的child nodes注册的。 

用法很简单,在node的compatible中添加"simple-bus"就OK了。该node的child nodes就会被注册。 

相关文章:

  • 2021-06-21
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
猜你喜欢
  • 2022-12-23
  • 2021-10-18
  • 2022-12-23
  • 2021-11-04
  • 2022-12-23
  • 2022-02-18
相关资源
相似解决方案