All of lore.kernel.org
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How to correctly load a driver without device tree?
Date: Wed, 20 Jun 2018 17:01:17 +0900	[thread overview]
Message-ID: <20180620080117.GA6735@kroah.com> (raw)
In-Reply-To: <4c3432d4.7dbf.1641be90140.Coremail.kipade@163.com>

On Wed, Jun 20, 2018 at 02:36:52PM +0800, kipade wrote:
> Now, most of kernel device are initialized by its driver according by
> what described within device tree block. Here, the dtb was parsed
> and used during kernel booting. If so, I want to load a device driver
> after kernel booting using insmod, there would be no device tree
> block present, so, the device would not be configured correctly.
> so, how to make it usable?

Why can you not build it into your kernel?

  reply	other threads:[~2018-06-20  8:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-20  6:36 How to correctly load a driver without device tree? kipade
2018-06-20  8:01 ` Greg KH [this message]
2018-06-20  8:30   ` kipade
2018-06-20  8:58     ` Gajjar Akash
2018-06-21  0:31       ` kipade
2018-06-20 12:31     ` Greg KH
2018-06-21  0:33       ` kipade

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=20180620080117.GA6735@kroah.com \
    --to=greg@kroah.com \
    --cc=kernelnewbies@lists.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.