USB: i.MX5x: Remove usage of MXC_EHCI_INTERNAL_PHY for OTG port
i.MX5x OTG port is hardwired to the internal UTMI PHY, so having this configurable makes no sense and helps using this port with DT. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
2733d47108
commit
572f03cfb0
|
@ -220,8 +220,7 @@ static const struct spi_board_info ccxmx51_spi_board_info[] = {
|
|||
};
|
||||
|
||||
static struct imxusb_platformdata ccxmx51_otg_pdata = {
|
||||
.flags = MXC_EHCI_MODE_UTMI_16_BIT | MXC_EHCI_INTERNAL_PHY |
|
||||
MXC_EHCI_POWER_PINS_ENABLED,
|
||||
.flags = MXC_EHCI_MODE_UTMI_16_BIT | MXC_EHCI_POWER_PINS_ENABLED,
|
||||
.mode = IMX_USB_MODE_HOST,
|
||||
};
|
||||
|
||||
|
|
|
@ -279,9 +279,6 @@ static __maybe_unused int mx5_initialize_usb_hw(void __iomem *base, int port,
|
|||
|
||||
switch (port) {
|
||||
case 0: /* OTG port */
|
||||
if (!(flags & MXC_EHCI_INTERNAL_PHY))
|
||||
return 0;
|
||||
|
||||
/* Adjust UTMI PHY frequency to 24MHz */
|
||||
v = readl(base + MX5_UTMI_PHY_CTRL_1);
|
||||
v = (v & ~0x3) | 0x01;
|
||||
|
|
Loading…
Reference in New Issue