summaryrefslogtreecommitdiff
path: root/include/dt-bindings/phy/phy-qcom-qmp.h
diff options
context:
space:
mode:
authorCaleb Connolly <caleb.connolly@linaro.org>2024-02-26 17:26:31 +0000
committerCaleb Connolly <caleb.connolly@linaro.org>2024-03-01 14:52:48 +0000
commitc0297b30f1b576180c95dbc44b7647f20f3a4bd1 (patch)
treee278edb3322d6db4ec11a9d4aec8d38596a1b559 /include/dt-bindings/phy/phy-qcom-qmp.h
parentd795efef8361e6406c08fd1551e1f1d98b1751ff (diff)
dt-bindings: import headers for SDM845
Import the DT bindings headers that are used by SDM845 from Linux. Taken from kernel tag v6.7 Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Reviewed-by: Sumit Garg <sumit.garg@linaro.org> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Diffstat (limited to 'include/dt-bindings/phy/phy-qcom-qmp.h')
-rw-r--r--include/dt-bindings/phy/phy-qcom-qmp.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/dt-bindings/phy/phy-qcom-qmp.h b/include/dt-bindings/phy/phy-qcom-qmp.h
new file mode 100644
index 00000000000..4edec4c5b22
--- /dev/null
+++ b/include/dt-bindings/phy/phy-qcom-qmp.h
@@ -0,0 +1,20 @@
+/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
+/*
+ * Qualcomm QMP PHY constants
+ *
+ * Copyright (C) 2022 Linaro Limited
+ */
+
+#ifndef _DT_BINDINGS_PHY_QMP
+#define _DT_BINDINGS_PHY_QMP
+
+/* QMP USB4-USB3-DP clocks */
+#define QMP_USB43DP_USB3_PIPE_CLK 0
+#define QMP_USB43DP_DP_LINK_CLK 1
+#define QMP_USB43DP_DP_VCO_DIV_CLK 2
+
+/* QMP USB4-USB3-DP PHYs */
+#define QMP_USB43DP_USB3_PHY 0
+#define QMP_USB43DP_DP_PHY 1
+
+#endif /* _DT_BINDINGS_PHY_QMP */