Debian Codegraph @

include/dt-bindings/phy/phy.h

raw
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 *
4 * This header provides constants for the phy framework
5 *
6 * Copyright (C) 2014 STMicroelectronics
7 * Author: Gabriel Fernandez <[email protected]>
8 */
9
10 #ifndef _DT_BINDINGS_PHY
11 #define _DT_BINDINGS_PHY
12
13 #define PHY_NONE 0
14 #define PHY_TYPE_SATA 1
15 #define PHY_TYPE_PCIE 2
16 #define PHY_TYPE_USB2 3
17 #define PHY_TYPE_USB3 4
18 #define PHY_TYPE_UFS 5
19 #define PHY_TYPE_DP 6
20 #define PHY_TYPE_XPCS 7
21 #define PHY_TYPE_SGMII 8
22 #define PHY_TYPE_QSGMII 9
23 #define PHY_TYPE_DPHY 10
24 #define PHY_TYPE_CPHY 11
25 #define PHY_TYPE_USXGMII 12
26 #define PHY_TYPE_XAUI 13
27
28 #define PHY_POL_NORMAL 0
29 #define PHY_POL_INVERT 1
30 #define PHY_POL_AUTO 2
31
32 #endif /* _DT_BINDINGS_PHY */