]> git.sur5r.net Git - groeck-it87/log
groeck-it87
7 years agoMark 2nd Super-IO chip on AB350M-D3H as broken
Guenter Roeck [Tue, 16 May 2017 04:15:55 +0000 (21:15 -0700)]
Mark 2nd Super-IO chip on AB350M-D3H as broken

Configuration register access of the second Super-IO chip on AB350M-D3H
is just as broken as the others and can result in the known system hang-up.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoMerge pull request #27 from jmaggard10/master
Guenter Roeck [Thu, 11 May 2017 20:57:52 +0000 (13:57 -0700)]
Merge pull request #27 from jmaggard10/master

Fix up support for IT8625E

7 years agoFix up support for IT8625E 27/head
Justin Maggard [Thu, 11 May 2017 20:25:20 +0000 (13:25 -0700)]
Fix up support for IT8625E

Add missing scaling feature and fix broken temp type detection on temp
1-3 sensors.

7 years agoAdd support for IT8625E
Justin Maggard [Tue, 2 May 2017 18:59:26 +0000 (11:59 -0700)]
Add support for IT8625E

This is mostly identical to IT8665E, with the exception of the
configuration bits for fans 4 and 5.

Signed-off-by: Justin Maggard <jmaggard@netgear.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoFix whitespace issues
Guenter Roeck [Thu, 27 Apr 2017 04:48:56 +0000 (21:48 -0700)]
Fix whitespace issues

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoInitialize register pointers before using them
Guenter Roeck [Wed, 26 Apr 2017 21:28:27 +0000 (14:28 -0700)]
Initialize register pointers before using them

Register pointers have to be initialized before they can be used in
it87_check_pwm().

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoAdd Gigabyte AX370-Gaming 5 to IT8792E blacklist
koji54 [Sun, 23 Apr 2017 07:32:30 +0000 (09:32 +0200)]
Add Gigabyte AX370-Gaming 5 to IT8792E blacklist

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoIntroduce FEAT_NEW_TEMPMAP
Guenter Roeck [Wed, 19 Apr 2017 04:57:08 +0000 (21:57 -0700)]
Introduce FEAT_NEW_TEMPMAP

Several recent chips have a different register definition for
temperature to pwm assignment. Introduce FEAT_NEW_TEMPMAP to reflect
this and assign to affected chips.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoFix up support for IT8613E
Guenter Roeck [Wed, 19 Apr 2017 03:40:05 +0000 (20:40 -0700)]
Fix up support for IT8613E

Feature detection and pwm temperature mapping differs from other chips.
Also disable pwm1, fan1, vin3, and vin6.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoAdd support for IT8613E
andreychernyshev [Sat, 15 Apr 2017 12:07:44 +0000 (15:07 +0300)]
Add support for IT8613E

[groeck: Fix README]

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoBlacklist IT8792E on AX370-Gaming K7
Guenter Roeck [Tue, 18 Apr 2017 21:49:22 +0000 (14:49 -0700)]
Blacklist IT8792E on AX370-Gaming K7

Accessing it may result in a system hang.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoDisable access to 2nd Super-IO chip
Guenter Roeck [Tue, 18 Apr 2017 17:00:31 +0000 (10:00 -0700)]
Disable access to 2nd Super-IO chip

It is known to be broken.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoFEAT_TEMP_PECI does not apply to multi-bank chips.
Guenter Roeck [Thu, 13 Apr 2017 14:05:13 +0000 (07:05 -0700)]
FEAT_TEMP_PECI does not apply to multi-bank chips.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoAdd support for 11mV ADC
Guenter Roeck [Thu, 13 Apr 2017 13:02:32 +0000 (06:02 -0700)]
Add support for 11mV ADC

The ADC LSB on some newer chips such as IT8613E and IT8625E is
officially 11mV, not 10.9mV. Add support for it.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoFix up temp offset register addresses
Guenter Roeck [Wed, 12 Apr 2017 13:32:49 +0000 (06:32 -0700)]
Fix up temp offset register addresses

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoVarious improvements
Guenter Roeck [Wed, 12 Apr 2017 13:15:24 +0000 (06:15 -0700)]
Various improvements

