]>
git.sur5r.net Git - groeck-nct6775/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Guenter Roeck [Tue, 11 Dec 2012 20:59:14 +0000 (12:59 -0800)]
Spelling fix in README
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Tue, 11 Dec 2012 20:56:55 +0000 (12:56 -0800)]
Latest code; sync with proposed kernel version
Many attribute changes.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Mon, 6 Aug 2012 17:23:35 +0000 (10:23 -0700)]
Add backward compatibility to nct6775.c
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Mon, 6 Aug 2012 17:22:31 +0000 (10:22 -0700)]
Add backward compatibility support
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Wed, 25 Jul 2012 19:06:23 +0000 (12:06 -0700)]
Cleanup
Sort register definitions by chip type. Improve parameter alignment.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Tue, 24 Jul 2012 03:57:16 +0000 (20:57 -0700)]
hwmon: (nct6775) Fix temp array overflow
With the addition of tempX_crit, there are four sets of temperature values
in the temp[][] array, but it was declared with a size of three. Fix it.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Tue, 3 Jul 2012 14:31:00 +0000 (07:31 -0700)]
Update README
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sun, 1 Jul 2012 15:23:59 +0000 (08:23 -0700)]
REG_PWM_TEMP is not used, drop it.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sat, 30 Jun 2012 17:33:20 +0000 (10:33 -0700)]
cosmetic: Formatting change
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Thu, 21 Jun 2012 13:57:44 +0000 (06:57 -0700)]
Add missing break statement
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Thu, 14 Jun 2012 16:42:39 +0000 (09:42 -0700)]
Improve error return from clear_caseopen
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Mon, 11 Jun 2012 21:01:18 +0000 (14:01 -0700)]
implement pwmX_step_enable
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sat, 9 Jun 2012 15:45:07 +0000 (08:45 -0700)]
Implement superio access locking
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Wed, 30 May 2012 15:56:06 +0000 (08:56 -0700)]
Replace __initdata with __initconst
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Thu, 10 May 2012 13:24:25 +0000 (06:24 -0700)]
Clean up probe function: Use devm_request_region
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Thu, 3 May 2012 03:35:37 +0000 (20:35 -0700)]
Fix various registers for NCT6779
Also always display all VINx and AUXTINx channels, since we can not be sure
what is really enabled/used.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sat, 28 Apr 2012 16:20:30 +0000 (09:20 -0700)]
Remove temp11..temp15, and modify pwm temp source selection
It does not provide real value as temperatures are already reported.
Select pwm* temperature source index values based on tempX attributes
instead of chip values to make the pwm temperature source selection
more generic.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sat, 28 Apr 2012 14:38:51 +0000 (07:38 -0700)]
Add support for critical temperature on PECI sources
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sat, 28 Apr 2012 05:05:02 +0000 (22:05 -0700)]
Alternate temp registers only needed locally
thus remove persistent pointer and use a local variable instead
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sat, 28 Apr 2012 02:23:37 +0000 (19:23 -0700)]
Some minor fan related cleanup
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sat, 28 Apr 2012 02:02:51 +0000 (19:02 -0700)]
Revert "All NCT677X chips support RPM registers, so read the RPM directly"
This reverts commit
d82b291af288a77835721c2792bbf1478cd25a58 .
Sounded like a good idea, but NCT6776 returns an RPM > 0 even
if no fan is connected.
Guenter Roeck [Sat, 28 Apr 2012 01:49:15 +0000 (18:49 -0700)]
All NCT677X chips support RPM registers, so read the RPM directly
This is simpler than reading the fan count register and calculating RPM from it.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Fri, 27 Apr 2012 20:45:31 +0000 (13:45 -0700)]
nct6779: Fix vinX_min and vinX_max for in9..in14.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Fri, 27 Apr 2012 13:57:07 +0000 (06:57 -0700)]
Fix number of temp registers for NCT6779
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Fri, 27 Apr 2012 02:07:25 +0000 (19:07 -0700)]
Temperature source selection fixes
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Fri, 27 Apr 2012 01:42:37 +0000 (18:42 -0700)]
NCT6779 supports fan3min and fan4min.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Fri, 27 Apr 2012 01:36:30 +0000 (18:36 -0700)]
Fix fan count registers for NCT6779
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Thu, 26 Apr 2012 14:04:21 +0000 (07:04 -0700)]
Update debug message for invalid source register
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Thu, 26 Apr 2012 12:10:33 +0000 (05:10 -0700)]
Check for invalid temperature source
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Thu, 26 Apr 2012 04:51:01 +0000 (21:51 -0700)]
Minor cosmetic cleanup
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Thu, 26 Apr 2012 03:12:34 +0000 (20:12 -0700)]
Auso-generate have_in bit mask
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Thu, 26 Apr 2012 03:04:08 +0000 (20:04 -0700)]
Fix size of NCT6775_REG_TEMP_ALTERNATE array
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Thu, 26 Apr 2012 02:57:57 +0000 (19:57 -0700)]
Fix checkpatch warnings
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Thu, 26 Apr 2012 02:54:45 +0000 (19:54 -0700)]
Fix temp10_max_hyst
temp9_max_hyst was defined twice, and temp10_max_hyst was missing
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Wed, 25 Apr 2012 04:16:32 +0000 (21:16 -0700)]
Update some NCT6779 registers
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sun, 18 Mar 2012 17:19:25 +0000 (10:19 -0700)]
Reset caseopen clear bit after setting it
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sun, 18 Mar 2012 16:23:17 +0000 (09:23 -0700)]
Convert status (alarm) register accesses to indexed mode
This enables support for different status register (alarm) bit maps.
Also convert caseopen status access to use real-time status register bits
instead of interrupt bits.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sun, 18 Mar 2012 00:22:32 +0000 (17:22 -0700)]
Add NCT6776F usage note
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sat, 17 Mar 2012 20:28:04 +0000 (13:28 -0700)]
Define TESTING flag, remove debug output
Only support alternate temperature registers if TESTING is enabled.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sat, 17 Mar 2012 20:20:28 +0000 (13:20 -0700)]
Add support for more temperatures
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sat, 17 Mar 2012 17:46:30 +0000 (10:46 -0700)]
Fix maximum temperature source index
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sat, 17 Mar 2012 15:37:34 +0000 (08:37 -0700)]
Update README
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sat, 17 Mar 2012 14:30:38 +0000 (07:30 -0700)]
Find additonal temp registers and enable monitoring if possible
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Fri, 16 Mar 2012 03:04:44 +0000 (20:04 -0700)]
Add support for max_output and step_output, and re-enable SmartFan III support on NCT6775
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Thu, 15 Mar 2012 22:17:21 +0000 (15:17 -0700)]
Add support for pwmX_stop_output_enable
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Thu, 15 Mar 2012 18:29:40 +0000 (11:29 -0700)]
Add support for fixed temperature registers supported by NCT6779D
NCT6779D supports a fixed set of temperature registers in addition to the
registers with dymanically configured source. Add support for it.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Thu, 15 Mar 2012 18:10:30 +0000 (11:10 -0700)]
Refactor code to allow up to 6 fixed temperature sources
Support SYSTIN, CPUTIN, AUXTIN0..3 (for NCT6779D)
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Thu, 15 Mar 2012 16:33:57 +0000 (09:33 -0700)]
Distinguish thermal temp diode / diode (types 1, 3)
Make diode type configurable.
Assign first three sensors to fixed types (SYSTIN, CPUTIN, AUXTIN).
Dynamic types start from index 4.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Thu, 15 Mar 2012 10:02:39 +0000 (03:02 -0700)]
Coding style cleanup
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Thu, 15 Mar 2012 04:40:05 +0000 (21:40 -0700)]
Convert REG_CONFIG to pointer
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Thu, 15 Mar 2012 04:25:59 +0000 (21:25 -0700)]
Convert REG_VBAT to pointer
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Wed, 14 Mar 2012 17:22:22 +0000 (10:22 -0700)]
Weight register support
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Wed, 14 Mar 2012 02:55:06 +0000 (19:55 -0700)]
lots of weight related and other changes
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Tue, 13 Mar 2012 21:26:46 +0000 (14:26 -0700)]
Add support for temp offset register, and secondary pwm temp source register
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Tue, 13 Mar 2012 11:10:18 +0000 (04:10 -0700)]
Add support for temperature offset register / attributes
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Mon, 12 Mar 2012 16:52:06 +0000 (09:52 -0700)]
Prepare for NCT6102/6106
Convert direct register accesses to chip type indexed accesses
Convert macro generated functions to real functions
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Mon, 12 Mar 2012 18:35:09 +0000 (11:35 -0700)]
Driver should not rely or depend on setting platform_drvdata to NULL
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Mon, 12 Mar 2012 06:27:25 +0000 (23:27 -0700)]
fix some array sizes
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Mon, 12 Mar 2012 04:22:12 +0000 (21:22 -0700)]
Add attributes to set pwm temperature source
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Mon, 12 Mar 2012 01:56:25 +0000 (18:56 -0700)]
rework temperature display
temp[1..6] now always display SMIOVT[1..6] monitoring sources.
temp[7..11] displays fan control temperature sources.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Mon, 12 Mar 2012 00:19:06 +0000 (17:19 -0700)]
Drop support for SmartFan III
It only exists on NCT6775. Supporting it only makes the driver more complex
for little value.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sun, 11 Mar 2012 23:40:22 +0000 (16:40 -0700)]
Add capability to turn fan control off (set max speed)
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sun, 11 Mar 2012 23:10:00 +0000 (16:10 -0700)]
fix ABI (hysteresis -> temp_hyst)
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sun, 11 Mar 2012 23:06:22 +0000 (16:06 -0700)]
Update README to reflect that ABI is not final.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sun, 11 Mar 2012 21:47:57 +0000 (14:47 -0700)]
Add README
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sun, 11 Mar 2012 20:52:27 +0000 (13:52 -0700)]
Replace tolerance with auto_point_hysteresis attributes
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Guenter Roeck [Sun, 11 Mar 2012 20:12:28 +0000 (13:12 -0700)]
nct6775: initial version
Signed-off-by: Guenter Roeck <linux@roeck-us.net>