device tree and config file

Greg KH greg at
Tue Aug 3 07:05:57 EDT 2021

On Tue, Aug 03, 2021 at 11:28:20AM +0100, Anuz Pratap Singh Tomar wrote:
> Hi all,
> How does device tree file pick up node entries for modules enabled by "make
> menuconfig"(or just "CONFIG_XX=y "in ,config), which are not part of
> defconfig. Or If you enable a new module you have to write new device tree
> entries manually?

device tree files and kernel build configuration files are totally
different things and control independant things.

One is a run time definition of the hardware resources for your system
for when you boot a kernel, and the other is what features and driver
selection you wish to select for when you build a kernel.

Hope this helps,

greg k-h

More information about the Kernelnewbies mailing list