Skip to content

Commit

Permalink
phy: uniphier-usb3: Add compatible string for NX1 SoC
Browse files Browse the repository at this point in the history
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>
Link: https://lore.kernel.org/r/1635503947-18250-3-git-send-email-hayashi.kunihiko@socionext.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
  • Loading branch information
Kunihiko Hayashi authored and Vinod Koul committed Nov 23, 2021
1 parent d0cfb86 commit 877e8d2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/phy/socionext/phy-uniphier-usb3hs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 4 additions & 0 deletions drivers/phy/socionext/phy-uniphier-usb3ss.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 877e8d2

Please sign in to comment.