Skip to content

Commit 47080f2

Browse files
committed
Merge tag 'hwmon-for-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
Pull hwmon updates from Guenter Roeck: "The most notable change is the removal of the amd_energy driver. It was rendered all but unusable by making its attributes privileged-only to work around a security issue. A suggested remedy was rejected by AMD, so the only real solution was to remove the driver. For the future, we'll have to make sure that no privileged-access-only drivers are accepted into the hwmon subsystem in the first place. The hwmon ABI document was updated accordingly. Other changes: PMBus drivers: - Added driver for MAX15301 - Added driver for BluTek BPA-RS600 - Added driver for fsp-3y PSUs and PDUs - Added driver for Infineon IR36021 - Added driver for ST STPDDC60 - Added support for TI TPS53676 to tps53679 driver - Introduced PMBUS symbol namespace. This was made necessary by a suggestion to use its exported functions from outside the hwmon subsystem. - Minor improvements and bug fixes New drivers: - Driver for NZXT Kraken X42/X52/X62/X72 Driver enhancements: - Added support for Intel D5005 to intel-m10-bmc-hwmon driver - Added support for NCT6686D to nct6683 driver Other: - Converted sch5627 and amd9240 drivers to hwmon_device_register_with_info() - Added support for fan drawers capability and present registers to mlxreg-fan driver - Added Dell Latitude E7440 to fan control whitelist in dell-smm driver - Replaced snprintf in show functions with sysfs_emit. Done with coccinelle script for all drivers to preempt endless per-driver submissions of the same change. - Use kobj_to_dev(). Another coccinelle based change to preempt endless per-driver submissions of the same change. - Various minor fixes and improvements" * tag 'hwmon-for-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: (38 commits) hwmon: Remove amd_energy driver hwmon: Clarify scope of attribute access hwmon: (pmbus) Introduce PMBUS symbol namespace hwmon: (pmbus) Add pmbus driver for MAX15301 hwmon: (sch5627) Remove unnecessary error path hwmon: (sch5627) Use devres function hwmon: (pmbus/pxe1610) don't bail out when not all pages are active hwmon: Add driver for fsp-3y PSUs and PDUs hwmon: (intel-m10-bmc-hwmon) add sensor support of Intel D5005 card hwmon: (sch5627) Split sch5627_update_device() hwmon: (sch5627) Convert to hwmon_device_register_with_info() hwmon: (nct6683) remove useless function hwmon: (dell-smm) Add Dell Latitude E7440 to fan control whitelist MAINTAINERS: Add keyword pattern for hwmon registration functions hwmon: (mlxreg-fan) Add support for fan drawers capability and present registers hwmon: (pmbus/tps53679) Add support for TI TPS53676 dt-bindings: Add trivial device entry for TPS53676 hwmon: (ftsteutates) Rudimentary typo fixes hwmon: (pmbus) Add driver for BluTek BPA-RS600 dt-bindings: Add vendor prefix and trivial device for BluTek BPA-RS600 ...
2 parents 55ba0fe + 9049572 commit 47080f2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+3126
-1626
lines changed

Documentation/devicetree/bindings/trivial-devices.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ properties:
5050
- atmel,atsha204a
5151
# i2c h/w elliptic curve crypto module
5252
- atmel,atecc508a
53+
# BPA-RS600: Power Supply
54+
- blutek,bpa-rs600
5355
# Bosch Sensortec pressure, temperature, humididty and VOC sensor
5456
- bosch,bme680
5557
# CM32181: Ambient Light Sensor
@@ -102,6 +104,8 @@ properties:
102104
- mps,mp2975
103105
# G751: Digital Temperature Sensor and Thermal Watchdog with Two-Wire Interface
104106
- gmt,g751
107+
# Infineon IR36021 digital POL buck controller
108+
- infineon,ir36021
105109
# Infineon IR38064 Voltage Regulator
106110
- infineon,ir38064
107111
# Infineon SLB9635 (Soft-) I2C TPM (old protocol, max 100khz)
@@ -288,6 +292,8 @@ properties:
288292
- ti,tmp103
289293
# Digital Temperature Sensor
290294
- ti,tmp275
295+
# TI Dual channel DCAP+ multiphase controller TPS53676 with AVSBus
296+
- ti,tps53676
291297
# TI Dual channel DCAP+ multiphase controller TPS53679
292298
- ti,tps53679
293299
# TI Dual channel DCAP+ multiphase controller TPS53688

