hwmon: peci: Add cputemp driver
authorIwona Winiarska <iwona.winiarska@intel.com>
Tue, 8 Feb 2022 15:36:36 +0000 (16:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Feb 2022 07:04:44 +0000 (08:04 +0100)
commitbf3608f338e928e5d26b620feb7d8afcdfff50e3
tree674e9834776962a3c0d82f415332ef3d7d4843ec
parent93e1821c80f9460c8931dc4bc090ede794f966cd
hwmon: peci: Add cputemp driver

Add peci-cputemp driver for Digital Thermal Sensor (DTS) thermal
readings of the processor package and processor cores that are
accessible via the PECI interface.

The main use case for the driver (and PECI interface) is out-of-band
management, where we're able to obtain the DTS readings from an external
entity connected with PECI, e.g. BMC on server platforms.

Co-developed-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@linux.intel.com>
Signed-off-by: Iwona Winiarska <iwona.winiarska@intel.com>
Link: https://lore.kernel.org/r/20220208153639.255278-11-iwona.winiarska@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
MAINTAINERS
drivers/hwmon/Kconfig
drivers/hwmon/Makefile
drivers/hwmon/peci/Kconfig [new file with mode: 0644]
drivers/hwmon/peci/Makefile [new file with mode: 0644]
drivers/hwmon/peci/common.h [new file with mode: 0644]
drivers/hwmon/peci/cputemp.c [new file with mode: 0644]