]> Git Repo - linux.git/commitdiff
phy: renesas: rcar-gen3-usb2: Add support for the RZ/G3S SoC
authorClaudiu Beznea <[email protected]>
Thu, 22 Aug 2024 15:27:57 +0000 (18:27 +0300)
committerVinod Koul <[email protected]>
Fri, 30 Aug 2024 08:03:44 +0000 (13:33 +0530)
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
drivers/phy/renesas/phy-rcar-gen3-usb2.c

index cf4299cea57949b87b467563095139f584070b47..58e1233051526a2b0b402e0702dcce6d18e0bb94 100644 (file)
@@ -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",
@@ -604,6 +610,10 @@ static const struct of_device_id rcar_gen3_phy_usb2_match_table[] = {
                .compatible = "renesas,rzg2l-usb2-phy",
                .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,
This page took 0.065164 seconds and 4 git commands to generate.