Skip to content

hwmon: (lm90) Various improvements to lm90 driver

Guenter Roeck linux-hwmon lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest40 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/40hwmon: (lm90) Generate sysfs and udev events for all alarmsdrivers/hwmon/lm90.c+20 -00 replies
2/40hwmon: (lm90) Rework alarm/status handlingdrivers/hwmon/lm90.c+199 -1150 replies
3/40hwmon: (lm90) Reorder include files in alphabetical orderdrivers/hwmon/lm90.c+6 -60 replies
4/40hwmon: (lm90) Reorder chip enumeration to be in alphabetical orderdrivers/hwmon/lm90.c+4 -20 replies
5/40hwmon: (lm90) Use BIT macrodrivers/hwmon/lm90.c+28 -270 replies
6/40hwmon: (lm90) Move status register bit shifts to compile timedrivers/hwmon/lm90.c+14 -130 replies
7/40hwmon: (lm90) Stop using R_/W_ register prefixdrivers/hwmon/lm90.c+117 -1170 replies
8/40hwmon: (lm90) Improve PEC supportDocumentation/hwmon/lm90.rst drivers/hwmon/lm90.c+32 -300 replies
9/40hwmon: (lm90) Add partial PEC support for ADT7461Documentation/hwmon/lm90.rst drivers/hwmon/lm90.c+2 -10 replies
10/40hwmon: (lm90) Enable full PEC support for ADT7461Adrivers/hwmon/lm90.c+12 -50 replies
11/40hwmon: (lm90) Add support for unsigned and signed temperaturesdrivers/hwmon/lm90.c+42 -280 replies
12/40hwmon: (lm90) Only re-read registers if volatiledrivers/hwmon/lm90.c+23 -180 replies
13/40hwmon: (lm90) Support multiple temperature resolutionsdrivers/hwmon/lm90.c+153 -2972 replies
14/40hwmon: (lm90) Use single flag to indicate extended temperature supportdrivers/hwmon/lm90.c+10 -150 replies
15/40hwmon: (lm90) Rework detect functiondrivers/hwmon/lm90.c+236 -1430 replies
16/40hwmon: (lm90) Add support for additional chip revision of NCT1008drivers/hwmon/lm90.c+6 -10 replies
17/40hwmon: (lm90) Fix/Add detection of G781-1drivers/hwmon/lm90.c+34 -50 replies
18/40hwmon: (lm90) Add flag to indicate 'alarms' attribute supportdrivers/hwmon/lm90.c+38 -190 replies
19/40hwmon: (lm90) Add explicit support for MAX6648/MAX6692Documentation/hwmon/lm90.rst drivers/hwmon/lm90.c+47 -60 replies
20/40hwmon: (lm90) Add support for ADT7481, ADT7482, and ADT7483Documentation/hwmon/lm90.rst drivers/hwmon/Kconfig drivers/hwmon/lm90.c+129 -311 reply
21/40hwmon: (lm90) Strengthen chip detection for ADM1032, ADT7461(A), and NCT1008drivers/hwmon/lm90.c+8 -40 replies
22/40hwmon: (lm90) Add support for MAX6690Documentation/hwmon/lm90.rst drivers/hwmon/lm90.c+17 -20 replies
23/40hwmon: (lm90) Add flag to indicate support for minimum temperature limitsdrivers/hwmon/lm90.c+31 -230 replies
24/40hwmon: (lm90) Add flag to indicate conversion rate supportdrivers/hwmon/lm90.c+39 -270 replies
25/40hwmon: (lm90) Add support for MAX6642Documentation/hwmon/lm90.rst drivers/hwmon/Kconfig drivers/hwmon/lm90.c+83 -160 replies
26/40hwmon: (lm90) Let lm90_read16() handle 8-bit read operationsdrivers/hwmon/lm90.c+17 -300 replies
27/40hwmon: (lm90) Introduce 16-bit register write functiondrivers/hwmon/lm90.c+19 -140 replies
28/40hwmon: (lm90) Support MAX1617 and LM84Documentation/hwmon/lm90.rst drivers/hwmon/Kconfig drivers/hwmon/lm90.c+275 -430 replies
29/40hwmon: (lm90) Add support for ADM1021, ADM1021A, and ADM1023Documentation/hwmon/lm90.rst drivers/hwmon/Kconfig drivers/hwmon/lm90.c+66 -80 replies
30/40hwmon: (lm90) Add remaining chips supported by adm1021 driverDocumentation/hwmon/lm90.rst drivers/hwmon/Kconfig drivers/hwmon/lm90.c+60 -10 replies
31/40hwmon: (lm90) Combine lm86 and lm90 configurationdrivers/hwmon/lm90.c+5 -120 replies
32/40hwmon: (lm90) Add explicit support for NCT210Documentation/hwmon/lm90.rst drivers/hwmon/Kconfig drivers/hwmon/lm90.c+31 -30 replies
33/40hwmon: (lm90) Add support for ON Semiconductor NCT214 and NCT72Documentation/hwmon/lm90.rst drivers/hwmon/Kconfig drivers/hwmon/lm90.c+56 -20 replies
34/40hwmon: (lm90) Add support for ON Semiconductor NCT218Documentation/hwmon/lm90.rst drivers/hwmon/Kconfig drivers/hwmon/lm90.c+40 -30 replies
35/40hwmon: (lm90) Add support for ADT7421drivers/hwmon/lm90.c+9 -10 replies
36/40hwmon: (lm90) Only disable alerts if not already disableddrivers/hwmon/lm90.c+4 -20 replies
37/40hwmon: (lm90) Add explicit support for ADM1020Documentation/hwmon/lm90.rst drivers/hwmon/Kconfig drivers/hwmon/lm90.c+20 -40 replies
38/40hwmon: (lm90) Add support and detection of Philips/NXP NE1618Documentation/hwmon/lm90.rst drivers/hwmon/Kconfig drivers/hwmon/lm90.c+42 -140 replies
39/40hwmon: (lm90) Add table with supported Analog/ONSEMI devicesdrivers/hwmon/lm90.c+36 -00 replies
40/40hwmon: (lm90) Support temp_samples attributedrivers/hwmon/lm90.c+91 -140 replies

