|
@@ -23,6 +23,8 @@
|
|
|
#include <linux/platform_device.h>
|
|
#include <linux/platform_device.h>
|
|
|
#include <linux/regmap.h>
|
|
#include <linux/regmap.h>
|
|
|
|
|
|
|
|
|
|
+#define PHY_INIT_BITS (CFGCHIP2_SESENDEN | CFGCHIP2_VBDTCTEN)
|
|
|
|
|
+
|
|
|
struct da8xx_usb_phy {
|
|
struct da8xx_usb_phy {
|
|
|
struct phy_provider *phy_provider;
|
|
struct phy_provider *phy_provider;
|
|
|
struct phy *usb11_phy;
|
|
struct phy *usb11_phy;
|
|
@@ -208,6 +210,9 @@ static int da8xx_usb_phy_probe(struct platform_device *pdev)
|
|
|
dev_warn(dev, "Failed to create usb20 phy lookup\n");
|
|
dev_warn(dev, "Failed to create usb20 phy lookup\n");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ regmap_write_bits(d_phy->regmap, CFGCHIP(2),
|
|
|
|
|
+ PHY_INIT_BITS, PHY_INIT_BITS);
|
|
|
|
|
+
|
|
|
return 0;
|
|
return 0;
|
|
|
}
|
|
}
|
|
|
|
|
|