Skip to content

device driver v2.0 #8115

@BernardXiong

Description

@BernardXiong

计划在v5.1.0中对设备驱动部分做一个全新的调整,主要包括到几个方面:

  • 全新的设备驱动模型,设备是可以看得到、可操作的对象(例如可以使用list device可以看到,或者/dev下存在的设备对象(文件));驱动是针对系列设备的驱动程序,更多突出的是程序的概念。同时也包括,数个设备可能使用同一份驱动;
  • rt_device相关代码都从内核中分离,对应的头文件,源文件都从内核中剥离;
  • 针对A核平台,全面启用设备树,并推进IP化的驱动方式,基础类型包括:
    • pinctl - GPIO及管脚复用;
    • clk - 时钟树框架

Metadata

Metadata

Assignees

No one assigned

    Labels

    v5.1.0version 5.1.0 (planned to be released by the end of 2023)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions