thermal: tegra: get rid of PDIV/HOTSPOT hack
authorWei Ni <wni@nvidia.com>
Tue, 29 Mar 2016 10:29:13 +0000 (18:29 +0800)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 17 May 2016 14:28:28 +0000 (07:28 -0700)
commit1c3bdc1627c331b4925a95453f7b61226077bebe
tree40cff9431633c702a6b2be36ced7363f9265ea77
parent6f7e0d9d08c7fa3847b1380b16dff7e14523933c
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>
drivers/thermal/tegra/tegra-soctherm.c
This page took 0.024057 seconds and 5 git commands to generate.