- Acquire acpi mutex (not supported in upstream kernel)
- Try to handle 0x4e access failures on Gigabyte boards
- Improve temperature register / limit / type support for recent chips

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoAdd limit support for temp 4-6
Guenter Roeck [Tue, 11 Apr 2017 13:47:37 +0000 (06:47 -0700)]
Add limit support for temp 4-6

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoRegister map as CSV
Guenter Roeck [Tue, 11 Apr 2017 12:31:28 +0000 (05:31 -0700)]
Register map as CSV

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoAdd register map
Guenter Roeck [Tue, 11 Apr 2017 12:27:59 +0000 (05:27 -0700)]
Add register map

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoAdd feature flag FEAT_FANCTL_ONOFF
Guenter Roeck [Tue, 28 Mar 2017 13:26:19 +0000 (06:26 -0700)]
Add feature flag FEAT_FANCTL_ONOFF

Several recent chips don't support configuration bits to turn fan control
off entirely for the first three fans. Handle all of them with a
configuration flag.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoImprove AVCC3 support
Guenter Roeck [Sat, 25 Mar 2017 14:05:41 +0000 (07:05 -0700)]
Improve AVCC3 support

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoPreliminary support for IT8655E
Guenter Roeck [Wed, 22 Mar 2017 07:54:35 +0000 (00:54 -0700)]
Preliminary support for IT8655E

Assume it is similar to IT8665E with three instead of six fans.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoUpdate TODO and README files
Guenter Roeck [Sat, 11 Mar 2017 16:53:53 +0000 (08:53 -0800)]
Update TODO and README files

Add sections about preliminary support and what to report for unsupported
chips to README.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoAdd support for chip specific register sets
Guenter Roeck [Sun, 19 Mar 2017 07:57:24 +0000 (00:57 -0700)]
Add support for chip specific register sets

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoAdded preliminary support for IT8665E
Drew [Fri, 17 Mar 2017 02:31:54 +0000 (22:31 -0400)]
Added preliminary support for IT8665E

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoSeparate internal scaling from 12mV ADC
Guenter Roeck [Tue, 21 Mar 2017 00:43:03 +0000 (17:43 -0700)]
Separate internal scaling from 12mV ADC

Some chips have internal voltage scaling but 10.9mV ADC,
so we can no longer associate the 12mV ADC with internal scaling
but need a different flag to distinguish scaling support.

Also fix ADC resolution for IT8790E and IT8792E.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoAdd multi-bank and initial IT8686E support
Guenter Roeck [Thu, 16 Mar 2017 17:38:45 +0000 (10:38 -0700)]
Add multi-bank and initial IT8686E support

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoForce chip ID only if a chip has been found
Guenter Roeck [Tue, 14 Mar 2017 16:33:52 +0000 (09:33 -0700)]
Force chip ID only if a chip has been found

If the reported chip ID is 0xffff, there is no chip, and forcing the chip
type does not add value.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoUpdate TODO: 4th fan control for IT8732E is now supported
Guenter Roeck [Sat, 11 Mar 2017 16:40:01 +0000 (08:40 -0800)]
Update TODO: 4th fan control for IT8732E is now supported

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoAdd 4th fan control and measurement for IT8732E
Guenter Roeck [Sat, 11 Mar 2017 16:39:40 +0000 (08:39 -0800)]
Add 4th fan control and measurement for IT8732E

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoFix feature mask for IT8792E (IT8733E)
Guenter Roeck [Fri, 10 Mar 2017 17:06:17 +0000 (09:06 -0800)]
Fix feature mask for IT8792E (IT8733E)

The chip features match those of IT8790E. Most important is the
ADC resolution, which is 12 mV, not 10.9 mV.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoDo not overwrite bit 2..6 of pwm control registers
Guenter Roeck [Wed, 8 Feb 2017 17:10:11 +0000 (09:10 -0800)]
Do not overwrite bit 2..6 of pwm control registers

