forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
phy: cadence-torrent: Use a common header file for Cadence SERDES
No functional change. In order to have a single header file for all Cadence SERDES move phy-cadence-torrent.h to phy-cadence.h. This is in preparation for adding Cadence Sierra SERDES specific macros. Signed-off-by: Kishon Vijay Abraham I <[email protected]> Reviewed-by: Swapnil Jakhade <[email protected]> Acked-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
- Loading branch information
Showing
3 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 5 additions & 4 deletions
9
...ude/dt-bindings/phy/phy-cadence-torrent.h → include/dt-bindings/phy/phy-cadence.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
/* SPDX-License-Identifier: GPL-2.0 */ | ||
/* | ||
* This header provides constants for Cadence Torrent SERDES. | ||
* This header provides constants for Cadence SERDES. | ||
*/ | ||
|
||
#ifndef _DT_BINDINGS_TORRENT_SERDES_H | ||
#define _DT_BINDINGS_TORRENT_SERDES_H | ||
#ifndef _DT_BINDINGS_CADENCE_SERDES_H | ||
#define _DT_BINDINGS_CADENCE_SERDES_H | ||
|
||
/* Torrent */ | ||
#define TORRENT_SERDES_NO_SSC 0 | ||
#define TORRENT_SERDES_EXTERNAL_SSC 1 | ||
#define TORRENT_SERDES_INTERNAL_SSC 2 | ||
|
||
#define CDNS_TORRENT_REFCLK_DRIVER 0 | ||
|
||
#endif /* _DT_BINDINGS_TORRENT_SERDES_H */ | ||
#endif /* _DT_BINDINGS_CADENCE_SERDES_H */ |