Kconfig

CONFIG_DTC

On

CONFIG_GENERIC_BUILTIN_DTB

Unknown

CONFIG_BUILTIN_DTB_ALL

Unknown

CONFIG_OF Device Tree and Open Firmware support

On

This option enables the device tree infrastructure. It is automatically selected by platforms that need it or can be enabled manually for unittests, overlays or compile-coverage.

If OF

CONFIG_OF_UNITTEST Device Tree runtime unit tests

On

This option builds in test cases for the device tree infrastructure that are executed once at boot time, and the results dumped to the console.

This option should only be enabled for a development kernel. The tests will taint the kernel with TAINT_TEST. The tests will cause ERROR and WARNING messages to print on the console. The tests will cause stack traces to print on the console. It is possible that the tests will leave the devicetree in a corrupted state.

The unittest output will be verbose. Copy the output to a file via capturing the console output or via the dmesg command. Process this file with scripts/dtc/of_unittest_expect to reduce the verbosity, test whether expected output is present, and to summarize the results.

If unsure, say N here. This option is not safe to enable.

CONFIG_OF_KUNIT_TEST Devicetree KUnit Test

  • Off
  • Module
  • Built in

This option builds KUnit unit tests for device tree infrastructure.

If unsure, say N here, but this option is safe to enable.

CONFIG_OF_ALL_DTBS Build all Device Tree Blobs

On

This option builds all possible Device Tree Blobs (DTBs) for the current architecture.

If unsure, say N here, but this option is safe to enable.

CONFIG_OF_PROMTREE

Unknown

CONFIG_OF_DYNAMIC Support for dynamic device trees

On

On some platforms, the device tree can be manipulated at runtime. While this option is selected automatically on such platforms, you can enable it manually to improve device tree unit test coverage.

CONFIG_OF_RESOLVE

On

CONFIG_OF_OVERLAY Device Tree overlays

On

Overlays are a method to dynamically modify part of the kernel's device tree with dynamically loaded data. While this option is selected automatically when needed, you can enable it manually to improve device tree unit test coverage.

CONFIG_OF_OVERLAY_KUNIT_TEST Device Tree overlay KUnit tests

  • Off
  • Module
  • Built in

This option builds KUnit unit tests for the device tree overlay code.

If unsure, say N here, but this option is safe to enable.

CONFIG_OF_NUMA

On