Re: Cherryview wake up events

From: Johannes Stezenbach
Date: Sun Dec 04 2016 - 13:53:04 EST


Hi,

On Wed, Oct 05, 2016 at 04:05:11PM +0300, Mika Westerberg wrote:
> On Wed, Oct 05, 2016 at 02:46:48PM +0200, Johannes Stezenbach wrote:
> > On Fri, Sep 23, 2016 at 11:19:04AM +0300, Mika Westerberg wrote:
> > > David (CC'd) is working on getting the Dollar Cove PMIC driver
> > > upstreamed to the mainline kernel.
> >
> > May I ask when to expect a patch? I'm ready if you
> > have something to test, even if it's not in
> > shape for mainline yet.
>
> It typically takes quite some time to get all the legal stuff done
> before the code can be published. And if people are busy with other
> things it takes even more time.
>
> So please be patient, it will happen sooner or later ;-)

I don't want to nag, but just so it doesn't drop off
the TODO list due to "lack of interest": What's the
status? Will Santa bring the the TI Dollar Cove PMIC driver?

While I'm at it, I also have questions about S0ix support
in Linux which I didn't find answers to by web search.
Does S0ix depend on the PMIC driver? And will it be
used during run time or only in "sleep" state
(which would mean "echo freeze >/sys/power/state"
since ACPI S3 isn't supported)?
Now all I know is it doesn't seem to be used so far (running 4.9.0-rc7+):

/sys/kernel/debug/pmc_atom/sleep_state:S0IR Residency: 0us
/sys/kernel/debug/pmc_atom/sleep_state:S0I1 Residency: 0us
/sys/kernel/debug/pmc_atom/sleep_state:S0I2 Residency: 0us
/sys/kernel/debug/pmc_atom/sleep_state:S0I3 Residency: 0us
/sys/kernel/debug/pmc_atom/sleep_state:S0 Residency: 160934496us


Thanks,
Johannes