Skip to content

Commit

Permalink
phy: Add PHY header file for DT x Driver defines
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Gabriel FERNANDEZ authored and Kishon Vijay Abraham I committed Nov 11, 2014
1 parent 206c5f6 commit 2fbbc96
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions include/dt-bindings/phy/phy.h
Original file line number Diff line number Diff line change
@@ -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 */

0 comments on commit 2fbbc96

Please sign in to comment.