From: Guenter Roeck <linux@roeck-us.net>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH v2] hwmon: (it87) Add support for IT8732F
Date: Tue, 04 Aug 2015 22:05:20 +0000 [thread overview]
Message-ID: <55C13720.4050402@roeck-us.net> (raw)
In-Reply-To: <1351960184-23005-1-git-send-email-linux@roeck-us.net>
On 08/04/2015 02:48 PM, Justin Maggard wrote:
> Add support for the IT8732F. This chip is pretty similar to IT8721F,
> with the main difference being that the ADC LSB is 10.9 mV instead of
> 12 mV.
>
> Signed-off-by: Justin Maggard <jmaggard@netgear.com>
Hi Justin,
> ---
> Documentation/hwmon/it87 | 35 ++++++++++++++++++++++-------------
> drivers/hwmon/it87.c | 43 ++++++++++++++++++++++++++++++++++++-------
I forgot earlier: Please also list the chip in drivers/hwmon/Kconfig.
[ ... ]
> static const struct it87_devices it87_devices[] = {
> [it87] = {
> @@ -315,6 +319,15 @@ static const struct it87_devices it87_devices[] = {
> | FEAT_IN7_INTERNAL,
> .peci_mask = 0x07,
> },
> + [it8732] = {
> + .name = "it8732",
> + .suffix = "F",
> + .features = FEAT_NEWER_AUTOPWM | FEAT_16BIT_FANS
> + | FEAT_TEMP_OFFSET | FEAT_TEMP_OLD_PECI | FEAT_TEMP_PECI
> + | FEAT_10_9MV_ADC | FEAT_IN7_INTERNAL,
> + .peci_mask = 0x07,
> + .old_peci_mask = 0x02, /* Actually reports PCH */
From the little information we have, I suspect that this may be wrong.
The chip is probably closer to 8771/8772. Please check if the code path
executed if has_temp_old_peci() is true is executed correctly,
and that the registers used in that code path report what is expected.
Most likely FEAT_TEMP_OLD_PECI and old_peci_mask should not be set.
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2015-08-04 22:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-03 16:29 [lm-sensors] [PATCH v2] hwmon: (it87) Add support for AMDTSI, and restrict sensor type configuration Guenter Roeck
2012-11-03 20:11 ` [lm-sensors] [PATCH v2] hwmon: (it87) Add support for AMDTSI, and restrict sensor type configura Jean Delvare
2012-11-03 21:46 ` Guenter Roeck
2012-11-03 21:55 ` [lm-sensors] [PATCH v2] hwmon: (it87) Add support for AMDTSI, and restrict sensor type configur Jean Delvare
2015-08-04 21:48 ` [lm-sensors] [PATCH v2] hwmon: (it87) Add support for IT8732F Justin Maggard
2015-08-04 22:05 ` Guenter Roeck [this message]
2015-08-05 19:18 ` Justin Maggard
2015-08-05 19:38 ` Guenter Roeck
2015-08-05 19:52 ` Justin Maggard
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=55C13720.4050402@roeck-us.net \
--to=linux@roeck-us.net \
--cc=lm-sensors@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 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.