Reviews trailers per patch

1 of 40 patches has a Reviewed-by or Acked-by.

PatchSlawomir Stepien
1/40
2/40
3/40
4/40
5/40
6/40
7/40
8/40
9/40
10/40
11/40
12/40
13/40
14/40
15/40
16/40
17/40
18/40
19/40
20/40R-b
21/40
22/40
23/40
24/40
25/40
26/40
27/40
28/40
29/40
30/40
31/40
32/40
33/40
34/40
35/40
36/40
37/40
38/40
39/40
40/40

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

Read the v1 thread

Cover letter [PATCH 00/40] hwmon: (lm90) Various improvements to lm90 driver

This patch series implements various improvements to the lm90 driver.

- Generate sysfs and udev events for all alarms
- Add support for LM84, ADM1020, ADM1021, ADT7421, ADT7481, ADT7482, ADT7483A, NCT210, NCT214, NCT218, NCT72, MAX1617, MAX1617A, MAX6642, NE1617, NE1617A, NE1618, GL523SM, THMC10, and MC1066
- Explicit support for MAX6648
- Handle differences between ADT7461 and ADT7461A
- Individual drivers for ADM1021 and MAX6642 are now obsolete.
- Improved PEC support. Some chips support PEC only in read operations, others support PEC for both read and write operations.
- Improved alarm handling
- Streamlined temperature conversion functions
- Reorganized and improved chip detection code

----------------------------------------------------------------
Guenter Roeck (40):
hwmon: (lm90) Generate sysfs and udev events for all alarms
hwmon: (lm90) Rework alarm/status handling
hwmon: (lm90) Reorder include files in alphabetical order
hwmon: (lm90) Reorder chip enumeration to be in alphabetical order
hwmon: (lm90) Use BIT macro
hwmon: (lm90) Move status register bit shifts to compile time
hwmon: (lm90) Stop using R_/W_ register prefix
hwmon: (lm90) Improve PEC support
hwmon: (lm90) Add partial PEC support for ADT7461
hwmon: (lm90) Enable full PEC support for ADT7461A
hwmon: (lm90) Add support for unsigned and signed temperatures
hwmon: (lm90) Only re-read registers if volatile
hwmon: (lm90) Support multiple temperature resolutions
hwmon: (lm90) Use single flag to indicate extended temperature support
hwmon: (lm90) Rework detect function
hwmon: (lm90) Add support for additional chip revision of NCT1008
hwmon: (lm90) Fix/Add detection of G781-1
hwmon: (lm90) Add flag to indicate 'alarms' attribute support
hwmon: (lm90) Add explicit support for MAX6648/MAX6692
hwmon: (lm90) Add support for ADT7481, ADT7482, and ADT7483
hwmon: (lm90) Strengthen chip detection for ADM1032, ADT7461(A), and NCT1008
hwmon: (lm90) Add support for MAX6690
hwmon: (lm90) Add flag to indicate support for minimum temperature limits
hwmon: (lm90) Add flag to indicate conversion rate support
hwmon: (lm90) Add support for MAX6642
hwmon: (lm90) Let lm90_read16() handle 8-bit read operations
hwmon: (lm90) Introduce 16-bit register write function
hwmon: (lm90) Support MAX1617 and LM84
hwmon: (lm90) Add support for ADM1021, ADM1021A, and ADM1023
hwmon: (lm90) Add remaining chips supported by adm1021 driver
hwmon: (lm90) Combine lm86 and lm90 configuration
hwmon: (lm90) Add explicit support for NCT210
hwmon: (lm90) Add support for ON Semiconductor NCT214 and NCT72
hwmon: (lm90) Add support for ON Semiconductor NCT218
hwmon: (lm90) Add support for ADT7421
hwmon: (lm90) Only disable alerts if not already disabled
hwmon: (lm90) Add explicit support for ADM1020
hwmon: (lm90) Add support and detection of Philips/NXP NE1618
hwmon: (lm90) Add table with supported Analog/ONSEMI devices
hwmon: (lm90) Support temp_samples attribute

 Documentation/hwmon/lm90.rst |  233 +++-
 drivers/hwmon/Kconfig        |   17 +-
 drivers/hwmon/lm90.c         | 2415 ++++++++++++++++++++++++++++--------------
 3 files changed, 1832 insertions(+), 833 deletions(-)