Makefile 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # SPDX-License-Identifier: GPL-2.0
  2. #
  3. # Makefile for sensor chip drivers.
  4. #
  5. obj-$(CONFIG_THERMAL) += thermal_sys.o
  6. thermal_sys-y += thermal_core.o thermal_sysfs.o \
  7. thermal_helpers.o
  8. # interface to/from other layers providing sensors
  9. thermal_sys-$(CONFIG_THERMAL_HWMON) += thermal_hwmon.o
  10. thermal_sys-$(CONFIG_THERMAL_OF) += of-thermal.o
  11. # governors
  12. thermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE) += fair_share.o
  13. thermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG) += gov_bang_bang.o
  14. thermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE) += step_wise.o
  15. thermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE) += user_space.o
  16. thermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR) += power_allocator.o
  17. # cpufreq cooling
  18. thermal_sys-$(CONFIG_CPU_THERMAL) += cpu_cooling.o
  19. # clock cooling
  20. thermal_sys-$(CONFIG_CLOCK_THERMAL) += clock_cooling.o
  21. # devfreq cooling
  22. thermal_sys-$(CONFIG_DEVFREQ_THERMAL) += devfreq_cooling.o
  23. # platform thermal drivers
  24. obj-y += broadcom/
  25. obj-$(CONFIG_QCOM_SPMI_TEMP_ALARM) += qcom-spmi-temp-alarm.o
  26. obj-$(CONFIG_SPEAR_THERMAL) += spear_thermal.o
  27. obj-$(CONFIG_ROCKCHIP_THERMAL) += rockchip_thermal.o
  28. obj-$(CONFIG_RCAR_THERMAL) += rcar_thermal.o
  29. obj-$(CONFIG_RCAR_GEN3_THERMAL) += rcar_gen3_thermal.o
  30. obj-$(CONFIG_KIRKWOOD_THERMAL) += kirkwood_thermal.o
  31. obj-y += samsung/
  32. obj-$(CONFIG_DOVE_THERMAL) += dove_thermal.o
  33. obj-$(CONFIG_DB8500_THERMAL) += db8500_thermal.o
  34. obj-$(CONFIG_ARMADA_THERMAL) += armada_thermal.o
  35. obj-$(CONFIG_TANGO_THERMAL) += tango_thermal.o
  36. obj-$(CONFIG_IMX_THERMAL) += imx_thermal.o
  37. obj-$(CONFIG_MAX77620_THERMAL) += max77620_thermal.o
  38. obj-$(CONFIG_QORIQ_THERMAL) += qoriq_thermal.o
  39. obj-$(CONFIG_DA9062_THERMAL) += da9062-thermal.o
  40. obj-$(CONFIG_INTEL_POWERCLAMP) += intel_powerclamp.o
  41. obj-$(CONFIG_X86_PKG_TEMP_THERMAL) += x86_pkg_temp_thermal.o
  42. obj-$(CONFIG_INTEL_SOC_DTS_IOSF_CORE) += intel_soc_dts_iosf.o
  43. obj-$(CONFIG_INTEL_SOC_DTS_THERMAL) += intel_soc_dts_thermal.o
  44. obj-$(CONFIG_INTEL_QUARK_DTS_THERMAL) += intel_quark_dts_thermal.o
  45. obj-$(CONFIG_TI_SOC_THERMAL) += ti-soc-thermal/
  46. obj-$(CONFIG_INT340X_THERMAL) += int340x_thermal/
  47. obj-$(CONFIG_INTEL_BXT_PMIC_THERMAL) += intel_bxt_pmic_thermal.o
  48. obj-$(CONFIG_INTEL_PCH_THERMAL) += intel_pch_thermal.o
  49. obj-$(CONFIG_ST_THERMAL) += st/
  50. obj-$(CONFIG_QCOM_TSENS) += qcom/
  51. obj-y += tegra/
  52. obj-$(CONFIG_HISI_THERMAL) += hisi_thermal.o
  53. obj-$(CONFIG_MTK_THERMAL) += mtk_thermal.o
  54. obj-$(CONFIG_GENERIC_ADC_THERMAL) += thermal-generic-adc.o
  55. obj-$(CONFIG_ZX2967_THERMAL) += zx2967_thermal.o
  56. obj-$(CONFIG_UNIPHIER_THERMAL) += uniphier_thermal.o