From: Marc Dietrich <marvin24-Mmb7MZpHnFY@public.gmane.org>
To: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Cc: "linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Colin Cross <ccross-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org>,
Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
Subject: Re: [PATCH 3/5] ARM: dt: tegra: add ADT7461 temperature sensortopaz00 device tree
Date: Tue, 31 Jan 2012 19:55:38 +0100 [thread overview]
Message-ID: <4429293.NIOF4BJ2Er@ax5200p> (raw)
In-Reply-To: <74CDBE0F657A3D45AFBB94109FB122FF178E124426-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
Hi Stephen,
On Tuesday 31 January 2012 09:27:17 Stephen Warren wrote:
> Marc Dietrich wrote at Tuesday, January 31, 2012 4:49 AM:
> > Am Montag, 30. Januar 2012, 09:26:47 schrieb Stephen Warren:
> > > Marc Dietrich wrote at Saturday, January 28, 2012 12:03 PM:
> > > > Add the ADT7461 temperature monitoring IC which is connected via
> > > > the DVC controller.
> > > >
> > > > diff --git a/arch/arm/boot/dts/tegra-paz00.dts
> > > > b/arch/arm/boot/dts/tegra-paz00.dts
> > > >
> > > > + adt7461@4c {
> > > > + compatible = "adt7461";
> > >
> > > Compatible should have a vendor prefix, so "adi,adt7461".
> >
> > you are right, that's the problem when just copy-n-paste from seaboard.
> > On the other hand, I wonder why this worked at all, because lm90 does
> > not contain an of_match_table yet. Is there also some "hidden"
> > DT->platfrom_data conversion?
> I2C drivers can bind in two ways:
>
> 1) Direct use of an of_match_table.
>
> 2) Use of the i2c_device_id table. In this case, the I2C or OF core strips
> the vendor prefix (if any) from the compatible value, and checks it
> against all the entries in i2c_driver.id_table.
>
> The latter is how your patch worked.
ah, thanks for the explanation.
Marc
next prev parent reply other threads:[~2012-01-31 18:55 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-28 19:03 [PATCH 0/5] paz00 updates for 3.4 Marc Dietrich
[not found] ` <cover.1327776641.git.marvin24-Mmb7MZpHnFY@public.gmane.org>
2012-01-28 19:03 ` [PATCH 1/5] ARM: tegra: paz00: fix wrong SD1 power gpio Marc Dietrich
2012-01-28 19:03 ` [PATCH 2/5] ARM: tegra: paz00: fix wrong UART port on mini-pcie plug Marc Dietrich
2012-01-28 19:03 ` [PATCH 3/5] ARM: dt: tegra: add ADT7461 temperature sensor to paz00 device tree Marc Dietrich
[not found] ` <58e24ac63a8388bb9de6be0e75cea26a1af99195.1327776641.git.marvin24-Mmb7MZpHnFY@public.gmane.org>
2012-01-30 17:26 ` Stephen Warren
[not found] ` <74CDBE0F657A3D45AFBB94109FB122FF178E12414D-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-01-31 11:48 ` RE: [PATCH 3/5] ARM: dt: tegra: add ADT7461 temperature sensor topaz00 " Marc Dietrich
2012-01-31 17:27 ` Stephen Warren
[not found] ` <74CDBE0F657A3D45AFBB94109FB122FF178E124426-C7FfzLzN0UxDw2glCA4ptUEOCMrvLtNR@public.gmane.org>
2012-01-31 18:55 ` Marc Dietrich [this message]
2012-01-31 18:53 ` [PATCH v2 3/5] ARM: dt: tegra: add ADT7461 temperature sensor to paz00 " Marc Dietrich
2012-01-31 19:55 ` Stephen Warren
2012-02-01 8:26 ` Olof Johansson
[not found] ` <20120201082604.GL7399-O5ziIzlqnXUVNXGz7ipsyg@public.gmane.org>
2012-02-01 9:41 ` Re: [PATCH v2 3/5] ARM: dt: tegra: add ADT7461 temperature sensor topaz00 " Marc Dietrich
2012-01-28 19:03 ` [PATCH 4/5] ARM: dt: tegra: add the power gpio key to paz00 " Marc Dietrich
2012-01-28 19:03 ` [PATCH 5/5] ARM: dt: tegra: add the wifi led " Marc Dietrich
2012-01-30 17:28 ` [PATCH 0/5] paz00 updates for 3.4 Stephen Warren
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=4429293.NIOF4BJ2Er@ax5200p \
--to=marvin24-mmb7mzphnfy@public.gmane.org \
--cc=ccross-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org \
--cc=swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.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.