In my custom hardware, which is based on i.MX535 with M34708 PMIC, the OTG port is used as device only for programming using MFG tool initially i.e., during production only.
After programming, anyway the end product requirement is to have only the host functionality. No device mode required.
Hence the OTG port is configured in the OS to perform Host functionality only so that I can attach external devices.
Pls note that without VBUS power, this long press power down functionality works fine. But the USB section does not function.
Pls advice on the workaround for MC34708 so that power button 4 sec long press power down function can still work with the VBUS power applied to PMIC.
The MC34708 VBUS & VUSB power sections are attached for your reference. Both the VBUS & VINUSB are supplied from the 5V_Mains supply (DVDD_5V). Pls advice on the MC34708 register configurations to be done for making this 4sec long press power down feature with the VBUS power applied.
Looking forward for your immediate advice in this regard.
Thanks in advance.