aboutsummaryrefslogtreecommitdiffstats
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorPeter De Schrijver <pdeschrijver@nvidia.com>2017-03-15 14:59:32 +0200
committerThierry Reding <treding@nvidia.com>2017-03-20 14:20:42 +0100
commit68d724cedcca8ab86eee824682f7da0af5e6e50d (patch)
tree5909964d7c89fafc43c7bba174fb6b81edd17546 /include/dt-bindings
parentclk: tegra: Rework pll_u (diff)
downloadlinux-dev-68d724cedcca8ab86eee824682f7da0af5e6e50d.tar.xz
linux-dev-68d724cedcca8ab86eee824682f7da0af5e6e50d.zip
clk: tegra: Add Tegra210 special resets
Tegra210 has 2 special resets which don't follow the normal pattern: DVCO and ADSP. Add them in this patch. Changelog: v2: add DT bindings file Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/reset/tegra210-car.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/dt-bindings/reset/tegra210-car.h b/include/dt-bindings/reset/tegra210-car.h
new file mode 100644
index 000000000000..296ec6e3f8c0
--- /dev/null
+++ b/include/dt-bindings/reset/tegra210-car.h
@@ -0,0 +1,13 @@
+/*
+ * This header provides Tegra210-specific constants for binding
+ * nvidia,tegra210-car.
+ */
+
+#ifndef _DT_BINDINGS_RESET_TEGRA210_CAR_H
+#define _DT_BINDINGS_RESET_TEGRA210_CAR_H
+
+#define TEGRA210_RESET(x) (7 * 32 + (x))
+#define TEGRA210_RST_DFLL_DVCO TEGRA210_RESET(0)
+#define TEGRA210_RST_ADSP TEGRA210_RESET(1)
+
+#endif /* _DT_BINDINGS_RESET_TEGRA210_CAR_H */