public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@lip6.fr>
To: Rob Herring <robh@kernel.org>
Cc: Himanshu Jha <himanshujha199640@gmail.com>, devicetree@vger.kernel.org
Subject: Re: When does of_match_device() return NULL ?
Date: Thu, 10 May 2018 15:50:48 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.20.1805101550240.2589@hadrien> (raw)
In-Reply-To: <CAL_JsqJ=CZOgJi048rbeJagynGpd=eM+Yu8-ntyihrYwTWEX0Q@mail.gmail.com>

> > Is there any way that one can
> > infer from the presence or absence of either kind of declaration that
> > there is only one way to cause the probe function to be invoked?
>
> I think the short answer is no.
>
> DT requires an of_match_table. ACPI requires an acpi_match_table
> (IIRC). PCI/USB use VID/PID. Then you have old style platform device
> and driver .name matching. And then there's manually binding.

Thanks for all of the clarifications!

julia

      reply	other threads:[~2018-05-10 13:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-09 14:41 When does of_match_device() return NULL ? Himanshu Jha
2018-05-09 21:27 ` Rob Herring
2018-05-10  5:42   ` Julia Lawall
2018-05-10 13:30     ` Rob Herring
2018-05-10 13:50       ` Julia Lawall [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=alpine.DEB.2.20.1805101550240.2589@hadrien \
    --to=julia.lawall@lip6.fr \
    --cc=devicetree@vger.kernel.org \
    --cc=himanshujha199640@gmail.com \
    --cc=robh@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox