Skip to content

Commit

Permalink
hwmon: Add PECI dimmtemp driver
Browse files Browse the repository at this point in the history
This commit adds PECI dimmtemp hwmon driver.

OpenBMC-Staging-Count: 3
Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
Reviewed-by: Haiyue Wang <haiyue.wang@linux.intel.com>
Reviewed-by: James Feist <james.feist@linux.intel.com>
Reviewed-by: Vernon Mauery <vernon.mauery@linux.intel.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
  • Loading branch information
jaehyoo authored and shenki committed Aug 6, 2020
1 parent c8797c0 commit 0114827
Show file tree
Hide file tree
Showing 3 changed files with 440 additions and 0 deletions.
14 changes: 14 additions & 0 deletions drivers/hwmon/Kconfig
Expand Up @@ -1449,6 +1449,20 @@ config SENSORS_PECI_CPUTEMP
This driver can also be built as a module. If so, the module
will be called peci-cputemp.

config SENSORS_PECI_DIMMTEMP
tristate "PECI DIMM temperature monitoring client"
depends on PECI
select MFD_INTEL_PECI_CLIENT
help
If you say yes here you get support for the generic Intel PECI hwmon
driver which provides Digital Thermal Sensor (DTS) thermal readings of
DIMM components that are accessible using the PECI Client Command
Suite via the processor PECI client.
Check <file:Documentation/hwmon/peci-dimmtemp.rst> for details.

This driver can also be built as a module. If so, the module
will be called peci-dimmtemp.

source "drivers/hwmon/pmbus/Kconfig"

config SENSORS_PWM_FAN
Expand Down
1 change: 1 addition & 0 deletions drivers/hwmon/Makefile
Expand Up @@ -152,6 +152,7 @@ obj-$(CONFIG_SENSORS_PC87360) += pc87360.o
obj-$(CONFIG_SENSORS_PC87427) += pc87427.o
obj-$(CONFIG_SENSORS_PCF8591) += pcf8591.o
obj-$(CONFIG_SENSORS_PECI_CPUTEMP) += peci-cputemp.o
obj-$(CONFIG_SENSORS_PECI_DIMMTEMP) += peci-dimmtemp.o
obj-$(CONFIG_SENSORS_POWR1220) += powr1220.o
obj-$(CONFIG_SENSORS_PWM_FAN) += pwm-fan.o
obj-$(CONFIG_SENSORS_RASPBERRYPI_HWMON) += raspberrypi-hwmon.o
Expand Down

0 comments on commit 0114827

Please sign in to comment.