phy: miphy365x: Add MiPHY365x header file for DT x Driver defines
authorLee Jones <[email protected]>
Wed, 9 Jul 2014 11:41:11 +0000 (12:41 +0100)
committerKishon Vijay Abraham I <[email protected]>
Tue, 22 Jul 2014 06:53:44 +0000 (12:23 +0530)
This provides the shared header file which will be reference from both
the MiPHY365x driver and its associated Device Tree node(s).

Cc: Kishon Vijay Abraham I <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Acked-by: Alexandre Torgue <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Signed-off-by: Kishon Vijay Abraham I <[email protected]>
include/dt-bindings/phy/phy-miphy365x.h [new file with mode: 0644]

diff --git a/include/dt-bindings/phy/phy-miphy365x.h b/include/dt-bindings/phy/phy-miphy365x.h
new file mode 100644 (file)
index 0000000..8ef8aba
--- /dev/null
@@ -0,0 +1,14 @@
+/*
+ * This header provides constants for the phy framework
+ * based on the STMicroelectronics MiPHY365x.
+ *
+ * Author: Lee Jones <[email protected]>
+ */
+#ifndef _DT_BINDINGS_PHY_MIPHY
+#define _DT_BINDINGS_PHY_MIPHY
+
+#define MIPHY_TYPE_SATA                1
+#define MIPHY_TYPE_PCIE                2
+#define MIPHY_TYPE_USB         3
+
+#endif /* _DT_BINDINGS_PHY_MIPHY */