RE: About the hibernation feature implementation in dwc3 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Felipe Balbi
> Sent: Tuesday, August 13, 2013 12:20 PM
> 
> On Mon, Aug 05, 2013 at 03:41:57PM +0000, Wang, Yu Y wrote:
> > Hi Balbi,
> >
> > Please check the attached logs. The kernel base one kernel3.10.
> 
> you didn't take the regdump after xHCI :-( I need to check if erst_base
> is being mirrored to DEPCMDPAR*

Hi Felipe,

There seems to be some basic misunderstanding here. ALL versions of the
Synopsys core share the internal RAM between device and host modes. So
the only supported way of switching modes is to shut down the driver for
the mode you are leaving, then start up the driver for the mode you are
entering and re-initialize (most of) the registers.

This is described in the databook in the OTG -> Software Flow and OTG ->
Programming Model chapters.

So whether a particular set of RAM-based registers is mirrored between
modes does not matter.

And I don't see what this has to do with hibernation?

-- 
Paul

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux