summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/thermal
diff options
context:
space:
mode:
authorWei Ni <wni@nvidia.com>2016-05-11 18:20:18 +0800
committerZhang Rui <rui.zhang@intel.com>2016-09-27 14:02:32 +0800
commit6c7c324570847a459c21e7298bc5c92a40577103 (patch)
tree7dfd5c5de374537f1dc8a57205782640b02c3336 /include/dt-bindings/thermal
parentce0dbf04f685d48ffdec64a17ebb4965f828c3ff (diff)
downloadtalos-obmc-linux-6c7c324570847a459c21e7298bc5c92a40577103.tar.gz
talos-obmc-linux-6c7c324570847a459c21e7298bc5c92a40577103.zip
thermal: tegra: add hw-throttle for Tegra132
Tegra132 use CCROC throttle registers to configure pulse skiper, set these registers to enable throttle function for Tegra132. Signed-off-by: Wei Ni <wni@nvidia.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'include/dt-bindings/thermal')
-rw-r--r--include/dt-bindings/thermal/tegra124-soctherm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/dt-bindings/thermal/tegra124-soctherm.h b/include/dt-bindings/thermal/tegra124-soctherm.h
index 729ab9fc325e..2a99f1d52bb5 100644
--- a/include/dt-bindings/thermal/tegra124-soctherm.h
+++ b/include/dt-bindings/thermal/tegra124-soctherm.h
@@ -11,4 +11,9 @@
#define TEGRA124_SOCTHERM_SENSOR_PLLX 3
#define TEGRA124_SOCTHERM_SENSOR_NUM 4
+#define TEGRA_SOCTHERM_THROT_LEVEL_LOW 0
+#define TEGRA_SOCTHERM_THROT_LEVEL_MED 1
+#define TEGRA_SOCTHERM_THROT_LEVEL_HIGH 2
+#define TEGRA_SOCTHERM_THROT_LEVEL_NONE -1
+
#endif
OpenPOWER on IntegriCloud