Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9592247imu; Wed, 5 Dec 2018 07:17:17 -0800 (PST) X-Google-Smtp-Source: AFSGD/UQ4UU6N35p9OpdeYLQJXSvgZ5Xy2gz0/Bsn/JGFklNSFSLu9NL+eCDPLI9nf9bqBLO8how X-Received: by 2002:a63:2f07:: with SMTP id v7mr19555152pgv.368.1544023037833; Wed, 05 Dec 2018 07:17:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544023037; cv=none; d=google.com; s=arc-20160816; b=q0/MovU31BZl73gc5YbCUNp9xe7PtT35QkOPtPBIzsPDgy9QDTBtyq1F//knX77xYg gSKuymL1cwKON+vhJ4ax3ZOKEHTZS+mEOy8sjw9a16bAs9m2RQlTgO/ZAamZBmzUkpEC Kb/mwILXKSoC8Lp3zCZS0qt5QsEQ0CF4wfcw9GK/GSaQGH6FjZyZ26nBVegFqNyiU/Yx Nkbk+PUFs1W5ROLab/OcjM4jx1CQTEQ25S6i6Y79tnybndL+gAZ8feQXtd4gBodSaNgE QjIS+fFJA2dsh2QddVH0XtRtQN65br01oETYYy2A09gMBSgr4iKP0sNoC1jMzvvR8D1i 0FfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=0+svFOLsuamXU2NDruY+e2OcciN6Rdg/1h43/cbeW0E=; b=h41DBamrlCYahugxd9ceTKLu/wvoNWLgm7cIcnli80KAByGVLiLaQcmW1654oi8vOZ DRBWTeSqwweM6MGzvfGBjq3zhuVfHoG183b2d9t1bhwTcLhrBhxVUE69De7qoVP7AQDB kTZ5RacccKct6ukR16Aal10B01vxskS9+0cc8+mpPDdjtUfu2jZbbVtyjWXI3GOJoRPh 7WqkwIHqA7Lp85uNbaX5Azu0sDXPpasU2T0+fTnkZHuHU8lG7c6hAz/Mv+OSbeq8B2/F Fhjj0tvQgRlhCjQe4GA/wtYYfgwcH4gw/G3YdTnyAjou6Hoyys46/8vwgY/4rUnrtGIe hwwQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3si18618839pgh.496.2018.12.05.07.17.01; Wed, 05 Dec 2018 07:17:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727943AbeLEPQP (ORCPT + 99 others); Wed, 5 Dec 2018 10:16:15 -0500 Received: from mga17.intel.com ([192.55.52.151]:42785 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727610AbeLEPQP (ORCPT ); Wed, 5 Dec 2018 10:16:15 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Dec 2018 07:16:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,317,1539673200"; d="scan'208";a="257031808" Received: from jinbaowa-mobl1.ccr.corp.intel.com ([10.249.170.100]) by orsmga004.jf.intel.com with ESMTP; 05 Dec 2018 07:16:12 -0800 Message-ID: <1544022965.2841.50.camel@intel.com> Subject: Re: [PATCH v3 1/2] drivers: thermal: Move various drivers for intel platforms into a subdir From: Zhang Rui To: Amit Kucheria , linux-kernel@vger.kernel.org Cc: edubezval@gmail.com, linux-pm@vger.kernel.org, Daniel Lezcano Date: Wed, 05 Dec 2018 23:16:05 +0800 In-Reply-To: <8f96fc84d830411abbef139d4afb5663924b57da.1543343156.git.amit.kucheria@linaro.org> References: <8f96fc84d830411abbef139d4afb5663924b57da.1543343156.git.amit.kucheria@linaro.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 三, 2018-11-28 at 00:28 +0530, Amit Kucheria wrote: > This cleans up the directory a bit, now that we have several other > platforms using platform-specific sub-directories. Compile-tested > with > ARCH=x86 defconfig and the drivers explicitly enabled with > menuconfig. > > Signed-off-by: Amit Kucheria > Acked-by: Daniel Lezcano > --- >  drivers/thermal/Kconfig                       | 83 ++--------------- > -- >  drivers/thermal/Makefile                      | 11 +-- >  drivers/thermal/intel/Kconfig                 | 77 +++++++++++++++++ >  drivers/thermal/intel/Makefile                | 12 +++ >  .../{ => intel}/int340x_thermal/Kconfig       |  0 >  .../{ => intel}/int340x_thermal/Makefile      |  0 >  .../int340x_thermal/acpi_thermal_rel.c        |  0 >  .../int340x_thermal/acpi_thermal_rel.h        |  0 >  .../int340x_thermal/int3400_thermal.c         |  0 >  .../int340x_thermal/int3402_thermal.c         |  0 >  .../int340x_thermal/int3403_thermal.c         |  0 >  .../int340x_thermal/int3406_thermal.c         |  0 >  .../int340x_thermal/int340x_thermal_zone.c    |  0 >  .../int340x_thermal/int340x_thermal_zone.h    |  0 >  .../processor_thermal_device.c                |  0 >  .../{ => intel}/intel_bxt_pmic_thermal.c      |  0 >  .../thermal/{ => intel}/intel_pch_thermal.c   |  0 >  .../thermal/{ => intel}/intel_powerclamp.c    |  0 >  .../{ => intel}/intel_quark_dts_thermal.c     |  0 >  .../thermal/{ => intel}/intel_soc_dts_iosf.c  |  0 >  .../thermal/{ => intel}/intel_soc_dts_iosf.h  |  0 >  .../{ => intel}/intel_soc_dts_thermal.c       |  0 >  .../{ => intel}/x86_pkg_temp_thermal.c        |  0 >  23 files changed, 96 insertions(+), 87 deletions(-) >  create mode 100644 drivers/thermal/intel/Kconfig >  create mode 100644 drivers/thermal/intel/Makefile >  rename drivers/thermal/{ => intel}/int340x_thermal/Kconfig (100%) >  rename drivers/thermal/{ => intel}/int340x_thermal/Makefile (100%) >  rename drivers/thermal/{ => > intel}/int340x_thermal/acpi_thermal_rel.c (100%) >  rename drivers/thermal/{ => > intel}/int340x_thermal/acpi_thermal_rel.h (100%) >  rename drivers/thermal/{ => intel}/int340x_thermal/int3400_thermal.c > (100%) >  rename drivers/thermal/{ => intel}/int340x_thermal/int3402_thermal.c > (100%) >  rename drivers/thermal/{ => intel}/int340x_thermal/int3403_thermal.c > (100%) >  rename drivers/thermal/{ => intel}/int340x_thermal/int3406_thermal.c > (100%) >  rename drivers/thermal/{ => > intel}/int340x_thermal/int340x_thermal_zone.c (100%) >  rename drivers/thermal/{ => > intel}/int340x_thermal/int340x_thermal_zone.h (100%) >  rename drivers/thermal/{ => > intel}/int340x_thermal/processor_thermal_device.c (100%) >  rename drivers/thermal/{ => intel}/intel_bxt_pmic_thermal.c (100%) >  rename drivers/thermal/{ => intel}/intel_pch_thermal.c (100%) >  rename drivers/thermal/{ => intel}/intel_powerclamp.c (100%) >  rename drivers/thermal/{ => intel}/intel_quark_dts_thermal.c (100%) >  rename drivers/thermal/{ => intel}/intel_soc_dts_iosf.c (100%) >  rename drivers/thermal/{ => intel}/intel_soc_dts_iosf.h (100%) >  rename drivers/thermal/{ => intel}/intel_soc_dts_thermal.c (100%) >  rename drivers/thermal/{ => intel}/x86_pkg_temp_thermal.c (100%) > > diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig > index 5422523c03f8..772ab9dadda7 100644 > --- a/drivers/thermal/Kconfig > +++ b/drivers/thermal/Kconfig > @@ -326,84 +326,6 @@ config DA9062_THERMAL >     zone. >     Compatible with the DA9062 and DA9061 PMICs. >   > -config INTEL_POWERCLAMP > - tristate "Intel PowerClamp idle injection driver" > - depends on THERMAL > - depends on X86 > - depends on CPU_SUP_INTEL > - help > -   Enable this to enable Intel PowerClamp idle injection > driver. This > -   enforce idle time which results in more package C-state > residency. The > -   user interface is exposed via generic thermal framework. > - > -config X86_PKG_TEMP_THERMAL > - tristate "X86 package temperature thermal driver" > - depends on X86_THERMAL_VECTOR > - select THERMAL_GOV_USER_SPACE > - select THERMAL_WRITABLE_TRIPS > - default m > - help > -   Enable this to register CPU digital sensor for package > temperature as > -   thermal zone. Each package will have its own thermal zone. > There are > -   two trip points which can be set by user to get > notifications via thermal > -   notification methods. > - > -config INTEL_SOC_DTS_IOSF_CORE > - tristate > - depends on X86 && PCI > - select IOSF_MBI > - help > -   This is becoming a common feature for Intel SoCs to expose > the additional > -   digital temperature sensors (DTSs) using side band > interface (IOSF). This > -   implements the common set of helper functions to register, > get temperature > -   and get/set thresholds on DTSs. > - > -config INTEL_SOC_DTS_THERMAL > - tristate "Intel SoCs DTS thermal driver" > - depends on X86 && PCI && ACPI > - select INTEL_SOC_DTS_IOSF_CORE > - select THERMAL_WRITABLE_TRIPS > - help > -   Enable this to register Intel SoCs (e.g. Bay Trail) > platform digital > -   temperature sensor (DTS). These SoCs have two additional > DTSs in > -   addition to DTSs on CPU cores. Each DTS will be registered > as a > -   thermal zone. There are two trip points. One of the trip > point can > -   be set by user mode programs to get notifications via > Linux thermal > -   notification methods.The other trip is a critical trip > point, which > -   was set by the driver based on the TJ MAX temperature. > - > -config INTEL_QUARK_DTS_THERMAL > - tristate "Intel Quark DTS thermal driver" > - depends on X86_INTEL_QUARK > - help > -   Enable this to register Intel Quark SoC (e.g. X1000) > platform digital > -   temperature sensor (DTS). For X1000 SoC, it has one on-die > DTS. > -   The DTS will be registered as a thermal zone. There are > two trip points: > -   hot & critical. The critical trip point default value is > set by > -   underlying BIOS/Firmware. > - > -menu "ACPI INT340X thermal drivers" > -source drivers/thermal/int340x_thermal/Kconfig > -endmenu > - > -config INTEL_BXT_PMIC_THERMAL > - tristate "Intel Broxton PMIC thermal driver" > - depends on X86 && INTEL_SOC_PMIC_BXTWC && REGMAP > - help > -   Select this driver for Intel Broxton PMIC with ADC > channels monitoring > -   system temperature measurements and alerts. > -   This driver is used for monitoring the ADC channels of > PMIC and handles > -   the alert trip point interrupts and notifies the thermal > framework with > -   the trip point and temperature details of the zone. > - > -config INTEL_PCH_THERMAL > - tristate "Intel PCH Thermal Reporting Driver" > - depends on X86 && PCI > - help > -   Enable this to support thermal reporting on certain intel > PCHs. > -   Thermal reporting device will provide temperature reading, > -   programmable trip points and other information. > - >  config MTK_THERMAL >   tristate "Temperature sensor driver for mediatek SoCs" >   depends on ARCH_MEDIATEK || COMPILE_TEST > @@ -415,6 +337,11 @@ config MTK_THERMAL >     Enable this option if you want to have support for thermal > management >     controller present in Mediatek SoCs >   > +menu "Intel thermal drivers" > +depends on X86 || X86_INTEL_QUARK || COMPILE_TEST > +source "drivers/thermal/intel/Kconfig" > +endmenu > + >  menu "Broadcom thermal drivers" >  depends on ARCH_BCM || ARCH_BRCMSTB || ARCH_BCM2835 || COMPILE_TEST >  source "drivers/thermal/broadcom/Kconfig" > diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile > index 82bb50dc6423..031f61e7dfe8 100644 > --- a/drivers/thermal/Makefile > +++ b/drivers/thermal/Makefile > @@ -44,16 +44,9 @@ obj-$(CONFIG_IMX_THERMAL) += imx_thermal.o >  obj-$(CONFIG_MAX77620_THERMAL) += max77620_thermal.o >  obj-$(CONFIG_QORIQ_THERMAL) += qoriq_thermal.o >  obj-$(CONFIG_DA9062_THERMAL) += da9062-thermal.o > -obj-$(CONFIG_INTEL_POWERCLAMP) += intel_powerclamp.o > -obj-$(CONFIG_X86_PKG_TEMP_THERMAL) += x86_pkg_temp_thermal.o > -obj-$(CONFIG_INTEL_SOC_DTS_IOSF_CORE) += intel_soc_dts_iosf.o > -obj-$(CONFIG_INTEL_SOC_DTS_THERMAL) += > intel_soc_dts_thermal.o > -obj-$(CONFIG_INTEL_QUARK_DTS_THERMAL) += > intel_quark_dts_thermal.o > +obj-y += intel/ >  obj-$(CONFIG_TI_SOC_THERMAL) += ti-soc-thermal/ > -obj-$(CONFIG_INT340X_THERMAL)  += int340x_thermal/ > -obj-$(CONFIG_INTEL_BXT_PMIC_THERMAL) += intel_bxt_pmic_thermal.o > -obj-$(CONFIG_INTEL_PCH_THERMAL) += intel_pch_thermal.o > -obj-y += st/ > +obj-$(CONFIG_ST_THERMAL) += st/ it's better to do one thing in one patch. I will apply the patch, but without this line change. thanks, rui >  obj-$(CONFIG_QCOM_TSENS) += qcom/ >  obj-y += tegra/ >  obj-$(CONFIG_HISI_THERMAL)     += hisi_thermal.o > diff --git a/drivers/thermal/intel/Kconfig > b/drivers/thermal/intel/Kconfig > new file mode 100644 > index 000000000000..9c06d4ad7c97 > --- /dev/null > +++ b/drivers/thermal/intel/Kconfig > @@ -0,0 +1,77 @@ > +config INTEL_POWERCLAMP > + tristate "Intel PowerClamp idle injection driver" > + depends on THERMAL > + depends on X86 > + depends on CPU_SUP_INTEL > + help > +   Enable this to enable Intel PowerClamp idle injection > driver. This > +   enforce idle time which results in more package C-state > residency. The > +   user interface is exposed via generic thermal framework. > + > +config X86_PKG_TEMP_THERMAL > + tristate "X86 package temperature thermal driver" > + depends on X86_THERMAL_VECTOR > + select THERMAL_GOV_USER_SPACE > + select THERMAL_WRITABLE_TRIPS > + default m > + help > +   Enable this to register CPU digital sensor for package > temperature as > +   thermal zone. Each package will have its own thermal zone. > There are > +   two trip points which can be set by user to get > notifications via thermal > +   notification methods. > + > +config INTEL_SOC_DTS_IOSF_CORE > + tristate > + depends on X86 && PCI > + select IOSF_MBI > + help > +   This is becoming a common feature for Intel SoCs to expose > the additional > +   digital temperature sensors (DTSs) using side band > interface (IOSF). This > +   implements the common set of helper functions to register, > get temperature > +   and get/set thresholds on DTSs. > + > +config INTEL_SOC_DTS_THERMAL > + tristate "Intel SoCs DTS thermal driver" > + depends on X86 && PCI && ACPI > + select INTEL_SOC_DTS_IOSF_CORE > + select THERMAL_WRITABLE_TRIPS > + help > +   Enable this to register Intel SoCs (e.g. Bay Trail) > platform digital > +   temperature sensor (DTS). These SoCs have two additional > DTSs in > +   addition to DTSs on CPU cores. Each DTS will be registered > as a > +   thermal zone. There are two trip points. One of the trip > point can > +   be set by user mode programs to get notifications via > Linux thermal > +   notification methods.The other trip is a critical trip > point, which > +   was set by the driver based on the TJ MAX temperature. > + > +config INTEL_QUARK_DTS_THERMAL > + tristate "Intel Quark DTS thermal driver" > + depends on X86_INTEL_QUARK > + help > +   Enable this to register Intel Quark SoC (e.g. X1000) > platform digital > +   temperature sensor (DTS). For X1000 SoC, it has one on-die > DTS. > +   The DTS will be registered as a thermal zone. There are > two trip points: > +   hot & critical. The critical trip point default value is > set by > +   underlying BIOS/Firmware. > + > +menu "ACPI INT340X thermal drivers" > +source drivers/thermal/intel/int340x_thermal/Kconfig > +endmenu > + > +config INTEL_BXT_PMIC_THERMAL > + tristate "Intel Broxton PMIC thermal driver" > + depends on X86 && INTEL_SOC_PMIC_BXTWC && REGMAP > + help > +   Select this driver for Intel Broxton PMIC with ADC > channels monitoring > +   system temperature measurements and alerts. > +   This driver is used for monitoring the ADC channels of > PMIC and handles > +   the alert trip point interrupts and notifies the thermal > framework with > +   the trip point and temperature details of the zone. > + > +config INTEL_PCH_THERMAL > + tristate "Intel PCH Thermal Reporting Driver" > + depends on X86 && PCI > + help > +   Enable this to support thermal reporting on certain intel > PCHs. > +   Thermal reporting device will provide temperature reading, > +   programmable trip points and other information. > diff --git a/drivers/thermal/intel/Makefile > b/drivers/thermal/intel/Makefile > new file mode 100644 > index 000000000000..0d9736ced5d4 > --- /dev/null > +++ b/drivers/thermal/intel/Makefile > @@ -0,0 +1,12 @@ > +# SPDX-License-Identifier: GPL-2.0 > +# > +# Makefile for various Intel thermal drivers. > + > +obj-$(CONFIG_INTEL_POWERCLAMP) += intel_powerclamp.o > +obj-$(CONFIG_X86_PKG_TEMP_THERMAL) += x86_pkg_temp_thermal.o > +obj-$(CONFIG_INTEL_SOC_DTS_IOSF_CORE) += intel_soc_dts_iosf.o > +obj-$(CONFIG_INTEL_SOC_DTS_THERMAL) += > intel_soc_dts_thermal.o > +obj-$(CONFIG_INTEL_QUARK_DTS_THERMAL) += > intel_quark_dts_thermal.o > +obj-$(CONFIG_INT340X_THERMAL)  += int340x_thermal/ > +obj-$(CONFIG_INTEL_BXT_PMIC_THERMAL) += intel_bxt_pmic_thermal.o > +obj-$(CONFIG_INTEL_PCH_THERMAL) += intel_pch_thermal.o > diff --git a/drivers/thermal/int340x_thermal/Kconfig > b/drivers/thermal/intel/int340x_thermal/Kconfig > similarity index 100% > rename from drivers/thermal/int340x_thermal/Kconfig > rename to drivers/thermal/intel/int340x_thermal/Kconfig > diff --git a/drivers/thermal/int340x_thermal/Makefile > b/drivers/thermal/intel/int340x_thermal/Makefile > similarity index 100% > rename from drivers/thermal/int340x_thermal/Makefile > rename to drivers/thermal/intel/int340x_thermal/Makefile > diff --git a/drivers/thermal/int340x_thermal/acpi_thermal_rel.c > b/drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c > similarity index 100% > rename from drivers/thermal/int340x_thermal/acpi_thermal_rel.c > rename to drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c > diff --git a/drivers/thermal/int340x_thermal/acpi_thermal_rel.h > b/drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.h > similarity index 100% > rename from drivers/thermal/int340x_thermal/acpi_thermal_rel.h > rename to drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.h > diff --git a/drivers/thermal/int340x_thermal/int3400_thermal.c > b/drivers/thermal/intel/int340x_thermal/int3400_thermal.c > similarity index 100% > rename from drivers/thermal/int340x_thermal/int3400_thermal.c > rename to drivers/thermal/intel/int340x_thermal/int3400_thermal.c > diff --git a/drivers/thermal/int340x_thermal/int3402_thermal.c > b/drivers/thermal/intel/int340x_thermal/int3402_thermal.c > similarity index 100% > rename from drivers/thermal/int340x_thermal/int3402_thermal.c > rename to drivers/thermal/intel/int340x_thermal/int3402_thermal.c > diff --git a/drivers/thermal/int340x_thermal/int3403_thermal.c > b/drivers/thermal/intel/int340x_thermal/int3403_thermal.c > similarity index 100% > rename from drivers/thermal/int340x_thermal/int3403_thermal.c > rename to drivers/thermal/intel/int340x_thermal/int3403_thermal.c > diff --git a/drivers/thermal/int340x_thermal/int3406_thermal.c > b/drivers/thermal/intel/int340x_thermal/int3406_thermal.c > similarity index 100% > rename from drivers/thermal/int340x_thermal/int3406_thermal.c > rename to drivers/thermal/intel/int340x_thermal/int3406_thermal.c > diff --git a/drivers/thermal/int340x_thermal/int340x_thermal_zone.c > b/drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c > similarity index 100% > rename from drivers/thermal/int340x_thermal/int340x_thermal_zone.c > rename to > drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.c > diff --git a/drivers/thermal/int340x_thermal/int340x_thermal_zone.h > b/drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.h > similarity index 100% > rename from drivers/thermal/int340x_thermal/int340x_thermal_zone.h > rename to > drivers/thermal/intel/int340x_thermal/int340x_thermal_zone.h > diff --git > a/drivers/thermal/int340x_thermal/processor_thermal_device.c > b/drivers/thermal/intel/int340x_thermal/processor_thermal_device.c > similarity index 100% > rename from > drivers/thermal/int340x_thermal/processor_thermal_device.c > rename to > drivers/thermal/intel/int340x_thermal/processor_thermal_device.c > diff --git a/drivers/thermal/intel_bxt_pmic_thermal.c > b/drivers/thermal/intel/intel_bxt_pmic_thermal.c > similarity index 100% > rename from drivers/thermal/intel_bxt_pmic_thermal.c > rename to drivers/thermal/intel/intel_bxt_pmic_thermal.c > diff --git a/drivers/thermal/intel_pch_thermal.c > b/drivers/thermal/intel/intel_pch_thermal.c > similarity index 100% > rename from drivers/thermal/intel_pch_thermal.c > rename to drivers/thermal/intel/intel_pch_thermal.c > diff --git a/drivers/thermal/intel_powerclamp.c > b/drivers/thermal/intel/intel_powerclamp.c > similarity index 100% > rename from drivers/thermal/intel_powerclamp.c > rename to drivers/thermal/intel/intel_powerclamp.c > diff --git a/drivers/thermal/intel_quark_dts_thermal.c > b/drivers/thermal/intel/intel_quark_dts_thermal.c > similarity index 100% > rename from drivers/thermal/intel_quark_dts_thermal.c > rename to drivers/thermal/intel/intel_quark_dts_thermal.c > diff --git a/drivers/thermal/intel_soc_dts_iosf.c > b/drivers/thermal/intel/intel_soc_dts_iosf.c > similarity index 100% > rename from drivers/thermal/intel_soc_dts_iosf.c > rename to drivers/thermal/intel/intel_soc_dts_iosf.c > diff --git a/drivers/thermal/intel_soc_dts_iosf.h > b/drivers/thermal/intel/intel_soc_dts_iosf.h > similarity index 100% > rename from drivers/thermal/intel_soc_dts_iosf.h > rename to drivers/thermal/intel/intel_soc_dts_iosf.h > diff --git a/drivers/thermal/intel_soc_dts_thermal.c > b/drivers/thermal/intel/intel_soc_dts_thermal.c > similarity index 100% > rename from drivers/thermal/intel_soc_dts_thermal.c > rename to drivers/thermal/intel/intel_soc_dts_thermal.c > diff --git a/drivers/thermal/x86_pkg_temp_thermal.c > b/drivers/thermal/intel/x86_pkg_temp_thermal.c > similarity index 100% > rename from drivers/thermal/x86_pkg_temp_thermal.c > rename to drivers/thermal/intel/x86_pkg_temp_thermal.c