diff mbox series

thermal: intel: intel_pch_thermal: Add Cannon Lake Low Power PCH support

Message ID 1596097503-27924-1-git-send-email-sumeet.r.pawnikar@intel.com (mailing list archive)
State New, archived
Delegated to: Daniel Lezcano
Headers show
Series thermal: intel: intel_pch_thermal: Add Cannon Lake Low Power PCH support | expand

Commit Message

Sumeet Pawnikar July 30, 2020, 8:25 a.m. UTC
Add LP (Low Power) PCH id for Cannon Lake (CNL) based platforms.

Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@intel.com>
---
 drivers/thermal/intel/intel_pch_thermal.c |    3 +++
 1 file changed, 3 insertions(+)

Comments

Daniel Lezcano July 31, 2020, 9:43 a.m. UTC | #1
On 30/07/2020 10:25, Sumeet Pawnikar wrote:
> Add LP (Low Power) PCH id for Cannon Lake (CNL) based platforms.
> 
> Signed-off-by: Sumeet Pawnikar <sumeet.r.pawnikar@intel.com>
> ---

Applied, thanks
diff mbox series

Patch

diff --git a/drivers/thermal/intel/intel_pch_thermal.c b/drivers/thermal/intel/intel_pch_thermal.c
index 56401fd4708d..7ed66927d822 100644
--- a/drivers/thermal/intel/intel_pch_thermal.c
+++ b/drivers/thermal/intel/intel_pch_thermal.c
@@ -24,6 +24,7 @@ 
 #define PCH_THERMAL_DID_SKL_H	0xA131 /* Skylake PCH 100 series */
 #define PCH_THERMAL_DID_CNL	0x9Df9 /* CNL PCH */
 #define PCH_THERMAL_DID_CNL_H	0xA379 /* CNL-H PCH */
+#define PCH_THERMAL_DID_CNL_LP	0x02F9 /* CNL-LP PCH */
 #define PCH_THERMAL_DID_CML_H	0X06F9 /* CML-H PCH */
 
 /* Wildcat Point-LP  PCH Thermal registers */
@@ -405,6 +406,8 @@  static int intel_pch_thermal_resume(struct device *device)
 		.driver_data = board_cnl, },
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCH_THERMAL_DID_CNL_H),
 		.driver_data = board_cnl, },
+	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCH_THERMAL_DID_CNL_LP),
+		.driver_data = board_cnl, },
 	{ PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCH_THERMAL_DID_CML_H),
 		.driver_data = board_cml, },
 	{ 0, },