thermal-hal: Add support for Kona
Add support for Kona. Kona will use the same sensors
as msmnile.
Change-Id: Ibd9590333ceac406409452a9756dff1d3346c021
diff --git a/thermal_common.h b/thermal_common.h
index aecf153..76bcff6 100644
--- a/thermal_common.h
+++ b/thermal_common.h
@@ -43,6 +43,7 @@
THERM_SDMMAGPIE,
THERM_MSM_8917,
THERM_TRINKET,
+ THERM_KONA,
};
struct target_therm_cfg {
diff --git a/thermal_target.c b/thermal_target.c
index 49e7698..88d0b30 100644
--- a/thermal_target.c
+++ b/thermal_target.c
@@ -69,6 +69,7 @@
{THERM_MSMNILE, 339},
{THERM_MSMNILE, 362},
{THERM_MSMNILE, 367},
+ {THERM_KONA, 356},
{THERM_TALOS, 355},
{THERM_SDMMAGPIE, 365},
{THERM_MSM_8917, 303},
@@ -688,6 +689,7 @@
num_cfg = ARRAY_SIZE(sensor_cfg_8917);
break;
case THERM_MSMNILE:
+ case THERM_KONA:
cfg = sensor_cfg_msmnile;
num_cfg = ARRAY_SIZE(sensor_cfg_msmnile);
break;