]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/hwmon/Kconfig
hwmon: (k10temp) Add support for F15h M60h
authorAravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Thu, 14 Aug 2014 23:15:27 +0000 (18:15 -0500)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 22 Sep 2014 18:14:52 +0000 (11:14 -0700)
commitf89ce2706d8341c921b96e13a00b951a10eed308
treef31401a24a911459bec16aad13ab81eeeda56286
parent4222eb5f2b4fe9a0f50b283ba25111c595723429
hwmon: (k10temp) Add support for F15h M60h

This patch adds temperature monitoring support for F15h M60h processor.
 - Add new pci device id for the relevant processor
 - The functionality of REG_REPORTED_TEMPERATURE is moved to
   D0F0xBC_xD820_0CA4 [Reported Temperature Control]
   - So, use this to get CUR_TEMP value
   - Since we need an indirect register access, protect this with
     a mutex lock
 - Add Kconfig, Doc entries to indicate support for this processor.

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@amd.com>
Acked-by: Borislav Petkov <bp@suse.de>
Acked-by: Clemens Ladisch <clemens@ladisch.de>
[Guenter Roeck: Declare new mutex and function static]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Documentation/hwmon/k10temp
drivers/hwmon/Kconfig
drivers/hwmon/k10temp.c