OSDN Git Service

thermal: tegra: enable OC hw throttle
authorWei Ni <wni@nvidia.com>
Thu, 21 Feb 2019 10:18:47 +0000 (18:18 +0800)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 14 May 2019 03:35:34 +0000 (20:35 -0700)
commit1dcc242c7c75897bf0dfbcd1f563b7ab71cb4bb4
tree4e1c12b76daf8d2c0fe52bec178ba1a7a30486a0
parent8d3d462b684a064a45e68b64d40e9937966802d9
thermal: tegra: enable OC hw throttle

Parse Over Current settings from DT and program them to
generate interrupts. Also enable hw throttling whenever
there are OC events. Log the OC events as debug messages.

Signed-off-by: Wei Ni <wni@nvidia.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/tegra/soctherm.c