From: Jean Delvare <khali-PUYAD+kWke1g9hUCZPvPmw@public.gmane.org>
To: David Miller <davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
Cc: i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
Subject: Re: [PATCH 4/6]: i2c-pcf: Add a way for bus driver to ask for no smbus quick mode support.
Date: Wed, 15 Oct 2008 14:33:21 +0200 [thread overview]
Message-ID: <20081015143321.7df02b35@hyperion.delvare> (raw)
In-Reply-To: <20080821.024327.144744678.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
Hi David,
On Thu, 21 Aug 2008 02:43:27 -0700 (PDT), David Miller wrote:
>
> i2c-pcf: Add a way for bus driver to ask for no smbus quick mode support.
>
> Some PCF bus implementations have precise knowledge of the i2c
> devices sitting on the bus, using things such as firmware device
> trees, and do not want any of the auto I2C device probing to
> occur.
Nack. For one thing, the SMBus quick command is not an equivalent for
device probing. Probing can be done with virtually any I2C transaction,
and SMBus quick command can be used as a regular transaction (even
though I am not aware of any Linux device driver using this at the
moment.)
For another, with the introduction of I2C classes several years ago,
I2C device drivers should no longer probe random I2C adapters. They
should only probe adapters which share a class bit with them, meaning
that an adapter with no class bits set should never be probed. With the
advent of so-called new-style i2c drivers (which follow the standard
device driver binding model) this is even being enforced. So, if you
find that a given I2C device driver is probing your adapter when it
isn't supposed to, get that driver fixed, or even better, turn it into
a new-style I2C driver, and your problem is solved.
--
Jean Delvare
_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c
next prev parent reply other threads:[~2008-10-15 12:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-21 9:43 [PATCH 4/6]: i2c-pcf: Add a way for bus driver to ask for no smbus quick mode support David Miller
[not found] ` <20080821.024327.144744678.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2008-10-15 12:33 ` Jean Delvare [this message]
[not found] ` <20081015143321.7df02b35-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-10-15 21:34 ` David Miller
[not found] ` <20081015.143452.114860633.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2008-10-15 22:57 ` David Miller
2008-10-16 10:13 ` Jean Delvare
[not found] ` <20081016121315.2adb5de1-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-10-16 10:46 ` Wolfram Sang
[not found] ` <20081016104623.GB3432-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2008-10-16 11:35 ` Jean Delvare
2008-10-16 19:25 ` David Miller
[not found] ` <20081016.122542.30729839.davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org>
2008-10-16 19:34 ` Jean Delvare
[not found] ` <20081016213407.34d9eaa8-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-10-16 19:38 ` David Miller
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=20081015143321.7df02b35@hyperion.delvare \
--to=khali-puyad+kwke1g9huczpvpmw@public.gmane.org \
--cc=davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org \
--cc=i2c-GZX6beZjE8VD60Wz+7aTrA@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox