Skip to content

Commit 23c69b9

Browse files
sumachidanandgroeck
authored andcommitted
hwmon: (k10temp) Remove residues of current and voltage
Commit id "b00647c46c9d7f6ee1ff6aaf335906101755e614", adds reporting current and voltage to k10temp.c The commit id "0a4e668b5d52eed8026f5d717196b02b55fb2dc6", removed reporting current and voltage from k10temp.c The curr and in(voltage) entries are not removed from "k10temp_info" structure. Removing those residue entries. while at it, update k10temp driver documentation Signed-off-by: suma hegde <[email protected]> Cc: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
1 parent 6880fa6 commit 23c69b9

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

Documentation/hwmon/k10temp.rst

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -132,20 +132,3 @@ On Family 17h and Family 18h CPUs, additional temperature sensors may report
132132
Core Complex Die (CCD) temperatures. Up to 8 such temperatures are reported
133133
as temp{3..10}_input, labeled Tccd{1..8}. Actual support depends on the CPU
134134
variant.
135-
136-
Various Family 17h and 18h CPUs report voltage and current telemetry
137-
information. The following attributes may be reported.
138-
139-
Attribute Label Description
140-
=============== ======= ================
141-
in0_input Vcore Core voltage
142-
in1_input Vsoc SoC voltage
143-
curr1_input Icore Core current
144-
curr2_input Isoc SoC current
145-
=============== ======= ================
146-
147-
Current values are raw (unscaled) as reported by the CPU. Core current is
148-
reported as multiples of 1A / LSB. SoC is reported as multiples of 0.25A
149-
/ LSB. The real current is board specific. Reported currents should be seen
150-
as rough guidance, and should be scaled using sensors3.conf as appropriate
151-
for a given board.

drivers/hwmon/k10temp.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -362,12 +362,6 @@ static const struct hwmon_channel_info *k10temp_info[] = {
362362
HWMON_T_INPUT | HWMON_T_LABEL,
363363
HWMON_T_INPUT | HWMON_T_LABEL,
364364
HWMON_T_INPUT | HWMON_T_LABEL),
365-
HWMON_CHANNEL_INFO(in,
366-
HWMON_I_INPUT | HWMON_I_LABEL,
367-
HWMON_I_INPUT | HWMON_I_LABEL),
368-
HWMON_CHANNEL_INFO(curr,
369-
HWMON_C_INPUT | HWMON_C_LABEL,
370-
HWMON_C_INPUT | HWMON_C_LABEL),
371365
NULL
372366
};
373367

0 commit comments

Comments
 (0)