|
|
Log in / Subscribe / Register

thermal: int340x: processor_thermal: Add new PCI MMIO based thermal driver

From:  Srinivas Pandruvada <srinivas.pandruvada-AT-linux.intel.com>
To:  daniel.lezcano-AT-linaro.org, rui.zhang-AT-intel.com, amitk-AT-kernel.org
Subject:  [PATCH 0/2] thermal: int340x: processor_thermal: Add new PCI MMIO based thermal driver
Date:  Tue, 25 May 2021 13:48:09 -0700
Message-ID:  <20210525204811.3793651-1-srinivas.pandruvada@linux.intel.com>
Cc:  linux-pm-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, Srinivas Pandruvada <srinivas.pandruvada-AT-linux.intel.com>
Archive-link:  Article

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



Copyright © 2021, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds