summaryrefslogtreecommitdiff
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorWei Ni <wni@nvidia.com>2016-05-11 13:20:18 +0300
committerZhang Rui <rui.zhang@intel.com>2016-09-27 09:02:32 +0300
commit6c7c324570847a459c21e7298bc5c92a40577103 (patch)
tree7dfd5c5de374537f1dc8a57205782640b02c3336 /include/dt-bindings
parentce0dbf04f685d48ffdec64a17ebb4965f828c3ff (diff)
downloadlinux-6c7c324570847a459c21e7298bc5c92a40577103.tar.xz
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')
-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