summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/platform/tegra/tegra-nvlink.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/platform/tegra/tegra-nvlink.h b/include/linux/platform/tegra/tegra-nvlink.h
index 4d835a385..a048b64ab 100644
--- a/include/linux/platform/tegra/tegra-nvlink.h
+++ b/include/linux/platform/tegra/tegra-nvlink.h
@@ -25,6 +25,8 @@
25#define NVLINK_MAX_LINKS 2 25#define NVLINK_MAX_LINKS 2
26#define DEFAULT_LOOP_SLEEP_US 100 26#define DEFAULT_LOOP_SLEEP_US 100
27#define DEFAULT_LOOP_TIMEOUT_US 1000000 27#define DEFAULT_LOOP_TIMEOUT_US 1000000
28#define LINK_BITRATE_150MHZ_16GBPS 15500000000ULL
29#define LINK_BITRATE_156MHZ_16GBPS 16145830000ULL
28#define LINK_BITRATE_150MHZ_20GBPS 19200000000ULL 30#define LINK_BITRATE_150MHZ_20GBPS 19200000000ULL
29#define LINK_BITRATE_156MHZ_20GBPS 20001280000ULL 31#define LINK_BITRATE_156MHZ_20GBPS 20001280000ULL
30#define LINK_BITRATE_150MHZ_25GBPS 24750000000ULL 32#define LINK_BITRATE_150MHZ_25GBPS 24750000000ULL
@@ -62,6 +64,7 @@ extern u32 nvlink_log_mask;
62 64
63/* Enum to represent link speed. Nvlink 2.0 can support below 2 speeds */ 65/* Enum to represent link speed. Nvlink 2.0 can support below 2 speeds */
64enum nvlink_speed { 66enum nvlink_speed {
67 NVLINK_SPEED_16,
65 NVLINK_SPEED_20, 68 NVLINK_SPEED_20,
66 NVLINK_SPEED_25 69 NVLINK_SPEED_25
67}; 70};