struct dwc3_meson_g12a;
 
 struct dwc3_meson_g12a_drvdata {
-       bool otg_switch_supported;
        bool otg_phy_host_port_disable;
        struct clk_bulk_data *clks;
        int num_clks;
  */
 
 static const struct dwc3_meson_g12a_drvdata gxl_drvdata = {
-       .otg_switch_supported = true,
        .otg_phy_host_port_disable = true,
        .clks = meson_gxl_clocks,
        .num_clks = ARRAY_SIZE(meson_g12a_clocks),
 };
 
 static const struct dwc3_meson_g12a_drvdata gxm_drvdata = {
-       .otg_switch_supported = true,
        .otg_phy_host_port_disable = true,
        .clks = meson_gxl_clocks,
        .num_clks = ARRAY_SIZE(meson_g12a_clocks),
 };
 
 static const struct dwc3_meson_g12a_drvdata axg_drvdata = {
-       .otg_switch_supported = true,
        .clks = meson_gxl_clocks,
        .num_clks = ARRAY_SIZE(meson_gxl_clocks),
        .phy_names = meson_a1_phy_names,
 };
 
 static const struct dwc3_meson_g12a_drvdata g12a_drvdata = {
-       .otg_switch_supported = true,
        .clks = meson_g12a_clocks,
        .num_clks = ARRAY_SIZE(meson_g12a_clocks),
        .phy_names = meson_g12a_phy_names,
 };
 
 static const struct dwc3_meson_g12a_drvdata a1_drvdata = {
-       .otg_switch_supported = false,
        .clks = meson_a1_clocks,
        .num_clks = ARRAY_SIZE(meson_a1_clocks),
        .phy_names = meson_a1_phy_names,
                        U2P_R0_POWER_ON_RESET,
                        U2P_R0_POWER_ON_RESET);
 
-       if (priv->drvdata->otg_switch_supported && i == USB2_OTG_PHY) {
+       if (i == USB2_OTG_PHY) {
                regmap_update_bits(priv->u2p_regmap[i], U2P_R0,
                                   U2P_R0_ID_PULLUP | U2P_R0_DRV_VBUS,
                                   U2P_R0_ID_PULLUP | U2P_R0_DRV_VBUS);
 {
        int ret;
 
-       if (!priv->drvdata->otg_switch_supported || !priv->phys[USB2_OTG_PHY])
+       if (!priv->phys[USB2_OTG_PHY])
                return -EINVAL;
 
        if (mode == PHY_MODE_USB_HOST)
        int ret, irq;
        struct device *dev = &pdev->dev;
 
-       if (!priv->drvdata->otg_switch_supported)
-               return 0;
-
        if (priv->otg_mode == USB_DR_MODE_OTG) {
                /* Ack irq before registering */
                regmap_update_bits(priv->usb_glue_regmap, USB_R5,
        struct device *dev = &pdev->dev;
        int i;
 
-       if (priv->drvdata->otg_switch_supported)
-               usb_role_switch_unregister(priv->role_switch);
+       usb_role_switch_unregister(priv->role_switch);
 
        of_platform_depopulate(dev);