aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2021-07-21 21:28:34 +0530
committerLokesh Vutla <lokeshvutla@ti.com>2021-07-27 10:56:53 +0530
commit0b5ea853be820e05f15077b451fe228efe9df449 (patch)
tree78620f2cd4530e144e42e93a28e3d2b7dea98437 /include
parent2b6b37032c8f2e7f04186d617b16bc9502c13b9b (diff)
downloadu-boot-0b5ea853be820e05f15077b451fe228efe9df449.zip
u-boot-0b5ea853be820e05f15077b451fe228efe9df449.tar.gz
u-boot-0b5ea853be820e05f15077b451fe228efe9df449.tar.bz2
dt-bindings: phy: cadence-torrent: Add defines for refclk driver
Add defines for refclk driver used to route the refclk out of torrent SERDES. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Link: https://lore.kernel.org/r/20210721155849.20994-6-kishon@ti.com
Diffstat (limited to 'include')
-rw-r--r--include/dt-bindings/phy/phy-cadence.h20
1 files changed, 20 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 0000000..4652bcb
--- /dev/null
+++ b/include/dt-bindings/phy/phy-cadence.h
@@ -0,0 +1,20 @@
+/* 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
+
+/* Sierra */
+#define CDNS_SIERRA_PLL_CMNLC 0
+#define CDNS_SIERRA_PLL_CMNLC1 1
+
+#endif /* _DT_BINDINGS_CADENCE_SERDES_H */