thermal/drivers/intel: Move intel_menlow to thermal drivers
Subsystems (2)
PATCH 1/1 thermal/drivers/intel: Move intel_menlow to thermal drivers
Moved drivers/platform/x86/intel_menlow.c to drivers/thermal/intel.
---
MAINTAINERS | 4 ++--
drivers/platform/x86/Kconfig | 10 ----------
drivers/platform/x86/Makefile | 1 -
drivers/thermal/intel/Kconfig | 9 +++++++++
drivers/thermal/intel/Makefile | 1 +
drivers/{platform/x86 => thermal/intel}/intel_menlow.c | 0
6 files changed, 12 insertions(+), 13 deletions(-)
rename drivers/{platform/x86 => thermal/intel}/intel_menlow.c (100%)MAINTAINERS +2 -2
@@ -9459,10 +9459,10 @@ F: include/linux/mfd/intel-m10-bmc.h INTEL MENLOW THERMAL DRIVER M: Sujith Thomas <[email protected]> -L: [email protected] +L: [email protected] S: Supported W: https://01.org/linux-acpi -F: drivers/platform/x86/intel_menlow.c +F: drivers/thermal/intel/intel_menlow.c INTEL P-Unit IPC DRIVER M: Zha Qipeng <[email protected]>
drivers/platform/x86/Kconfig +0 -10
@@ -720,16 +720,6 @@ config INTEL_INT0002_VGPIO To compile this driver as a module, choose M here: the module will be called intel_int0002_vgpio. -config INTEL_MENLOW - tristate "Thermal Management driver for Intel menlow platform" - depends on ACPI_THERMAL - select THERMAL - help - ACPI thermal management enhancement driver on - Intel Menlow platform. - - If unsure, say N. - config INTEL_OAKTRAIL tristate "Intel Oaktrail Platform Extras" depends on ACPI
drivers/platform/x86/Makefile +0 -1
@@ -72,7 +72,6 @@ obj-$(CONFIG_INTEL_ATOMISP2_LED) += intel_atomisp2_led.o obj-$(CONFIG_INTEL_ATOMISP2_PM) += intel_atomisp2_pm.o obj-$(CONFIG_INTEL_HID_EVENT) += intel-hid.o obj-$(CONFIG_INTEL_INT0002_VGPIO) += intel_int0002_vgpio.o -obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o obj-$(CONFIG_INTEL_OAKTRAIL) += intel_oaktrail.o obj-$(CONFIG_INTEL_VBTN) += intel-vbtn.o
drivers/thermal/intel/Kconfig +9 -0
@@ -90,3 +90,12 @@ config INTEL_TCC_COOLING Note that, on different platforms, the behavior might be different on how fast the setting takes effect, and how much the CPU frequency is reduced. + +config INTEL_MENLOW + tristate "Thermal Management driver for Intel menlow platform" + depends on ACPI_THERMAL + help + ACPI thermal management enhancement driver on + Intel Menlow platform. + + If unsure, say N.
drivers/thermal/intel/Makefile +1 -0
@@ -12,3 +12,4 @@ obj-$(CONFIG_INTEL_BXT_PMIC_THERMAL) += intel_bxt_pmic_thermal.o obj-$(CONFIG_INTEL_PCH_THERMAL) += intel_pch_thermal.o obj-$(CONFIG_INTEL_TCC_COOLING) += intel_tcc_cooling.o obj-$(CONFIG_X86_THERMAL_VECTOR) += therm_throt.o +obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o
drivers/thermal/intel/intel_menlow.c renamed from drivers/platform/x86/intel_menlow.c +0 -0
Signature · 1 line
2.31.1
Hi,
Quoted 3 lines · Srinivas Pandruvada
Moved
drivers/platform/x86/intel_menlow.ctodrivers/thermal/intel.Signed-off-by Srinivas Pandruvada <[email protected]>
Thank you.
Rui, with this upcoming patch-series:
https://lore.kernel.org/platform-driver-x86/[email protected]/T/#t
drivers/platform/x86/Kconfig + Makefile
Are going to see quite a bit of churn, is it ok if I merge this patch through the pdx86 tree to avoid conflicts with all those changes?
Rui, if this is ok, may I have your ack for this then ?
Regards,
Hans
Quoted 91 lines
--- MAINTAINERS | 4 ++-- drivers/platform/x86/Kconfig | 10 ---------- drivers/platform/x86/Makefile | 1 - drivers/thermal/intel/Kconfig | 9 +++++++++ drivers/thermal/intel/Makefile | 1 + drivers/{platform/x86 => thermal/intel}/intel_menlow.c | 0 6 files changed, 12 insertions(+), 13 deletions(-) rename drivers/{platform/x86 => thermal/intel}/intel_menlow.c (100%)MAINTAINERS +2
-2@@ -9459,10 +9459,10 @@ F: include/linux/mfd/intel-m10-bmc.h INTEL MENLOW THERMAL DRIVER M: Sujith Thomas <[email protected]> -L: [email protected] +L: [email protected] S: Supported W: https://01.org/linux-acpi -F: drivers/platform/x86/intel_menlow.c +F: drivers/thermal/intel/intel_menlow.c INTEL P-Unit IPC DRIVER M: Zha Qipeng <[email protected]>drivers/platform/x86/Kconfig +0
-10@@ -720,16 +720,6 @@ config INTEL_INT0002_VGPIO To compile this driver as a module, choose M here: the module will be called intel_int0002_vgpio. -config INTEL_MENLOW - tristate "Thermal Management driver for Intel menlow platform" - depends on ACPI_THERMAL - select THERMAL - help - ACPI thermal management enhancement driver on - Intel Menlow platform. - - If unsure, say N. - config INTEL_OAKTRAIL tristate "Intel Oaktrail Platform Extras" depends on ACPIdrivers/platform/x86/Makefile +0
-1@@ -72,7 +72,6 @@ obj-$(CONFIG_INTEL_ATOMISP2_LED) += intel_atomisp2_led.o obj-$(CONFIG_INTEL_ATOMISP2_PM) += intel_atomisp2_pm.o obj-$(CONFIG_INTEL_HID_EVENT) += intel-hid.o obj-$(CONFIG_INTEL_INT0002_VGPIO) += intel_int0002_vgpio.o -obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o obj-$(CONFIG_INTEL_OAKTRAIL) += intel_oaktrail.o obj-$(CONFIG_INTEL_VBTN) += intel-vbtn.odrivers/thermal/intel/Kconfig +9
-0@@ -90,3 +90,12 @@ config INTEL_TCC_COOLING Note that, on different platforms, the behavior might be different on how fast the setting takes effect, and how much the CPU frequency is reduced. + +config INTEL_MENLOW + tristate "Thermal Management driver for Intel menlow platform" + depends on ACPI_THERMAL + help + ACPI thermal management enhancement driver on + Intel Menlow platform. + + If unsure, say N.drivers/thermal/intel/Makefile +1
-0@@ -12,3 +12,4 @@ obj-$(CONFIG_INTEL_BXT_PMIC_THERMAL) += intel_bxt_pmic_thermal.o obj-$(CONFIG_INTEL_PCH_THERMAL) += intel_pch_thermal.o obj-$(CONFIG_INTEL_TCC_COOLING) += intel_tcc_cooling.o obj-$(CONFIG_X86_THERMAL_VECTOR) += therm_throt.o +obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.odrivers/thermal/intel/intel_menlow.c renamed from drivers/platform/x86/intel_menlow.c +0
-0
Daniel Lezcano
Acked-byHi Hans,
Quoted 11 lines · Hans de Goede
Hi,
Quoted 3 lines · Srinivas Pandruvada
Moved
drivers/platform/x86/intel_menlow.ctodrivers/thermal/intel.Signed-off-by Srinivas Pandruvada <[email protected]>Thank you.
Rui, with this upcoming patch-series:
Quoted 8 lines
https://lore.kernel.org/platform-driver-x86/[email protected]/T/#t
drivers/platform/x86/Kconfig+MakefileAre going to see quite a bit of churn, is it ok if I merge this patch through the pdx86 tree to avoid conflicts with all those changes?
Rui, if this is ok, may I have your ack for this then ?
As co-maintainer:
Quoted 92 lines
Quoted 91 lines
--- MAINTAINERS | 4 ++-- drivers/platform/x86/Kconfig | 10 ---------- drivers/platform/x86/Makefile | 1 - drivers/thermal/intel/Kconfig | 9 +++++++++ drivers/thermal/intel/Makefile | 1 + drivers/{platform/x86 => thermal/intel}/intel_menlow.c | 0 6 files changed, 12 insertions(+), 13 deletions(-) rename drivers/{platform/x86 => thermal/intel}/intel_menlow.c (100%)MAINTAINERS +2
-2@@ -9459,10 +9459,10 @@ F: include/linux/mfd/intel-m10-bmc.h INTEL MENLOW THERMAL DRIVER M: Sujith Thomas <[email protected]> -L: [email protected] +L: [email protected] S: Supported W: https://01.org/linux-acpi -F: drivers/platform/x86/intel_menlow.c +F: drivers/thermal/intel/intel_menlow.c INTEL P-Unit IPC DRIVER M: Zha Qipeng <[email protected]>drivers/platform/x86/Kconfig +0
-10@@ -720,16 +720,6 @@ config INTEL_INT0002_VGPIO To compile this driver as a module, choose M here: the module will be called intel_int0002_vgpio. -config INTEL_MENLOW - tristate "Thermal Management driver for Intel menlow platform" - depends on ACPI_THERMAL - select THERMAL - help - ACPI thermal management enhancement driver on - Intel Menlow platform. - - If unsure, say N. - config INTEL_OAKTRAIL tristate "Intel Oaktrail Platform Extras" depends on ACPIdrivers/platform/x86/Makefile +0
-1@@ -72,7 +72,6 @@ obj-$(CONFIG_INTEL_ATOMISP2_LED) += intel_atomisp2_led.o obj-$(CONFIG_INTEL_ATOMISP2_PM) += intel_atomisp2_pm.o obj-$(CONFIG_INTEL_HID_EVENT) += intel-hid.o obj-$(CONFIG_INTEL_INT0002_VGPIO) += intel_int0002_vgpio.o -obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o obj-$(CONFIG_INTEL_OAKTRAIL) += intel_oaktrail.o obj-$(CONFIG_INTEL_VBTN) += intel-vbtn.odrivers/thermal/intel/Kconfig +9
-0@@ -90,3 +90,12 @@ config INTEL_TCC_COOLING Note that, on different platforms, the behavior might be different on how fast the setting takes effect, and how much the CPU frequency is reduced. + +config INTEL_MENLOW + tristate "Thermal Management driver for Intel menlow platform" + depends on ACPI_THERMAL + help + ACPI thermal management enhancement driver on + Intel Menlow platform. + + If unsure, say N.drivers/thermal/intel/Makefile +1
-0@@ -12,3 +12,4 @@ obj-$(CONFIG_INTEL_BXT_PMIC_THERMAL) += intel_bxt_pmic_thermal.o obj-$(CONFIG_INTEL_PCH_THERMAL) += intel_pch_thermal.o obj-$(CONFIG_INTEL_TCC_COOLING) += intel_tcc_cooling.o obj-$(CONFIG_X86_THERMAL_VECTOR) += therm_throt.o +obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.odrivers/thermal/intel/intel_menlow.c renamed from drivers/platform/x86/intel_menlow.c +0
-0
Signature · 5 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog
Zhang Rui
reviewerQuoted 17 lines · Daniel Lezcano
Hi Hans,
Quoted 14 lines · Hans de Goede
Hi,
Quoted 5 lines · Srinivas Pandruvada
Moved
drivers/platform/x86/intel_menlow.ctodrivers/thermal/intel.Signed-off-by: Srinivas Pandruvada <
[email protected]>Thank you.
Rui, with this upcoming patch-series:
https://lore.kernel.org/platform-driver-x86/[email protected]/T/#t
Quoted 7 lines
Quoted 7 lines
drivers/platform/x86/Kconfig+MakefileAre going to see quite a bit of churn, is it ok if I merge this patch
through the pdx86 tree to avoid conflicts with all those changes?
Quoted 5 lines
Quoted 1 line
Rui, if this is ok, may I have your ack for this then ?
As co-maintainer:
Acked-by Daniel Lezcano <[email protected]>
Done, thanks for the reminder.
-rui
Quoted 111 lines
Quoted 109 lines
Quoted 109 lines
--- MAINTAINERS | 4 ++-- drivers/platform/x86/Kconfig | 10 ---- ------ drivers/platform/x86/Makefile | 1 - drivers/thermal/intel/Kconfig | 9 +++++++++ drivers/thermal/intel/Makefile | 1 + drivers/{platform/x86 => thermal/intel}/intel_menlow.c | 0 6 files changed, 12 insertions(+), 13 deletions(-) rename drivers/{platform/x86 => thermal/intel}/intel_menlow.c(100%)
MAINTAINERS +0
-0@@ -9459,10 +9459,10 @@ F: include/linux/mfd/intel-m10-
bmc.hINTEL MENLOW THERMAL DRIVER
M: Sujith Thomas <[email protected]>MAINTAINERS +2
-2-L: [email protected] +L: [email protected] S: Supported W: https://01.org/linux-acpi -F: drivers/platform/x86/intel_menlow.c +F: drivers/thermal/intel/intel_menlow.c INTEL P-Unit IPC DRIVER M: Zha Qipeng <[email protected]>drivers/platform/x86/Kconfig +0
-0@@ -720,16 +720,6 @@ config INTEL_INT0002_VGPIO To compile this driver as a module, choose M here: the modulewill
drivers/platform/x86/Kconfig +0
-10be called intel_int0002_vgpio. -config INTEL_MENLOW - tristate "Thermal Management driver for Intel menlow platform" - depends on ACPI_THERMAL - select THERMAL - help - ACPI thermal management enhancement driver on - Intel Menlow platform. - - If unsure, say N. - config INTEL_OAKTRAIL tristate "Intel Oaktrail Platform Extras" depends on ACPIdrivers/platform/x86/Makefile +0
-0@@ -72,7 +72,6 @@ obj-$(CONFIG_INTEL_ATOMISP2_LED) +=intel_atomisp2_led.o
obj-$(CONFIG_INTEL_ATOMISP2_PM) += intel_atomisp2_pm.o
obj-$(CONFIG_INTEL_HID_EVENT) += intel-hid.o
obj-$(CONFIG_INTEL_INT0002_VGPIO) +=
intel_int0002_vgpio.odrivers/platform/x86/Makefile +0
-1-obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o obj-$(CONFIG_INTEL_OAKTRAIL) += intel_oaktrail.o obj-$(CONFIG_INTEL_VBTN) += intel-vbtn.odrivers/thermal/intel/Kconfig +0
-0@@ -90,3 +90,12 @@ config INTEL_TCC_COOLING Note that, on different platforms, the behavior might bedifferent
on how fast the setting takes effect, and how much the CPU
frequencydrivers/thermal/intel/Kconfig +9
-0is reduced. + +config INTEL_MENLOW + tristate "Thermal Management driver for Intel menlow platform" + depends on ACPI_THERMAL + help + ACPI thermal management enhancement driver on + Intel Menlow platform. + + If unsure, say N.drivers/thermal/intel/Makefile +0
-0@@ -12,3 +12,4 @@ obj-$(CONFIG_INTEL_BXT_PMIC_THERMAL) +=intel_bxt_pmic_thermal.o
obj-$(CONFIG_INTEL_PCH_THERMAL) += intel_pch_thermal.o
obj-$(CONFIG_INTEL_TCC_COOLING) += intel_tcc_cooling.o
obj-$(CONFIG_X86_THERMAL_VECTOR) += therm_throt.odrivers/thermal/intel/Makefile +1
-0+obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.odrivers/thermal/intel/intel_menlow.c renamed from drivers/platform/x86/intel_menlow.c +0
-0
Quoted 4 lines · Srinivas Pandruvada
Moved
drivers/platform/x86/intel_menlow.ctodrivers/thermal/intel.Signed-off-by: Srinivas Pandruvada <
[email protected]>
thanks,
rui
Quoted 102 lines
--- MAINTAINERS | 4 ++-- drivers/platform/x86/Kconfig | 10 -------- -- drivers/platform/x86/Makefile | 1 - drivers/thermal/intel/Kconfig | 9 +++++++++ drivers/thermal/intel/Makefile | 1 + drivers/{platform/x86 => thermal/intel}/intel_menlow.c | 0 6 files changed, 12 insertions(+), 13 deletions(-) rename drivers/{platform/x86 => thermal/intel}/intel_menlow.c (100%)MAINTAINERS +2
-2@@ -9459,10 +9459,10 @@ F: include/linux/mfd/intel-m10-bmc.h INTEL MENLOW THERMAL DRIVER M: Sujith Thomas <[email protected]> -L: [email protected] +L: [email protected] S: Supported W: https://01.org/linux-acpi -F: drivers/platform/x86/intel_menlow.c +F: drivers/thermal/intel/intel_menlow.c INTEL P-Unit IPC DRIVER M: Zha Qipeng <[email protected]>drivers/platform/x86/Kconfig +0
-0@@ -720,16 +720,6 @@ config INTEL_INT0002_VGPIO To compile this driver as a module, choose M here: the modulewill
drivers/platform/x86/Kconfig +0
-10be called intel_int0002_vgpio. -config INTEL_MENLOW - tristate "Thermal Management driver for Intel menlow platform" - depends on ACPI_THERMAL - select THERMAL - help - ACPI thermal management enhancement driver on - Intel Menlow platform. - - If unsure, say N. - config INTEL_OAKTRAIL tristate "Intel Oaktrail Platform Extras" depends on ACPIdrivers/platform/x86/Makefile +0
-0@@ -72,7 +72,6 @@ obj-$(CONFIG_INTEL_ATOMISP2_LED) +=intel_atomisp2_led.o
obj-$(CONFIG_INTEL_ATOMISP2_PM) += intel_atomisp2_pm.o
obj-$(CONFIG_INTEL_HID_EVENT) += intel-hid.o
obj-$(CONFIG_INTEL_INT0002_VGPIO) += intel_int0002_vgpio.odrivers/platform/x86/Makefile +0
-1-obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o obj-$(CONFIG_INTEL_OAKTRAIL) += intel_oaktrail.o obj-$(CONFIG_INTEL_VBTN) += intel-vbtn.odrivers/thermal/intel/Kconfig +0
-0@@ -90,3 +90,12 @@ config INTEL_TCC_COOLING Note that, on different platforms, the behavior might bedifferent
on how fast the setting takes effect, and how much the CPU
frequencydrivers/thermal/intel/Kconfig +9
-0is reduced. + +config INTEL_MENLOW + tristate "Thermal Management driver for Intel menlow platform" + depends on ACPI_THERMAL + help + ACPI thermal management enhancement driver on + Intel Menlow platform. + + If unsure, say N.drivers/thermal/intel/Makefile +0
-0@@ -12,3 +12,4 @@ obj-$(CONFIG_INTEL_BXT_PMIC_THERMAL) +=intel_bxt_pmic_thermal.o
obj-$(CONFIG_INTEL_PCH_THERMAL) += intel_pch_thermal.o
obj-$(CONFIG_INTEL_TCC_COOLING) += intel_tcc_cooling.o
obj-$(CONFIG_X86_THERMAL_VECTOR) += therm_throt.odrivers/thermal/intel/Makefile +1
-0+obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.odrivers/thermal/intel/intel_menlow.c renamed from drivers/platform/x86/intel_menlow.c +0
-0
Hi,
Quoted 3 lines · Srinivas Pandruvada
Moved
drivers/platform/x86/intel_menlow.ctodrivers/thermal/intel.Signed-off-by Srinivas Pandruvada <[email protected]>
Thank you for your patch, I've applied this patch to my review-hans branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans
(with the 2 acks from the thermal subsys maintainers added)
Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window.
Regards,
Hans
Quoted 91 lines
--- MAINTAINERS | 4 ++-- drivers/platform/x86/Kconfig | 10 ---------- drivers/platform/x86/Makefile | 1 - drivers/thermal/intel/Kconfig | 9 +++++++++ drivers/thermal/intel/Makefile | 1 + drivers/{platform/x86 => thermal/intel}/intel_menlow.c | 0 6 files changed, 12 insertions(+), 13 deletions(-) rename drivers/{platform/x86 => thermal/intel}/intel_menlow.c (100%)MAINTAINERS +2
-2@@ -9459,10 +9459,10 @@ F: include/linux/mfd/intel-m10-bmc.h INTEL MENLOW THERMAL DRIVER M: Sujith Thomas <[email protected]> -L: [email protected] +L: [email protected] S: Supported W: https://01.org/linux-acpi -F: drivers/platform/x86/intel_menlow.c +F: drivers/thermal/intel/intel_menlow.c INTEL P-Unit IPC DRIVER M: Zha Qipeng <[email protected]>drivers/platform/x86/Kconfig +0
-10@@ -720,16 +720,6 @@ config INTEL_INT0002_VGPIO To compile this driver as a module, choose M here: the module will be called intel_int0002_vgpio. -config INTEL_MENLOW - tristate "Thermal Management driver for Intel menlow platform" - depends on ACPI_THERMAL - select THERMAL - help - ACPI thermal management enhancement driver on - Intel Menlow platform. - - If unsure, say N. - config INTEL_OAKTRAIL tristate "Intel Oaktrail Platform Extras" depends on ACPIdrivers/platform/x86/Makefile +0
-1@@ -72,7 +72,6 @@ obj-$(CONFIG_INTEL_ATOMISP2_LED) += intel_atomisp2_led.o obj-$(CONFIG_INTEL_ATOMISP2_PM) += intel_atomisp2_pm.o obj-$(CONFIG_INTEL_HID_EVENT) += intel-hid.o obj-$(CONFIG_INTEL_INT0002_VGPIO) += intel_int0002_vgpio.o -obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o obj-$(CONFIG_INTEL_OAKTRAIL) += intel_oaktrail.o obj-$(CONFIG_INTEL_VBTN) += intel-vbtn.odrivers/thermal/intel/Kconfig +9
-0@@ -90,3 +90,12 @@ config INTEL_TCC_COOLING Note that, on different platforms, the behavior might be different on how fast the setting takes effect, and how much the CPU frequency is reduced. + +config INTEL_MENLOW + tristate "Thermal Management driver for Intel menlow platform" + depends on ACPI_THERMAL + help + ACPI thermal management enhancement driver on + Intel Menlow platform. + + If unsure, say N.drivers/thermal/intel/Makefile +1
-0@@ -12,3 +12,4 @@ obj-$(CONFIG_INTEL_BXT_PMIC_THERMAL) += intel_bxt_pmic_thermal.o obj-$(CONFIG_INTEL_PCH_THERMAL) += intel_pch_thermal.o obj-$(CONFIG_INTEL_TCC_COOLING) += intel_tcc_cooling.o obj-$(CONFIG_X86_THERMAL_VECTOR) += therm_throt.o +obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.odrivers/thermal/intel/intel_menlow.c renamed from drivers/platform/x86/intel_menlow.c +0
-0