lkml.org 
[lkml]   [2021]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 2/8] phy: uniphier-usb3: Add compatible string for NX1 SoC
    Date
    Add basic support for UniPhier NX1 SoC. This includes a compatible string
    and the same SoC-dependent data as LD20/PXs3 SoCs.

    Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
    ---
    drivers/phy/socionext/phy-uniphier-usb3hs.c | 4 ++++
    drivers/phy/socionext/phy-uniphier-usb3ss.c | 4 ++++
    2 files changed, 8 insertions(+)

    diff --git a/drivers/phy/socionext/phy-uniphier-usb3hs.c b/drivers/phy/socionext/phy-uniphier-usb3hs.c
    index a9bc74121f38..8c8673df0084 100644
    --- a/drivers/phy/socionext/phy-uniphier-usb3hs.c
    +++ b/drivers/phy/socionext/phy-uniphier-usb3hs.c
    @@ -447,6 +447,10 @@ static const struct of_device_id uniphier_u3hsphy_match[] = {
    .compatible = "socionext,uniphier-pxs3-usb3-hsphy",
    .data = &uniphier_pxs3_data,
    },
    + {
    + .compatible = "socionext,uniphier-nx1-usb3-hsphy",
    + .data = &uniphier_pxs3_data,
    + },
    { /* sentinel */ }
    };
    MODULE_DEVICE_TABLE(of, uniphier_u3hsphy_match);
    diff --git a/drivers/phy/socionext/phy-uniphier-usb3ss.c b/drivers/phy/socionext/phy-uniphier-usb3ss.c
    index 6700645bcbe6..7ce611c2088b 100644
    --- a/drivers/phy/socionext/phy-uniphier-usb3ss.c
    +++ b/drivers/phy/socionext/phy-uniphier-usb3ss.c
    @@ -328,6 +328,10 @@ static const struct of_device_id uniphier_u3ssphy_match[] = {
    .compatible = "socionext,uniphier-pxs3-usb3-ssphy",
    .data = &uniphier_ld20_data,
    },
    + {
    + .compatible = "socionext,uniphier-nx1-usb3-ssphy",
    + .data = &uniphier_ld20_data,
    + },
    { /* sentinel */ }
    };
    MODULE_DEVICE_TABLE(of, uniphier_u3ssphy_match);
    --
    2.7.4
    \
     
     \ /
      Last update: 2021-10-29 12:41    [W:5.961 / U:0.672 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site