All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Anuz Pratap Singh Tomar <chambilkethakur@gmail.com>
Cc: kernelnewbies <kernelnewbies@kernelnewbies.org>
Subject: Re: device tree and config file
Date: Tue, 3 Aug 2021 13:05:57 +0200	[thread overview]
Message-ID: <YQkjFbC0KVJzH8Iy@kroah.com> (raw)
In-Reply-To: <CAJnfX5tiKXh-Zrj40Lu=urd337YVUU8wrbQvosD5M0Yv-8aQzw@mail.gmail.com>

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

      reply	other threads:[~2021-08-03 11:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-03 10:28 device tree and config file Anuz Pratap Singh Tomar
2021-08-03 11:05 ` Greg KH [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YQkjFbC0KVJzH8Iy@kroah.com \
    --to=greg@kroah.com \
    --cc=chambilkethakur@gmail.com \
    --cc=kernelnewbies@kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.