All of lore.kernel.org
 help / color / mirror / Atom feed
* device tree and config file
@ 2021-08-03 10:28 Anuz Pratap Singh Tomar
  2021-08-03 11:05 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Anuz Pratap Singh Tomar @ 2021-08-03 10:28 UTC (permalink / raw)
  To: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 279 bytes --]

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?

-- 
Thank you
Warm Regards
Anuz

[-- Attachment #1.2: Type: text/html, Size: 451 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: device tree and config file
  2021-08-03 10:28 device tree and config file Anuz Pratap Singh Tomar
@ 2021-08-03 11:05 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2021-08-03 11:05 UTC (permalink / raw)
  To: Anuz Pratap Singh Tomar; +Cc: kernelnewbies

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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-03 11:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-03 10:28 device tree and config file Anuz Pratap Singh Tomar
2021-08-03 11:05 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.