summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings
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 11:23:25 +0100
commit2fbbc96d16009276153fd33823616877dcca30d8 (patch)
treeb6d04316e9dcfa116b7ce5c9c231a3f6c1cc5b63 /include/dt-bindings
parentLinux 3.18-rc4 (diff)
downloadlinux-2fbbc96d16009276153fd33823616877dcca30d8.tar.xz
linux-2fbbc96d16009276153fd33823616877dcca30d8.zip
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')
-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 */