summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2014-11-28 22:33:09 +0100
committerArnd Bergmann <arnd@arndb.de>2014-11-28 22:33:09 +0100
commitb6072143e53b2e23ca3f0d404efd7b14f1456e7f (patch)
tree6107ba6ef3d679374c3898986638c0bac3263dc4
parentd60f5198ecfa9ed47e28fe9d416d5e9bcc662aca (diff)
parent2fbbc96d16009276153fd33823616877dcca30d8 (diff)
Merge tag 'depends/phy-dt-header' into next/dt2
This is a commit that is shared with Kishon's phy repository. * tag 'depends/phy-dt-header' phy: Add PHY header file for DT x Driver defines Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-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 */