diff options
author | Ram Chandrasekar <rkumbako@codeaurora.org> | 2019-01-18 12:30:03 -0700 |
---|---|---|
committer | Ram Chandrasekar <rkumbako@codeaurora.org> | 2019-01-18 16:59:39 -0700 |
commit | a4ffb835ff5ed35ae2ae29eea375726b79951dd1 (patch) | |
tree | 0de73c0b8294028959d344754dce9f5b47b08394 | |
parent | 343f19fdcc2742b06dcc781e77117be6eaa9d1e0 (diff) | |
download | thermal-a4ffb835ff5ed35ae2ae29eea375726b79951dd1.tar.gz |
thermal-hal: Add support for Kona
Add support for Kona. Kona will use the same sensors
as msmnile.
Change-Id: Ibd9590333ceac406409452a9756dff1d3346c021
-rw-r--r-- | thermal_common.h | 1 | ||||
-rw-r--r-- | thermal_target.c | 2 |
2 files changed, 3 insertions, 0 deletions
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 @@ enum therm_msm_id { 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 @@ static struct therm_msm_soc_type msm_soc_table[] = { {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 @@ ssize_t get_temperatures(thermal_module_t *module, temperature_t *list, size_t s 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; |