hwmon: (fam15h_power) Add support for AMD Carrizo
authorHuang Rui <ray.huang@amd.com>
Thu, 27 Aug 2015 08:07:32 +0000 (16:07 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 27 Aug 2015 14:33:29 +0000 (07:33 -0700)
AMD Carrizo(Fam15h, M60h) processors can report power1_crit
(ProcessorPwrWatts) and power1_input (CurrPwrWatts) values.
And this patch adds support for CZ.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/fam15h_power.c

index 3057dfc7e3bc6cde853660579b01b4cab3530344..0753810b58e04a5975a661ded38ed96edcdcc3f2 100644 (file)
@@ -233,6 +233,7 @@ static int fam15h_power_probe(struct pci_dev *pdev,
 static const struct pci_device_id fam15h_power_id_table[] = {
        { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_NB_F4) },
        { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_M30H_NB_F4) },
+       { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_15H_M60H_NB_F4) },
        { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_16H_NB_F4) },
        { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_16H_M30H_NB_F4) },
        {}
This page took 0.118614 seconds and 5 git commands to generate.