lkml.org 
[lkml]   [2020]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 02/14] phy: cadence-dp: Rename to phy-cadence-torrent
    Date
    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>
    ---
    drivers/phy/cadence/Kconfig | 6 +++---
    drivers/phy/cadence/Makefile | 2 +-
    drivers/phy/cadence/{phy-cadence-dp.c => phy-cadence-torrent.c} | 2 +-
    3 files changed, 5 insertions(+), 5 deletions(-)
    rename drivers/phy/cadence/{phy-cadence-dp.c => phy-cadence-torrent.c} (99%)

    diff --git a/drivers/phy/cadence/Kconfig b/drivers/phy/cadence/Kconfig
    index b2db916d..4595458 100644
    --- a/drivers/phy/cadence/Kconfig
    +++ b/drivers/phy/cadence/Kconfig
    @@ -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"
    diff --git a/drivers/phy/cadence/Makefile b/drivers/phy/cadence/Makefile
    index 8f89560..6a7ffc6 100644
    --- a/drivers/phy/cadence/Makefile
    +++ b/drivers/phy/cadence/Makefile
    @@ -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
    diff --git a/drivers/phy/cadence/phy-cadence-dp.c b/drivers/phy/cadence/phy-cadence-torrent.c
    similarity index 99%
    rename from drivers/phy/cadence/phy-cadence-dp.c
    rename to drivers/phy/cadence/phy-cadence-torrent.c
    index bc10cb2..beb80f7 100644
    --- a/drivers/phy/cadence/phy-cadence-dp.c
    +++ b/drivers/phy/cadence/phy-cadence-torrent.c
    @@ -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"
    },
    {}
    };
    --
    2.4.5
    \
     
     \ /
      Last update: 2020-01-22 11:47    [W:4.092 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site