thermal: Add HiSilicon Kunpeng thermal driver and Maintainers
cover thermal: Add HiSilicon Kunpeng thermal driver and Maintainers
Add HiSilicon Kunpeng thermal driver and Maintainers.
Yang Shen (2):
thermal: Add HiSilicon Kunpeng thermal driver
MAINTAINERS: Add maintainers for kunpeng thermal
MAINTAINERS | 7 ++ drivers/thermal/Kconfig | 8 ++ drivers/thermal/Makefile | 1 + drivers/thermal/kunpeng_thermal.c | 219 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 235 insertions(+) create mode 100644 drivers/thermal/kunpeng_thermal.c
--
2.7.4
PATCH 2/2 MAINTAINERS: Add maintainers for kunpeng thermal
Add Yang Shen and Zhou Wang as maintainers for kunpeng thermal
Signed-off-by Yang Shen <[email protected]>
Signed-off-by Zhou Wang <[email protected]>
--- MAINTAINERS | 7 +++++++ 1 file changed, 7 insertions(+)
MAINTAINERS +7 -0
@@ -7602,6 +7602,13 @@ F: drivers/crypto/hisilicon/sgl.c F: drivers/crypto/hisilicon/zip/ F: Documentation/ABI/testing/debugfs-hisi-zip +HISILICON KUNPENG TSENSOR DRIVER +M: Yang Shen <[email protected]> +M: Zhou Wang <[email protected]> +L: [email protected] +S: Maintained +F: drivers/thermal/kunpeng_thermal.c + HMM - Heterogeneous Memory Management M: Jérôme Glisse <[email protected]> L: [email protected]
Signature · 1 line
2.7.4
PATCH 1/2 thermal: Add HiSilicon Kunpeng thermal driver
In reply to Yang ShenSupport HiSilicon Kunpeng tsensor. the driver will report the max temperature for each core.
Signed-off-by Yang Shen <[email protected]>
Signed-off-by Zhou Wang <[email protected]>
Signed-off-by Kunshan Tang <[email protected]>
--- drivers/thermal/Kconfig | 8 ++ drivers/thermal/Makefile | 1 + drivers/thermal/kunpeng_thermal.c | 219 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 228 insertions(+) create mode 100644 drivers/thermal/kunpeng_thermal.c
drivers/thermal/Kconfig +8 -0
@@ -239,6 +239,14 @@ config HISI_THERMAL thermal framework. cpufreq is used as the cooling device to throttle CPUs when the passive trip is crossed. +config KUNPENG_THERMAL + tristate "HiSilicon kunpeng thermal driver" + depends on ARM64 || COMPILE_TEST + help + Enable this to plug HiSilicon kunpeng's thermal sensors driver into + the Linux thermal framework, which supports to get the highest + temperature of one Kunpeng SoC. + config IMX_THERMAL tristate "Temperature sensor driver for Freescale i.MX SoCs" depends on ARCH_MXC || COMPILE_TEST
drivers/thermal/Makefile +1 -0
@@ -57,3 +57,4 @@ obj-$(CONFIG_GENERIC_ADC_THERMAL) += thermal-generic-adc.o obj-$(CONFIG_ZX2967_THERMAL) += zx2967_thermal.o obj-$(CONFIG_UNIPHIER_THERMAL) += uniphier_thermal.o obj-$(CONFIG_AMLOGIC_THERMAL) += amlogic_thermal.o +obj-$(CONFIG_KUNPENG_THERMAL) += kunpeng_thermal.o
drivers/thermal/kunpeng_thermal.c new file +219 -0
219 lines not on this page · raw message
Signature · 1 line
2.7.4