summaryrefslogtreecommitdiff
path: root/include/dt-bindings/phy/phy.h
diff options
context:
space:
mode:
authorGabriel FERNANDEZ <gabriel.fernandez@st.com>2014-11-04 11:51:18 +0100
committerKishon Vijay Abraham I <kishon@ti.com>2014-11-11 15:53:25 +0530
commit2fbbc96d16009276153fd33823616877dcca30d8 (patch)
treeb6d04316e9dcfa116b7ce5c9c231a3f6c1cc5b63 /include/dt-bindings/phy/phy.h
parent206c5f60a3d902bc4b56dab2de3e88de5eb06108 (diff)
phy: Add PHY header file for DT x Driver defines
This provides the shared header file which will be reference from both PHY driver and its associated Device Tree node(s). Signed-off-by: Gabriel Fernandez <gabriel.fernandez@linaro.org>
Diffstat (limited to 'include/dt-bindings/phy/phy.h')
-rw-r--r--include/dt-bindings/phy/phy.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/dt-bindings/phy/phy.h b/include/dt-bindings/phy/phy.h
new file mode 100644
index 000000000000..e8c6a3f04b85
--- /dev/null
+++ b/include/dt-bindings/phy/phy.h
@@ -0,0 +1,18 @@
+/*
+ *
+ * This header provides constants for the phy framework
+ *
+ * Copyright (C) 2014 STMicroelectronics
+ * Author: Gabriel Fernandez <gabriel.fernandez@st.com>
+ * License terms: GNU General Public License (GPL), version 2
+ */
+
+#ifndef _DT_BINDINGS_PHY
+#define _DT_BINDINGS_PHY
+
+#define PHY_TYPE_SATA 1
+#define PHY_TYPE_PCIE 2
+#define PHY_TYPE_USB2 3
+#define PHY_TYPE_USB3 4
+
+#endif /* _DT_BINDINGS_PHY */