linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH v3 2/7] adv7180: add of match table
Date: Fri, 09 May 2014 22:57:12 +0000	[thread overview]
Message-ID: <536D5D48.5010801@cogentembedded.com> (raw)
In-Reply-To: <1397471802-27216-3-git-send-email-ben.dooks@codethink.co.uk>

Hello.

On 05/09/2014 11:01 AM, Geert Uytterhoeven wrote:

>>>> Add a proper of match id for use when the device is being bound via
>>>> device tree, to avoid having to use the i2c old-style binding of the

> "to avoid having to use the i2c old-style binding"

    Ah, I'd probably missed these words.

>>>> device.

>>>> Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>

>>>      From looking at of_i2c_register_devices() in drivers/i2c/i2c-core.c, I
>>> got
>>> an impression we don't need this patch. This function builds the I2C
>>> device
>>> name by calling of_modalias_node() which just strips the vendor prefix (if
>>> any) from the "compatible" prop.

>>     Yeah, I was able to get the ADV7180 device from DT probed without this
>> patch. So, no, we don't need the patch.

> So it works without, but it's better to use the full name.

    OK, I'll see how it binds to the driver with this patch applied...

> Gr{oetje,eeting}s,
>                          Geert

WBR, Sergei


  parent reply	other threads:[~2014-05-09 22:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-14 10:36 [PATCH v3 2/7] adv7180: add of match table Ben Dooks
2014-04-15 11:24 ` Sergei Shtylyov
2014-05-08 23:23 ` Sergei Shtylyov
2014-05-08 23:47 ` Sergei Shtylyov
2014-05-09  7:01 ` Geert Uytterhoeven
2014-05-09 22:57 ` Sergei Shtylyov [this message]
2014-06-05 23:03 ` Sergei Shtylyov

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=536D5D48.5010801@cogentembedded.com \
    --to=sergei.shtylyov@cogentembedded.com \
    --cc=linux-sh@vger.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;
as well as URLs for NNTP newsgroup(s).