[PATCH 0/2] thermal: int340x: processor_thermal: Add new PCI MMIO based thermal driver

From: Srinivas Pandruvada
Date: Tue May 25 2021 - 16:48:22 EST


This series adds a new thermal driver, which uses PCI MMIO for temperature and trips. To reuse
the code the first patch just reorganizes the existing code.

This series needs the following patch to cleanly apply:
[PATCH 1/2] thermal: int340x: processor_thermal: Export mailbox interface
sent on 16th May, 21.

Srinivas Pandruvada (2):
thermal: int340x: processor_thermal: Split enumeration and processing
part
thermal: int340x: processor_thermal: Add PCI MMIO based thermal driver

.../thermal/intel/int340x_thermal/Makefile | 3 +
.../intel/int340x_thermal/int3401_thermal.c | 82 ++++
.../processor_thermal_device.c | 289 ++------------
.../processor_thermal_device.h | 9 +-
.../processor_thermal_device_pci.c | 371 ++++++++++++++++++
.../processor_thermal_device_pci_legacy.c | 163 ++++++++
6 files changed, 658 insertions(+), 259 deletions(-)
create mode 100644 drivers/thermal/intel/int340x_thermal/int3401_thermal.c
create mode 100644 drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci.c
create mode 100644 drivers/thermal/intel/int340x_thermal/processor_thermal_device_pci_legacy.c

--
2.27.0