In IT8620E, after setting pwm control to manual, it was observed that
pwm values for fan 4..6 have reversed results (writing 0 results in fans
running at full speed, writing 255 results in fans turned off).

With the new PWM control, pwm polarity for pwm control 4..6 is specified
in its pwm control registers. Those registers are overwritten when setting
the pwm mode or the temperature mapping. Do not touch bit 2..6 of pwm
control registers on register writes to fix the problem.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoFix fan4_ctl detection for IT8620, IT8628
Guenter Roeck [Wed, 8 Feb 2017 14:29:43 +0000 (06:29 -0800)]
Fix fan4_ctl detection for IT8620, IT8628

fan4 control is enabled if bit 2 of GPIO control register 4 is disabled,
not when it is enabled. Since the check is for the skip condition, it is
reversed. This applies to both IT8620 and IT8628.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoAdd TODO file
Guenter Roeck [Thu, 29 Dec 2016 04:48:36 +0000 (20:48 -0800)]
Add TODO file

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoExperimental support for IT8607E
Guenter Roeck [Thu, 29 Dec 2016 04:45:31 +0000 (20:45 -0800)]
Experimental support for IT8607E

Assume for now that in5 and in6 are supported, and that fan control
is standard (unlike IT8603E).

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
7 years agoAdd preliminary support for IT8792E
Guenter Roeck [Thu, 29 Dec 2016 02:25:06 +0000 (18:25 -0800)]
Add preliminary support for IT8792E

The chip is similar to IT8732E, but supports only three fans
instead of four (the driver currently does not support the 4th
fan on IT8732E).

Note that the chip ID is 0x8733, not 0x8792 as one would expect.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
8 years agoEnsure that pwm control cache is current before updating values
Guenter Roeck [Tue, 27 Sep 2016 00:35:56 +0000 (17:35 -0700)]
Ensure that pwm control cache is current before updating values

If sensor attributes were never read, the pwm control data has not been
initiialized, which can cause wrong driver behavior. Ensure that cached
data is current before acting on it.

Reported-by: Kevin Folz <kfolz@evertz.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
8 years agoImprove IT8622 support
Guenter Roeck [Thu, 22 Sep 2016 20:51:20 +0000 (13:51 -0700)]
Improve IT8622 support

Configuration registers on ITE8622 are different to 8620 and 8628 and
require special handling. Also, the chip supports up to 5 pwm controls.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
8 years agoAdd support for IT8622E
Guenter Roeck [Wed, 21 Sep 2016 15:00:46 +0000 (08:00 -0700)]
Add support for IT8622E

Originally-from: Kevin Folz <kfolz@evertz.com>.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
8 years agoUpdate README to match upstream documentation
Guenter Roeck [Wed, 21 Sep 2016 14:55:34 +0000 (07:55 -0700)]
Update README to match upstream documentation

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
8 years agoAdd feature flag indicating that VIN3 is connected to 5V
Guenter Roeck [Wed, 21 Sep 2016 13:35:37 +0000 (06:35 -0700)]
Add feature flag indicating that VIN3 is connected to 5V

On IT8622E and IT8628E, VIN3 is expected to be connected to +5V.
Add feature flag and reflect in input label.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
8 years agoSynchronize with upstream version
Guenter Roeck [Wed, 21 Sep 2016 13:19:44 +0000 (06:19 -0700)]
Synchronize with upstream version

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
8 years agoAdd support for IT8628E and IT8732F
Guenter Roeck [Wed, 27 Jan 2016 01:41:35 +0000 (17:41 -0800)]
Add support for IT8628E and IT8732F