Documentation/devicetree/bindings/vendor-prefixes.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ patternProperties:
171171
description: Beckhoff Automation GmbH & Co. KG
172172
"^bitmain,.*":
173173
description: Bitmain Technologies
174+
"^blutek,.*":
175+
description: BluTek Power
174176
"^boe,.*":
175177
description: BOE Technology Group Co., Ltd.
176178
"^bosch,.*":

Documentation/hwmon/amd_energy.rst

Lines changed: 0 additions & 119 deletions
This file was deleted.

Documentation/hwmon/bpa-rs600.rst

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
.. SPDX-License-Identifier: GPL-2.0
2+
3+
Kernel driver bpa-rs600
4+
=======================
5+
6+
Supported chips:
7+
8+
* BPA-RS600-120
9+
10+
Datasheet: Publicly available at the BluTek website
11+
http://blutekpower.com/wp-content/uploads/2019/01/BPA-RS600-120-07-19-2018.pdf
12+
13+
Authors:
14+
- Chris Packham <[email protected]>
15+
16+
Description
17+
-----------
18+
19+
The BPA-RS600 is a compact 600W removable power supply module.
20+
21+
Usage Notes
22+
-----------
23+
24+
This driver does not probe for PMBus devices. You will have to instantiate
25+
devices explicitly.
26+
27+
Sysfs attributes
28+
----------------
29+
30+
======================= ============================================
31+
curr1_label "iin"
32+
curr1_input Measured input current
33+
curr1_max Maximum input current
34+
curr1_max_alarm Input current high alarm
35+
36+
curr2_label "iout1"
37+
curr2_input Measured output current
38+
curr2_max Maximum output current
39+
curr2_max_alarm Output current high alarm
40+
41+
fan1_input Measured fan speed
42+
fan1_alarm Fan warning
43+
fan1_fault Fan fault
44+
45+
in1_label "vin"
46+
in1_input Measured input voltage
47+
in1_max Maximum input voltage
48+
in1_max_alarm Input voltage high alarm
49+
in1_min Minimum input voltage
50+
in1_min_alarm Input voltage low alarm
51+
52+
in2_label "vout1"
53+
in2_input Measured output voltage
54+
in2_max Maximum output voltage
55+
in2_max_alarm Output voltage high alarm
56+
in2_min Maximum output voltage
57+
in2_min_alarm Output voltage low alarm
58+
59+
power1_label "pin"
60+
power1_input Measured input power
61+
power1_alarm Input power alarm
62+
power1_max Maximum input power
63+
64+
power2_label "pout1"
65+
power2_input Measured output power
66+
power2_max Maximum output power
67+
power2_max_alarm Output power high alarm
68+
69+
temp1_input Measured temperature around input connector
70+
temp1_alarm Temperature alarm
71+
72+
temp2_input Measured temperature around output connector
73+
temp2_alarm Temperature alarm
74+
======================= ============================================

