Skip to content

hwmon: (w83627ehf) Add support for NCT6775F and NCT6776F

Guenter Roeck lkml lm-sensors 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 posting 2/22 patches 3 repliesIn review
  2. v5 Latest11 patches 8 repliesIn review
  3. v49 of 10 patches 14 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v30 of 5 patches0 repliesSuperseded
v2 posting 1/25 patches5 repliesSuperseded
v13 of 6 patches2 repliesSuperseded

Changes in v5 from the cover letter

- Update Kconfig to reference W83667HG, NCT6775F, and NCT6776F.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11hwmon: (w83627ehf) Unify temperature register access, and use strict string conversionsdrivers/hwmon/w83627ehf.c+113 -1060 replies
2/11hwmon: (w83627ehf) Fixed most checkpatch warnings and errorsdrivers/hwmon/w83627ehf.c+85 -640 replies
3/11hwmon: (w83627ehf) Optimize multi-bank register accessdrivers/hwmon/w83627ehf.c+11 -150 replies
4/11hwmon: (w83627ehf) Improve support for W83667HG-BDocumentation/hwmon/w83627ehf drivers/hwmon/w83627ehf.c+136 -380 replies
5/11hwmon: (w83627ehf) Remove references to datasheets which no longer existDocumentation/hwmon/w83627ehf+2 -40 replies
6/11hwmon: (w83627ehf) Convert register arrays to 16 bit, and convert access to pointersdrivers/hwmon/w83627ehf.c+36 -240 replies
7/11hwmon: (w83627ehf) Permit enabling SmartFan IV mode if configured at startupdrivers/hwmon/w83627ehf.c+10 -20 replies
8/11hwmon: (w83627ehf) Add support for Nuvoton NCT6775F and NCT6776FDocumentation/hwmon/w83627ehf drivers/hwmon/w83627ehf.c+694 -1560 replies
9/11hwmon: (w83627ehf) Use 16 bit fan count registers if supporteddrivers/hwmon/w83627ehf.c+59 -270 replies
10/11hwmon: (w83627ehf) Store rpm instead of raw fan speed datadrivers/hwmon/w83627ehf.c+9 -180 replies
11/11hwmon: (w83627ehf) Update Kconfig for W83677HG-B, NCT6775F and NCT6776Fdrivers/hwmon/Kconfig+3 -20 replies

Reviews trailers per patch

None of the 11 patches has a Reviewed-by or Acked-by.

PatchIan Dobson
1/11
2/11
3/11
4/11
5/11
6/11
7/11
8/11T-b
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 00/11] hwmon: (w83627ehf) Add support for NCT6775F and NCT6776F

The following patch series adds support for NCT6775F and NCT6776F to the w83627ehf driver. It also includes some cleanup and adds support for the fourth temperature sensor on W83677HG-B.

No code changes since v4. Resubmitting and widening audience in the hope that someone may find the time to review the changes prior to the next commit window.

v5:
- Update Kconfig to reference W83667HG, NCT6775F, and NCT6776F.

v4:
- Store rpm instead of raw fan speed readings
- For NCT6775F, increase fan divisor if the fan speed reads 0 [ On NCT6775F, fan speed readings can return 0 instead of 0xff if the fan divisor value is too low ]
- Separate changes into more patches to simplify review

v3:
- Documentation: Remove references to datasheets which no longer exist
- Documentation: Add information about limits of SmartFan IV support.
- SmartFan III mode is not supported on NCT6776F, so remove related attributes and refuse to configure it.
- (additional patch) Improve support for chips with 16-bit fan count registers

v2:
- W83677HG-B does share the AUXTIN/VIN3 pin, so we can not skip this check.
- Cosmetic changes to fix a couple of checkpatch errors and to undo some unnecessary formatting changes in patch 5.
- Patch 1 introduced a bug in temp_to_reg which was fixed in a later patch. Modified code to not introduce the bug in the first place.
- Two dev_dbg messages were changed to dev_info for testing. Changed back to dev_dbg.

The patched driver can be downloaded as stand-alone driver from

	http://www.roeck-us.net/linux/drivers/w83627ehf/