There is a thread over in the PMU forum regarding operating the OMAP3 without using the on board charge pump of a TPS65950 here, including a patch that attempts to do this, but which seems to prevent devices from enumerating. Has anyone tried to implement this sort of change in the PSP? Any recommendations for why the proposed patch copied below may not work?
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index 705cc4a..193f2f5 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -902,7 +902,8 @@ void musb_start(struct musb *musb)
} else if (is_host_enabled(musb)) {
/* assume ID pin is hard-wired to ground */
- devctl |= MUSB_DEVCTL_SESSION;
+ // disable turning on VBUS power supply
+ //devctl |= MUSB_DEVCTL_SESSION;
} else /* peripheral is enabled */ {
if ((devctl & MUSB_DEVCTL_VBUS) == MUSB_DEVCTL_VBUS)
I do see MUSB_DEVCTL_SESSION mentioned in multiple places so I am afraid that changing it in that one spot may not be enough. Perhaps there is a way to prevent the TPS65950 from enabling the VBUS charge pump at another level of the kernel (such as in TPS65950 specific code)?