Documentation/hwmon/corsair-psu.rst

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,19 +47,30 @@ Sysfs entries
4747
======================= ========================================================
4848
curr1_input Total current usage
4949
curr2_input Current on the 12v psu rail
50+
curr2_crit Current max critical value on the 12v psu rail
5051
curr3_input Current on the 5v psu rail
52+
curr3_crit Current max critical value on the 5v psu rail
5153
curr4_input Current on the 3.3v psu rail
54+
curr4_crit Current max critical value on the 3.3v psu rail
5255
fan1_input RPM of psu fan
5356
in0_input Voltage of the psu ac input
5457
in1_input Voltage of the 12v psu rail
58+
in1_crit Voltage max critical value on the 12v psu rail
59+
in1_lcrit Voltage min critical value on the 12v psu rail
5560
in2_input Voltage of the 5v psu rail
56-
in3_input Voltage of the 3.3 psu rail
61+
in2_crit Voltage max critical value on the 5v psu rail
62+
in2_lcrit Voltage min critical value on the 5v psu rail
63+
in3_input Voltage of the 3.3v psu rail
64+
in3_crit Voltage max critical value on the 3.3v psu rail
65+
in3_lcrit Voltage min critical value on the 3.3v psu rail
5766
power1_input Total power usage
5867
power2_input Power usage of the 12v psu rail
5968
power3_input Power usage of the 5v psu rail
6069
power4_input Power usage of the 3.3v psu rail
6170
temp1_input Temperature of the psu vrm component
71+
temp1_crit Temperature max cirtical value of the psu vrm component
6272
temp2_input Temperature of the psu case
73+
temp2_crit Temperature max critical value of psu case
6374
======================= ========================================================
6475

6576
Usage Notes

Documentation/hwmon/fsp-3y.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
.. SPDX-License-Identifier: GPL-2.0
2+
3+
Kernel driver fsp3y
4+
======================
5+
Supported devices:
6+
* 3Y POWER YH-5151E
7+
* 3Y POWER YM-2151E
8+
9+
Author: Václav Kubernát <[email protected]>
10+
11+
Description
12+
-----------
13+
This driver implements limited support for two 3Y POWER devices.
14+
15+
Sysfs entries
16+
-------------
17+
* in1_input input voltage
18+
* in2_input 12V output voltage
19+
* in3_input 5V output voltage
20+
* curr1_input input current
21+
* curr2_input 12V output current
22+
* curr3_input 5V output current
23+
* fan1_input fan rpm
24+
* temp1_input temperature 1
25+
* temp2_input temperature 2
26+
* temp3_input temperature 3
27+
* power1_input input power
28+
* power2_input output power

Documentation/hwmon/index.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ Hardware Monitoring Kernel Drivers
3939
adt7475
4040
aht10
4141
amc6821
42-
amd_energy
4342
asb100
4443
asc7621
4544
aspeed-pwm-tacho
4645
bcm54140
4746
bel-pfe
47+
bpa-rs600
4848
bt1-pvt
4949
coretemp
5050
corsair-cpro
@@ -62,6 +62,7 @@ Hardware Monitoring Kernel Drivers
6262
f71805f
6363
f71882fg
6464
fam15h_power
65+
fsp-3y
6566
ftsteutates
6667
g760a
6768
g762
@@ -77,6 +78,7 @@ Hardware Monitoring Kernel Drivers
7778
intel-m10-bmc-hwmon
7879
ir35221
7980
ir38064
81+
ir36021
8082
isl68137
8183
it87
8284
jc42
@@ -112,6 +114,7 @@ Hardware Monitoring Kernel Drivers
112114
ltc4260
113115
ltc4261
114116
max127
117+
max15301
115118
max16064
116119
max16065
117120
max1619
@@ -142,6 +145,7 @@ Hardware Monitoring Kernel Drivers
142145
npcm750-pwm-fan
143146
nsa320
144147
ntc_thermistor
148+
nzxt-kraken2
145149
occ
146150
pc87360
147151
pc87427
@@ -168,6 +172,7 @@ Hardware Monitoring Kernel Drivers
168172
smsc47m192
169173
smsc47m1
170174
sparx5-temp
175+
stpddc60
171176
tc654
172177
tc74
173178
thmc50

0 commit comments

Comments
 (0)