From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: "Srivastava, Shobhit" <shobhit.srivastava@intel.com>
Cc: Jarkko Nikula <jarkko.nikula@linux.intel.com>,
Rajat Jain <rajatja@google.com>, Daniel Mack <daniel@zonque.org>,
Haojian Zhuang <haojian.zhuang@gmail.com>,
Robert Jarzmik <robert.jarzmik@free.fr>,
Mark Brown <broonie@kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-spi@vger.kernel.org" <linux-spi@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Evan Green <evgreen@chromium.org>,
"rajatxjain@gmail.com" <rajatxjain@gmail.com>,
"evgreen@google.com" <evgreen@google.com>,
"Muthukrishnan, Porselvan" <porselvan.muthukrishnan@intel.com>
Subject: Re: Re: [PATCH] spi: pxa2xx: Add CS control clock quirk
Date: Thu, 13 Feb 2020 19:18:36 +0200 [thread overview]
Message-ID: <20200213171836.GD10400@smile.fi.intel.com> (raw)
In-Reply-To: <CB4ED07B85D6BB40B8B44F6D5442E4F6572C1523@BGSMSX101.gar.corp.intel.com>
On Thu, Feb 13, 2020 at 04:57:24PM +0000, Srivastava, Shobhit wrote:
> > On 2/12/20 12:34 AM, Rajat Jain wrote:
...
> > I wonder is it enough to have this quick toggling only or is time or actually
> > number of clock cycles dependent? Now there is no delay between but I'm
> > thinking if it needs certain number cycles does this still work when using low
> > ssp_clk rates similar than in commit d0283eb2dbc1 ("spi:
> > pxa2xx: Add output control for multiple Intel LPSS chip selects").
> >
> > I'm thinking can this be done only once after resume and may other LPSS
> > blocks need the same? I.e. should this be done in drivers/mfd/intel-lpss.c?
> This behavior is seen after S0ix resume, but it is not seen after S3 resume.
I already commented in the other thread about this.
Have you checked what's going on in intel_lpss_suspend() and
intel_lpss_resume() for your case?
Is intel_lpss_prepare() called during S0ix exit?
> I am thinking that it happens because we are not enabling the SSP after resume.
> It is deferred until we need to send data. By enabling the SSP in resume, I don’t see the issue.
> For S3, I think BIOS re-enables the SSP in resume flow.
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2020-02-13 17:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-13 16:57 Re: [PATCH] spi: pxa2xx: Add CS control clock quirk Srivastava, Shobhit
2020-02-13 17:18 ` Andy Shevchenko [this message]
2020-02-14 6:26 ` Srivastava, Shobhit
2020-02-24 21:28 ` Evan Green
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200213171836.GD10400@smile.fi.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=broonie@kernel.org \
--cc=daniel@zonque.org \
--cc=evgreen@chromium.org \
--cc=evgreen@google.com \
--cc=haojian.zhuang@gmail.com \
--cc=jarkko.nikula@linux.intel.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=porselvan.muthukrishnan@intel.com \
--cc=rajatja@google.com \
--cc=rajatxjain@gmail.com \
--cc=robert.jarzmik@free.fr \
--cc=shobhit.srivastava@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).