Difference between dts and ACPI

后端 未结 3 541
醉梦人生
醉梦人生 2021-02-08 00:14

We can declare platform device information in dts file, rather than hard coding every data into operating system. Taking \"arm\" architecture as example. it supports dts an

3条回答
  •  深忆病人
    2021-02-08 00:52

    IMHO

    ACPI and DT are used for similar purposes, but they have their unique functionalities. Nowadays the effort of defining ACPI configs in DT.

    ACPI and DT are used to solve different issues:

    1. ACPI's purpose was to improve power efficiency.
    2. DT's purpose was to remove platform files outside the kernel.

    Device tree is mostly passed to the linux kernel before it boots up. ACPI is usually loaded while linux kernel is booting (check Documentation/acpi/enumeration.txt for more info)

    for any other thing just comment.

提交回复
热议问题