]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
phy: cadence-dp: Rename to phy-cadence-torrent
authorYuti Amonkar <yamonkar@cadence.com>
Thu, 6 Feb 2020 06:10:51 +0000 (07:10 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 20 Mar 2020 14:04:29 +0000 (19:34 +0530)
Rename Cadence DP PHY driver from phy-cadence-dp to phy-cadence-torrent
to make it more generic for future use. Modifiy Makefile and Kconfig
accordingly. Also, change driver compatible from "cdns,dp-phy" to
"cdns,torrent-phy".This will not affect ABI as the driver has never
been functional, and therefore do not exist in any active use case.

Signed-off-by: Yuti Amonkar <yamonkar@cadence.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/cadence/Kconfig
drivers/phy/cadence/Makefile
drivers/phy/cadence/phy-cadence-torrent.c [moved from drivers/phy/cadence/phy-cadence-dp.c with 99% similarity]

index b2db916db64ba43b2641a99c0bba334fa05d5869..45954587160832823a46e4da7a818fe43c2b720a 100644 (file)
@@ -3,13 +3,13 @@
 # Phy drivers for Cadence PHYs
 #
 
-config PHY_CADENCE_DP
-       tristate "Cadence MHDP DisplayPort PHY driver"
+config PHY_CADENCE_TORRENT
+       tristate "Cadence Torrent PHY driver"
        depends on OF
        depends on HAS_IOMEM
        select GENERIC_PHY
        help
-         Support for Cadence MHDP DisplayPort PHY.
+         Support for Cadence Torrent PHY.
 
 config PHY_CADENCE_DPHY
        tristate "Cadence D-PHY Support"
index 8f89560f171173125e4abc5e33a55388fe1d89f5..6a7ffc6ea5998c3d6cd30f5af4aa360144377160 100644 (file)
@@ -1,4 +1,4 @@
 # SPDX-License-Identifier: GPL-2.0-only
-obj-$(CONFIG_PHY_CADENCE_DP)   += phy-cadence-dp.o
+obj-$(CONFIG_PHY_CADENCE_TORRENT)      += phy-cadence-torrent.o
 obj-$(CONFIG_PHY_CADENCE_DPHY) += cdns-dphy.o
 obj-$(CONFIG_PHY_CADENCE_SIERRA)       += phy-cadence-sierra.o
similarity index 99%
rename from drivers/phy/cadence/phy-cadence-dp.c
rename to drivers/phy/cadence/phy-cadence-torrent.c
index bc10cb264b7aed5d34ada8b610c20b18789f6d60..beb80f71a34a1f792c9bd09caa46fc659557f9f8 100644 (file)
@@ -521,7 +521,7 @@ static int cdns_dp_phy_probe(struct platform_device *pdev)
 
 static const struct of_device_id cdns_dp_phy_of_match[] = {
        {
-               .compatible = "cdns,dp-phy"
+               .compatible = "cdns,torrent-phy"
        },
        {}
 };