summaryrefslogtreecommitdiff
path: root/drivers/usb/musb/omap3.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-07-23 10:43:58 -0600
committerTom Rini <trini@konsulko.com>2024-07-23 10:43:58 -0600
commitf659ba43837e5ae5a35fdff3736c8e13f9062abd (patch)
treeb14ed130f0e1a7efd85a755f389ac8788fd603c0 /drivers/usb/musb/omap3.c
parent123f6f75dfcb5f88d821e4eb91ddedfb7718d601 (diff)
parent3a63612c5f7b20e24a0bfebc5686dc78dfee6510 (diff)
Merge branch '2024-07-23-remove-or-update-some-platforms'
- Update a few platforms to use DM_I2C finally, and remove a number of other older platforms.
Diffstat (limited to 'drivers/usb/musb/omap3.c')
-rw-r--r--drivers/usb/musb/omap3.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/usb/musb/omap3.c b/drivers/usb/musb/omap3.c
index f9747d69bf6..e5238bc02f8 100644
--- a/drivers/usb/musb/omap3.c
+++ b/drivers/usb/musb/omap3.c
@@ -19,7 +19,6 @@
#include <serial.h>
#include <asm/omap_common.h>
#include <twl4030.h>
-#include <twl6030.h>
#include "omap3.h"
static int platform_needs_initialization = 1;
@@ -54,12 +53,7 @@ static struct omap3_otg_regs *otg;
#define OMAP3_OTG_SYSSTATUS_RESETDONE 0x0001
-/* OMAP4430 has an internal PHY, use it */
-#ifdef CONFIG_OMAP44XX
-#define OMAP3_OTG_INTERFSEL_OMAP 0x0000
-#else
#define OMAP3_OTG_INTERFSEL_OMAP 0x0001
-#endif
#define OMAP3_OTG_FORCESTDBY_STANDBY 0x0001
@@ -99,10 +93,6 @@ int musb_platform_init(void)
}
#endif
-#ifdef CONFIG_TWL6030_POWER
- twl6030_usb_device_settings();
-#endif
-
otg = (struct omap3_otg_regs *)OMAP3_OTG_BASE;
/* Set OTG to always be on */
@@ -121,11 +111,6 @@ int musb_platform_init(void)
musb_cfg.extvbus = omap3_evm_need_extvbus();
#endif
-#ifdef CONFIG_OMAP44XX
- u32 *usbotghs_control =
- (u32 *)((*ctrl)->control_usbotghs_ctrl);
- *usbotghs_control = 0x15;
-#endif
platform_needs_initialization = 0;
}