]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dt-bindings: phy: cadence-torrent: Add defines for refclk driver
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 21 Jul 2021 15:58:34 +0000 (21:28 +0530)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 27 Jul 2021 05:26:53 +0000 (10:56 +0530)
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
include/dt-bindings/phy/phy-cadence.h [new file with mode: 0644]

diff --git a/include/dt-bindings/phy/phy-cadence.h b/include/dt-bindings/phy/phy-cadence.h
new file mode 100644 (file)
index 0000000..4652bcb
--- /dev/null
@@ -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 */