From: Jean Delvare <khali@linux-fr.org>
To: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
lm-sensors@lm-sensors.org, linux-kernel@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH] hwmon: Add support for max6695 and max6696
Date: Wed, 08 Sep 2010 19:44:56 +0000 [thread overview]
Message-ID: <20100908214456.1fbb9fd7@hyperion.delvare> (raw)
In-Reply-To: <20100908183019.GA12314@ericsson.com>
On Wed, 8 Sep 2010 11:30:19 -0700, Guenter Roeck wrote:
> On Wed, Sep 08, 2010 at 11:29:02AM -0400, Jean Delvare wrote:
> > On Wed, 8 Sep 2010 06:56:54 -0700, Guenter Roeck wrote:
> > > Too bad - registers 0x16 and 0x17 exist on both 6658 and 6659. So the only way to detect 6659
> > > would be the address (0x4d or 0x4e), and we would mis-detect it on 0x4c. Is that worth it ?
> >
> > I'd say adding support for the MAX6659 is worth it. Just don't add
> > detection. That is, all of MAX6657, 6658 and 6658 should be detected as
> > max6657, which has the minimum set of features. But if someone declares
> > a "max6659" device either as part of the platform data or from
> > user-space, then the driver should expose all the chip features.
> >
> > Deal?
> >
> I'd say yes, but then we would deliberately mis-detect the 6659 on address 0x4d and 0x4e,
> which kind of hurts my consciousness.
We've been doing it for years already, and it didn't hurt mine ;)
> How about a middle ground - mis-detect it on address 0x4c, but detect it correctly
> on 0x4d and 0x4e ? Should be ok if we add a note into the file and into the documentation,
> and we would do as good as we can.
If that makes you feel better, sure, I have no objection!
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
WARNING: multiple messages have this Message-ID (diff)
From: Jean Delvare <khali@linux-fr.org>
To: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
lm-sensors@lm-sensors.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] hwmon: Add support for max6695 and max6696 to lm90 driver
Date: Wed, 8 Sep 2010 21:44:56 +0200 [thread overview]
Message-ID: <20100908214456.1fbb9fd7@hyperion.delvare> (raw)
In-Reply-To: <20100908183019.GA12314@ericsson.com>
On Wed, 8 Sep 2010 11:30:19 -0700, Guenter Roeck wrote:
> On Wed, Sep 08, 2010 at 11:29:02AM -0400, Jean Delvare wrote:
> > On Wed, 8 Sep 2010 06:56:54 -0700, Guenter Roeck wrote:
> > > Too bad - registers 0x16 and 0x17 exist on both 6658 and 6659. So the only way to detect 6659
> > > would be the address (0x4d or 0x4e), and we would mis-detect it on 0x4c. Is that worth it ?
> >
> > I'd say adding support for the MAX6659 is worth it. Just don't add
> > detection. That is, all of MAX6657, 6658 and 6658 should be detected as
> > max6657, which has the minimum set of features. But if someone declares
> > a "max6659" device either as part of the platform data or from
> > user-space, then the driver should expose all the chip features.
> >
> > Deal?
> >
> I'd say yes, but then we would deliberately mis-detect the 6659 on address 0x4d and 0x4e,
> which kind of hurts my consciousness.
We've been doing it for years already, and it didn't hurt mine ;)
> How about a middle ground - mis-detect it on address 0x4c, but detect it correctly
> on 0x4d and 0x4e ? Should be ok if we add a note into the file and into the documentation,
> and we would do as good as we can.
If that makes you feel better, sure, I have no objection!
--
Jean Delvare
next prev parent reply other threads:[~2010-09-08 19:44 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-04 22:34 [lm-sensors] [PATCH] hwmon: Add support for max6695 and max6696 to Guenter Roeck
2010-09-04 22:34 ` [PATCH] hwmon: Add support for max6695 and max6696 to lm90 driver Guenter Roeck
2010-09-06 16:12 ` [lm-sensors] [PATCH] hwmon: Add support for max6695 and max6696 Jean Delvare
2010-09-06 16:12 ` [PATCH] hwmon: Add support for max6695 and max6696 to lm90 driver Jean Delvare
2010-09-07 2:00 ` [lm-sensors] [PATCH] hwmon: Add support for max6695 and max6696 Guenter Roeck
2010-09-07 2:00 ` [PATCH] hwmon: Add support for max6695 and max6696 to lm90 driver Guenter Roeck
2010-09-07 7:43 ` [lm-sensors] [PATCH] hwmon: Add support for max6695 and max6696 Jean Delvare
2010-09-07 7:43 ` [PATCH] hwmon: Add support for max6695 and max6696 to lm90 driver Jean Delvare
2010-09-08 10:28 ` [lm-sensors] [PATCH] hwmon: Add support for max6695 and max6696 Guenter Roeck
2010-09-08 10:28 ` [PATCH] hwmon: Add support for max6695 and max6696 to lm90 driver Guenter Roeck
2010-09-08 11:48 ` [lm-sensors] [PATCH] hwmon: Add support for max6695 and max6696 Jean Delvare
2010-09-08 11:48 ` [PATCH] hwmon: Add support for max6695 and max6696 to lm90 driver Jean Delvare
2010-09-08 13:56 ` [lm-sensors] [PATCH] hwmon: Add support for max6695 and max6696 Guenter Roeck
2010-09-08 13:56 ` [PATCH] hwmon: Add support for max6695 and max6696 to lm90 driver Guenter Roeck
2010-09-08 15:29 ` [lm-sensors] [PATCH] hwmon: Add support for max6695 and max6696 Jean Delvare
2010-09-08 15:29 ` [PATCH] hwmon: Add support for max6695 and max6696 to lm90 driver Jean Delvare
2010-09-08 18:30 ` [lm-sensors] [PATCH] hwmon: Add support for max6695 and max6696 Guenter Roeck
2010-09-08 18:30 ` [PATCH] hwmon: Add support for max6695 and max6696 to lm90 driver Guenter Roeck
2010-09-08 19:44 ` Jean Delvare [this message]
2010-09-08 19:44 ` Jean Delvare
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=20100908214456.1fbb9fd7@hyperion.delvare \
--to=khali@linux-fr.org \
--cc=akpm@linux-foundation.org \
--cc=guenter.roeck@ericsson.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lm-sensors@lm-sensors.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.