diff options
author | Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> | 2024-08-22 18:27:57 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-08-30 11:03:44 +0300 |
commit | 3c2ea12a625dbf5a864f4920235fa1c739d06e7d (patch) | |
tree | 346c4c9d6979220af658d111eb6eb16d6347f602 | |
parent | f3c8498551146dfb014be0d85d3a7df98be16aa2 (diff) | |
download | linux-3c2ea12a625dbf5a864f4920235fa1c739d06e7d.tar.xz |
phy: renesas: rcar-gen3-usb2: Add support for the RZ/G3S SoC
Add support for the Renesas RZ/G3S SoC. The support is similar with the
rest of RZ/G2 devices with the except that the RZ/G3S needs bus
initialization due to hardware limitation.
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://lore.kernel.org/r/20240822152801.602318-13-claudiu.beznea.uj@bp.renesas.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r-- | drivers/phy/renesas/phy-rcar-gen3-usb2.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/phy/renesas/phy-rcar-gen3-usb2.c b/drivers/phy/renesas/phy-rcar-gen3-usb2.c index cf4299cea579..58e123305152 100644 --- a/drivers/phy/renesas/phy-rcar-gen3-usb2.c +++ b/drivers/phy/renesas/phy-rcar-gen3-usb2.c @@ -583,6 +583,12 @@ static const struct rcar_gen3_phy_drv_data rz_g2l_phy_usb2_data = { .no_adp_ctrl = true, }; +static const struct rcar_gen3_phy_drv_data rz_g3s_phy_usb2_data = { + .phy_usb2_ops = &rcar_gen3_phy_usb2_ops, + .no_adp_ctrl = true, + .init_bus = true, +}; + static const struct of_device_id rcar_gen3_phy_usb2_match_table[] = { { .compatible = "renesas,usb2-phy-r8a77470", @@ -605,6 +611,10 @@ static const struct of_device_id rcar_gen3_phy_usb2_match_table[] = { .data = &rz_g2l_phy_usb2_data, }, { + .compatible = "renesas,usb2-phy-r9a08g045", + .data = &rz_g3s_phy_usb2_data, + }, + { .compatible = "renesas,rcar-gen3-usb2-phy", .data = &rcar_gen3_phy_usb2_data, }, |