Also synchronize with upstream version

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
9 years agoSupport for newer autopwm, plus other changes and cleanup
Guenter Roeck [Fri, 10 Apr 2015 03:32:40 +0000 (20:32 -0700)]
Support for newer autopwm, plus other changes and cleanup

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
9 years agoVarious enhancements, cleanup, and fixes
Guenter Roeck [Sun, 5 Apr 2015 13:23:26 +0000 (06:23 -0700)]
Various enhancements, cleanup, and fixes

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
9 years agoRearrange code to avoid forward declarations
Guenter Roeck [Mon, 30 Mar 2015 06:26:37 +0000 (23:26 -0700)]
Rearrange code to avoid forward declarations

9 years agoFix superio enable sequence for SIO address 0x4e
Guenter Roeck [Sun, 29 Mar 2015 23:33:17 +0000 (16:33 -0700)]
Fix superio enable sequence for SIO address 0x4e

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
9 years agoAdd support for two Super-IO chips
Guenter Roeck [Sat, 28 Mar 2015 15:30:47 +0000 (08:30 -0700)]
Add support for two Super-IO chips

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
9 years agoVarious enhancements
Guenter Roeck [Fri, 27 Mar 2015 03:09:38 +0000 (20:09 -0700)]
Various enhancements

Add support for 6 pwm channels on IT8620E
Fix pwm frequency value for newer chips
Add second pwm frequency control for newer chips

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
9 years agoSome cleanup, plus AVCC3 support for ITE8620E
Guenter Roeck [Thu, 26 Mar 2015 16:35:45 +0000 (09:35 -0700)]
Some cleanup, plus AVCC3 support for ITE8620E

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
9 years agoExperimental support for ITE8790E
Guenter Roeck [Thu, 26 Mar 2015 06:30:53 +0000 (23:30 -0700)]
Experimental support for ITE8790E

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
9 years agoFormatting cleanup
Guenter Roeck [Fri, 13 Feb 2015 20:09:46 +0000 (12:09 -0800)]
Formatting cleanup

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
9 years agosync README with upstream version
Guenter Roeck [Fri, 13 Feb 2015 19:38:14 +0000 (11:38 -0800)]
sync README with upstream version

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
9 years agoMerge pull request #3 from Zlika/master
Guenter Roeck [Fri, 13 Feb 2015 19:21:00 +0000 (11:21 -0800)]
Merge pull request #3 from Zlika/master

Add support for IT8786E

9 years agoAdd support for IT8786E. 3/head
Zlika [Fri, 13 Feb 2015 12:19:06 +0000 (13:19 +0100)]
Add support for IT8786E.

9 years agoAdd feature flag for VID support
Guenter Roeck [Thu, 12 Feb 2015 18:44:26 +0000 (10:44 -0800)]
Add feature flag for VID support

Newer chips don't typically support VID inputs or control.
Add a feature flag for VID support to simplify adding support
for new chips.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
9 years agoAdd feature flags for fan count and 16-bit fan configuration
Guenter Roeck [Thu, 12 Feb 2015 18:40:55 +0000 (10:40 -0800)]
Add feature flags for fan count and 16-bit fan configuration

Fans 4-5 are not supported on all chips and revisions. Also, 16-bit fan
counters only need to be enabled on older chips. Provide feature flags
to simplify adding support for new chips.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
9 years agoAdd support for IT8781F
Guenter Roeck [Thu, 12 Feb 2015 18:40:02 +0000 (10:40 -0800)]
Add support for IT8781F

IT8781F is mostly compatible to IT8782F. Major difference is that it only
supports four instead of six UART channels, and therefore does not share
the uart6 pins.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
9 years agoSynchronize with upstream version
Guenter Roeck [Sat, 17 Jan 2015 18:00:02 +0000 (10:00 -0800)]
Synchronize with upstream version

Also ensure the driver still builds with the latest upstream kernel.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agosync w/ upstream, plus preliminary PECI support
Guenter Roeck [Tue, 30 Oct 2012 21:50:41 +0000 (14:50 -0700)]
sync w/ upstream, plus preliminary PECI support

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agofix offset register access
Guenter [Sun, 28 Oct 2012 00:00:10 +0000 (17:00 -0700)]
fix offset register access

