This patch series adds 1. power sensors for hwmon interface 2. sysfs interface for telemetry (only in acpi module) Patch 1: Use one HSMP driver version for common, acpi and plat files. Patch 2: Add sysfs files to acpi driver. Patch 3: Add hwmon power sensor support to both acpi and plat driver. Suma Hegde (3): platform/x86/amd/hsmp: Use one DRIVER_VERSION platform/x86/amd/hsmp: Report power using hwmon sensors platform/x86/amd/hsmp: acpi: Add sysfs files to show HSMP telemetry Documentation/arch/x86/amd_hsmp.rst | 29 +++ drivers/platform/x86/amd/hsmp/Makefile | 2 +- drivers/platform/x86/amd/hsmp/acpi.c | 273 ++++++++++++++++++++++++- drivers/platform/x86/amd/hsmp/hsmp.c | 23 ++- drivers/platform/x86/amd/hsmp/hsmp.h | 13 ++ drivers/platform/x86/amd/hsmp/hwmon.c | 191 +++++++++++++++++ drivers/platform/x86/amd/hsmp/plat.c | 4 +- 7 files changed, 530 insertions(+), 5 deletions(-) create mode 100644 drivers/platform/x86/amd/hsmp/hwmon.c -- 2.25.1