summaryrefslogtreecommitdiff
path: root/include/dt-bindings/phy
diff options
context:
space:
mode:
authorSwapnil Jakhade <sjakhade@cadence.com>2021-12-23 07:01:25 +0100
committerVinod Koul <vkoul@kernel.org>2021-12-27 16:35:08 +0530
commit253f06c7b1c1729b50e7ec52638e046239327bb1 (patch)
tree09e79fd8e06db59f63c672cda3f71c14e91ba0e2 /include/dt-bindings/phy
parent078e9e92119ae39e5c816242a7a5cf73b3cc4f5c (diff)
downloadlinux-253f06c7b1c1729b50e7ec52638e046239327bb1.tar.gz
dt-bindings: phy: cadence-torrent: Rename SSC macros to use generic names
Rename SSC macros to use generic names instead of PHY specific names, so that they can be used to specify SSC modes for both Torrent and Sierra. Renaming the macros should not affect the things as these are not being used in any DTS file yet. Signed-off-by: Swapnil Jakhade <sjakhade@cadence.com> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20211223060137.9252-4-sjakhade@cadence.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/dt-bindings/phy')
-rw-r--r--include/dt-bindings/phy/phy-cadence.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/dt-bindings/phy/phy-cadence.h b/include/dt-bindings/phy/phy-cadence.h
index 24fdc9e11bd6..d55fe6e6b936 100644
--- a/include/dt-bindings/phy/phy-cadence.h
+++ b/include/dt-bindings/phy/phy-cadence.h
@@ -6,11 +6,11 @@
#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_SERDES_NO_SSC 0
+#define CDNS_SERDES_EXTERNAL_SSC 1
+#define CDNS_SERDES_INTERNAL_SSC 2
+/* Torrent */
#define CDNS_TORRENT_REFCLK_DRIVER 0
#define CDNS_TORRENT_DERIVED_REFCLK 1
#define CDNS_TORRENT_RECEIVED_REFCLK 2