Signed-off-by: Guenter <groeck@groeck-desktop.(none)>
12 years agoAdd temperature offset register support, and lots of cleanup (experimental)
Guenter Roeck [Wed, 24 Oct 2012 19:51:35 +0000 (12:51 -0700)]
Add temperature offset register support, and lots of cleanup (experimental)

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agosync with upstream version
Guenter Roeck [Wed, 24 Oct 2012 19:50:27 +0000 (12:50 -0700)]
sync with upstream version

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agoDrop unsupported chips from README file
Guenter Roeck [Wed, 30 May 2012 15:24:25 +0000 (08:24 -0700)]
Drop unsupported chips from README file

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agosync with Jean's generic version. Drop support for unknown/untested chips
Guenter Roeck [Mon, 21 May 2012 04:12:31 +0000 (21:12 -0700)]
sync with Jean's generic version. Drop support for unknown/untested chips

... as too risky. Manual chip type override accomplishes the same.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agoMerge with latest upstream version
Guenter Roeck [Tue, 27 Mar 2012 15:32:41 +0000 (08:32 -0700)]
Merge with latest upstream version

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agoAdd compat.h for backwards compatibility
Guenter Roeck [Tue, 27 Mar 2012 15:30:15 +0000 (08:30 -0700)]
Add compat.h for backwards compatibility

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agoit87: VIN7 does not depend on bit 2 of reg2C
Guenter Roeck [Thu, 8 Mar 2012 02:29:19 +0000 (18:29 -0800)]
it87: VIN7 does not depend on bit 2 of reg2C

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agoit87: Do not attempt to re-route VIN7
Guenter Roeck [Wed, 7 Mar 2012 02:23:20 +0000 (18:23 -0800)]
it87: Do not attempt to re-route VIN7

Re-routing VIN7 does not work as expected, so better leave it alone.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agoit87: IT8781F and IT8782F support monitoring 5 fans
Guenter Roeck [Sat, 3 Mar 2012 20:05:01 +0000 (12:05 -0800)]
it87: IT8781F and IT8782F support monitoring 5 fans

... according to the summary datasheets available at the ITE web site.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agoit87: Add experimental support for IT8781F and IT8782F
Guenter Roeck [Sat, 3 Mar 2012 17:36:01 +0000 (09:36 -0800)]
it87: Add experimental support for IT8781F and IT8782F

Assume that IT8781F and IT8782F are compatible with IT8783E/F.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agoit87: IT8783E/F only support three fans
Guenter Roeck [Sat, 3 Mar 2012 17:07:39 +0000 (09:07 -0800)]
it87: IT8783E/F only support three fans

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agoit87: Add experimental support for IT8771E, IT8772E
Guenter Roeck [Sat, 3 Mar 2012 16:55:22 +0000 (08:55 -0800)]
it87: Add experimental support for IT8771E, IT8772E

Open Hardware Monitor considers IT8771E, IT8772E to be compatible with IT8721F.
Let's see if that is correct. Use at your own risk.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agoit87: Remove artifact from initial code changes
Guenter Roeck [Sat, 3 Mar 2012 16:50:12 +0000 (08:50 -0800)]
it87: Remove artifact from initial code changes

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agoit87: Support older kernels
Guenter Roeck [Sat, 3 Mar 2012 15:43:03 +0000 (07:43 -0800)]
it87: Support older kernels

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agoit87: Add missing chip name
Guenter Roeck [Fri, 2 Mar 2012 21:01:54 +0000 (13:01 -0800)]
it87: Add missing chip name

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agoit87: Initial / experimental support for IT8783E/F
Guenter Roeck [Fri, 2 Mar 2012 20:50:56 +0000 (12:50 -0800)]
it87: Initial / experimental support for IT8783E/F

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
12 years agoit87: upstream version
Guenter Roeck [Fri, 2 Mar 2012 20:50:18 +0000 (12:50 -0800)]
it87: upstream version

Signed-off-by: Guenter Roeck <linux@roeck-us.net>