diff options
author | Gabriel FERNANDEZ <gabriel.fernandez@st.com> | 2014-11-04 05:51:18 -0500 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2014-11-11 05:23:25 -0500 |
commit | 2fbbc96d16009276153fd33823616877dcca30d8 (patch) | |
tree | b6d04316e9dcfa116b7ce5c9c231a3f6c1cc5b63 | |
parent | 206c5f60a3d902bc4b56dab2de3e88de5eb06108 (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>
-rw-r--r-- | include/dt-bindings/phy/phy.h | 18 |
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 @@ | |||
1 | /* | ||
2 | * | ||
3 | * This header provides constants for the phy framework | ||
4 | * | ||
5 | * Copyright (C) 2014 STMicroelectronics | ||
6 | * Author: Gabriel Fernandez <gabriel.fernandez@st.com> | ||
7 | * License terms: GNU General Public License (GPL), version 2 | ||
8 | */ | ||
9 | |||
10 | #ifndef _DT_BINDINGS_PHY | ||
11 | #define _DT_BINDINGS_PHY | ||
12 | |||
13 | #define PHY_TYPE_SATA 1 | ||
14 | #define PHY_TYPE_PCIE 2 | ||
15 | #define PHY_TYPE_USB2 3 | ||
16 | #define PHY_TYPE_USB3 4 | ||
17 | |||
18 | #endif /* _DT_BINDINGS_PHY */ | ||