commit | 1c3bdc1627c331b4925a95453f7b61226077bebe | [log] [tgz] |
---|---|---|
author | Wei Ni <wni@nvidia.com> | Tue Mar 29 18:29:13 2016 +0800 |
committer | Eduardo Valentin <edubezval@gmail.com> | Tue May 17 07:28:28 2016 -0700 |
tree | 40cff9431633c702a6b2be36ced7363f9265ea77 | |
parent | 6f7e0d9d08c7fa3847b1380b16dff7e14523933c [diff] |
thermal: tegra: get rid of PDIV/HOTSPOT hack Get rid of T124-specific PDIV/HOTSPOT hack. tegra-soctherm.c contained a hack to set the SENSOR_PDIV and SENSOR_HOTSPOT_OFFSET registers - it just did two writes of T124-specific opaque values. Convert these into a form that can be substituted on a per-chip basis, and into structure fields that have at least some independent meaning. Signed-off-by: Wei Ni <wni@nvidia.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>