aboutsummaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/phy/phy-cadence.h
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2021-03-19 18:11:23 +0530
committerVinod Koul <vkoul@kernel.org>2021-03-31 16:43:20 +0530
commitfd7abc3c5b8769e22a3759b0ea1893e18aa2caff (patch)
tree5e481daae8ffe174c606c3fb06b243502f945ab7 /include/dt-bindings/phy/phy-cadence.h
parentphy: cadence: Sierra: Explicitly request exclusive reset control (diff)
downloadlinux-dev-fd7abc3c5b8769e22a3759b0ea1893e18aa2caff.tar.xz
linux-dev-fd7abc3c5b8769e22a3759b0ea1893e18aa2caff.zip
phy: cadence-torrent: Use a common header file for Cadence SERDES
No functional change. In order to have a single header file for all Cadence SERDES move phy-cadence-torrent.h to phy-cadence.h. This is in preparation for adding Cadence Sierra SERDES specific macros. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Reviewed-by: Swapnil Jakhade <sjakhade@cadence.com> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20210319124128.13308-9-kishon@ti.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/dt-bindings/phy/phy-cadence.h')
-rw-r--r--include/dt-bindings/phy/phy-cadence.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/dt-bindings/phy/phy-cadence.h b/include/dt-bindings/phy/phy-cadence.h
new file mode 100644
index 000000000000..4a5ea52a856f
--- /dev/null
+++ b/include/dt-bindings/phy/phy-cadence.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * This header provides constants for Cadence SERDES.
+ */
+
+#ifndef _DT_BINDINGS_CADENCE_SERDES_H
+#define _DT_BINDINGS_CADENCE_SERDES_H
+
+/* Torrent */
+#define TORRENT_SERDES_NO_SSC 0
+#define TORRENT_SERDES_EXTERNAL_SSC 1
+#define TORRENT_SERDES_INTERNAL_SSC 2
+
+#define CDNS_TORRENT_REFCLK_DRIVER 0
+
+#endif /* _DT_BINDINGS_CADENCE_SERDES_H */