diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2018-04-09 15:28:26 -0400 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2018-04-27 05:21:21 -0400 |
commit | 5c8d08f3471265dfd2f6db6d381751848dbf7db3 (patch) | |
tree | e61d63948fd2042401af352a11eee842a5a4f3c2 | |
parent | 60cc43fc888428bb2f18f08997432d426a243338 (diff) |
dt-bindings: memory: tegra: Add hot resets definitions
Add definitions for the Tegra20+ memory controller hot resets.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
-rw-r--r-- | include/dt-bindings/memory/tegra114-mc.h | 19 | ||||
-rw-r--r-- | include/dt-bindings/memory/tegra124-mc.h | 25 | ||||
-rw-r--r-- | include/dt-bindings/memory/tegra20-mc.h | 21 | ||||
-rw-r--r-- | include/dt-bindings/memory/tegra210-mc.h | 31 | ||||
-rw-r--r-- | include/dt-bindings/memory/tegra30-mc.h | 19 |
5 files changed, 115 insertions, 0 deletions
diff --git a/include/dt-bindings/memory/tegra114-mc.h b/include/dt-bindings/memory/tegra114-mc.h index 27c8386987ff..54a12adec7b8 100644 --- a/include/dt-bindings/memory/tegra114-mc.h +++ b/include/dt-bindings/memory/tegra114-mc.h | |||
@@ -23,4 +23,23 @@ | |||
23 | #define TEGRA_SWGROUP_EMUCIF 18 | 23 | #define TEGRA_SWGROUP_EMUCIF 18 |
24 | #define TEGRA_SWGROUP_TSEC 19 | 24 | #define TEGRA_SWGROUP_TSEC 19 |
25 | 25 | ||
26 | #define TEGRA114_MC_RESET_AFI 0 | ||
27 | #define TEGRA114_MC_RESET_AVPC 1 | ||
28 | #define TEGRA114_MC_RESET_DC 2 | ||
29 | #define TEGRA114_MC_RESET_DCB 3 | ||
30 | #define TEGRA114_MC_RESET_EPP 4 | ||
31 | #define TEGRA114_MC_RESET_2D 5 | ||
32 | #define TEGRA114_MC_RESET_HC 6 | ||
33 | #define TEGRA114_MC_RESET_HDA 7 | ||
34 | #define TEGRA114_MC_RESET_ISP 8 | ||
35 | #define TEGRA114_MC_RESET_MPCORE 9 | ||
36 | #define TEGRA114_MC_RESET_MPCORELP 10 | ||
37 | #define TEGRA114_MC_RESET_MPE 11 | ||
38 | #define TEGRA114_MC_RESET_3D 12 | ||
39 | #define TEGRA114_MC_RESET_3D2 13 | ||
40 | #define TEGRA114_MC_RESET_PPCS 14 | ||
41 | #define TEGRA114_MC_RESET_SATA 15 | ||
42 | #define TEGRA114_MC_RESET_VDE 16 | ||
43 | #define TEGRA114_MC_RESET_VI 17 | ||
44 | |||
26 | #endif | 45 | #endif |
diff --git a/include/dt-bindings/memory/tegra124-mc.h b/include/dt-bindings/memory/tegra124-mc.h index f534d7c06019..186e6b7e9b35 100644 --- a/include/dt-bindings/memory/tegra124-mc.h +++ b/include/dt-bindings/memory/tegra124-mc.h | |||
@@ -29,4 +29,29 @@ | |||
29 | #define TEGRA_SWGROUP_VIC 24 | 29 | #define TEGRA_SWGROUP_VIC 24 |
30 | #define TEGRA_SWGROUP_VI 25 | 30 | #define TEGRA_SWGROUP_VI 25 |
31 | 31 | ||
32 | #define TEGRA124_MC_RESET_AFI 0 | ||
33 | #define TEGRA124_MC_RESET_AVPC 1 | ||
34 | #define TEGRA124_MC_RESET_DC 2 | ||
35 | #define TEGRA124_MC_RESET_DCB 3 | ||
36 | #define TEGRA124_MC_RESET_HC 4 | ||
37 | #define TEGRA124_MC_RESET_HDA 5 | ||
38 | #define TEGRA124_MC_RESET_ISP2 6 | ||
39 | #define TEGRA124_MC_RESET_MPCORE 7 | ||
40 | #define TEGRA124_MC_RESET_MPCORELP 8 | ||
41 | #define TEGRA124_MC_RESET_MSENC 9 | ||
42 | #define TEGRA124_MC_RESET_PPCS 10 | ||
43 | #define TEGRA124_MC_RESET_SATA 11 | ||
44 | #define TEGRA124_MC_RESET_VDE 12 | ||
45 | #define TEGRA124_MC_RESET_VI 13 | ||
46 | #define TEGRA124_MC_RESET_VIC 14 | ||
47 | #define TEGRA124_MC_RESET_XUSB_HOST 15 | ||
48 | #define TEGRA124_MC_RESET_XUSB_DEV 16 | ||
49 | #define TEGRA124_MC_RESET_TSEC 17 | ||
50 | #define TEGRA124_MC_RESET_SDMMC1 18 | ||
51 | #define TEGRA124_MC_RESET_SDMMC2 19 | ||
52 | #define TEGRA124_MC_RESET_SDMMC3 20 | ||
53 | #define TEGRA124_MC_RESET_SDMMC4 21 | ||
54 | #define TEGRA124_MC_RESET_ISP2B 22 | ||
55 | #define TEGRA124_MC_RESET_GPU 23 | ||
56 | |||
32 | #endif | 57 | #endif |
diff --git a/include/dt-bindings/memory/tegra20-mc.h b/include/dt-bindings/memory/tegra20-mc.h new file mode 100644 index 000000000000..35e131eee198 --- /dev/null +++ b/include/dt-bindings/memory/tegra20-mc.h | |||
@@ -0,0 +1,21 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0 */ | ||
2 | #ifndef DT_BINDINGS_MEMORY_TEGRA20_MC_H | ||
3 | #define DT_BINDINGS_MEMORY_TEGRA20_MC_H | ||
4 | |||
5 | #define TEGRA20_MC_RESET_AVPC 0 | ||
6 | #define TEGRA20_MC_RESET_DC 1 | ||
7 | #define TEGRA20_MC_RESET_DCB 2 | ||
8 | #define TEGRA20_MC_RESET_EPP 3 | ||
9 | #define TEGRA20_MC_RESET_2D 4 | ||
10 | #define TEGRA20_MC_RESET_HC 5 | ||
11 | #define TEGRA20_MC_RESET_ISP 6 | ||
12 | #define TEGRA20_MC_RESET_MPCORE 7 | ||
13 | #define TEGRA20_MC_RESET_MPEA 8 | ||
14 | #define TEGRA20_MC_RESET_MPEB 9 | ||
15 | #define TEGRA20_MC_RESET_MPEC 10 | ||
16 | #define TEGRA20_MC_RESET_3D 11 | ||
17 | #define TEGRA20_MC_RESET_PPCS 12 | ||
18 | #define TEGRA20_MC_RESET_VDE 13 | ||
19 | #define TEGRA20_MC_RESET_VI 14 | ||
20 | |||
21 | #endif | ||
diff --git a/include/dt-bindings/memory/tegra210-mc.h b/include/dt-bindings/memory/tegra210-mc.h index 4490f7cf4772..cacf05617e03 100644 --- a/include/dt-bindings/memory/tegra210-mc.h +++ b/include/dt-bindings/memory/tegra210-mc.h | |||
@@ -34,4 +34,35 @@ | |||
34 | #define TEGRA_SWGROUP_ETR 29 | 34 | #define TEGRA_SWGROUP_ETR 29 |
35 | #define TEGRA_SWGROUP_TSECB 30 | 35 | #define TEGRA_SWGROUP_TSECB 30 |
36 | 36 | ||
37 | #define TEGRA210_MC_RESET_AFI 0 | ||
38 | #define TEGRA210_MC_RESET_AVPC 1 | ||
39 | #define TEGRA210_MC_RESET_DC 2 | ||
40 | #define TEGRA210_MC_RESET_DCB 3 | ||
41 | #define TEGRA210_MC_RESET_HC 4 | ||
42 | #define TEGRA210_MC_RESET_HDA 5 | ||
43 | #define TEGRA210_MC_RESET_ISP2 6 | ||
44 | #define TEGRA210_MC_RESET_MPCORE 7 | ||
45 | #define TEGRA210_MC_RESET_NVENC 8 | ||
46 | #define TEGRA210_MC_RESET_PPCS 9 | ||
47 | #define TEGRA210_MC_RESET_SATA 10 | ||
48 | #define TEGRA210_MC_RESET_VI 11 | ||
49 | #define TEGRA210_MC_RESET_VIC 12 | ||
50 | #define TEGRA210_MC_RESET_XUSB_HOST 13 | ||
51 | #define TEGRA210_MC_RESET_XUSB_DEV 14 | ||
52 | #define TEGRA210_MC_RESET_A9AVP 15 | ||
53 | #define TEGRA210_MC_RESET_TSEC 16 | ||
54 | #define TEGRA210_MC_RESET_SDMMC1 17 | ||
55 | #define TEGRA210_MC_RESET_SDMMC2 18 | ||
56 | #define TEGRA210_MC_RESET_SDMMC3 19 | ||
57 | #define TEGRA210_MC_RESET_SDMMC4 20 | ||
58 | #define TEGRA210_MC_RESET_ISP2B 21 | ||
59 | #define TEGRA210_MC_RESET_GPU 22 | ||
60 | #define TEGRA210_MC_RESET_NVDEC 23 | ||
61 | #define TEGRA210_MC_RESET_APE 24 | ||
62 | #define TEGRA210_MC_RESET_SE 25 | ||
63 | #define TEGRA210_MC_RESET_NVJPG 26 | ||
64 | #define TEGRA210_MC_RESET_AXIAP 27 | ||
65 | #define TEGRA210_MC_RESET_ETR 28 | ||
66 | #define TEGRA210_MC_RESET_TSECB 29 | ||
67 | |||
37 | #endif | 68 | #endif |
diff --git a/include/dt-bindings/memory/tegra30-mc.h b/include/dt-bindings/memory/tegra30-mc.h index 3cac81919023..169f005fbc78 100644 --- a/include/dt-bindings/memory/tegra30-mc.h +++ b/include/dt-bindings/memory/tegra30-mc.h | |||
@@ -22,4 +22,23 @@ | |||
22 | #define TEGRA_SWGROUP_MPCORE 17 | 22 | #define TEGRA_SWGROUP_MPCORE 17 |
23 | #define TEGRA_SWGROUP_ISP 18 | 23 | #define TEGRA_SWGROUP_ISP 18 |
24 | 24 | ||
25 | #define TEGRA30_MC_RESET_AFI 0 | ||
26 | #define TEGRA30_MC_RESET_AVPC 1 | ||
27 | #define TEGRA30_MC_RESET_DC 2 | ||
28 | #define TEGRA30_MC_RESET_DCB 3 | ||
29 | #define TEGRA30_MC_RESET_EPP 4 | ||
30 | #define TEGRA30_MC_RESET_2D 5 | ||
31 | #define TEGRA30_MC_RESET_HC 6 | ||
32 | #define TEGRA30_MC_RESET_HDA 7 | ||
33 | #define TEGRA30_MC_RESET_ISP 8 | ||
34 | #define TEGRA30_MC_RESET_MPCORE 9 | ||
35 | #define TEGRA30_MC_RESET_MPCORELP 10 | ||
36 | #define TEGRA30_MC_RESET_MPE 11 | ||
37 | #define TEGRA30_MC_RESET_3D 12 | ||
38 | #define TEGRA30_MC_RESET_3D2 13 | ||
39 | #define TEGRA30_MC_RESET_PPCS 14 | ||
40 | #define TEGRA30_MC_RESET_SATA 15 | ||
41 | #define TEGRA30_MC_RESET_VDE 16 | ||
42 | #define TEGRA30_MC_RESET_VI 17 | ||
43 | |||
25 | #endif | 44 | #endif |