Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-23 Thread Sudeep Holla
Hi Geert, On 23/02/17 15:34, Geert Uytterhoeven wrote: > Hi Sudeep, > > On Thu, Feb 23, 2017 at 4:26 PM, Geert Uytterhoeven > wrote: >> On Wed, Feb 22, 2017 at 3:32 PM, Sudeep Holla wrote: >>> On 22/02/17 13:38, Geert Uytterhoeven wrote: On Wed,

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-23 Thread Sudeep Holla
Hi Geert, On 23/02/17 15:34, Geert Uytterhoeven wrote: > Hi Sudeep, > > On Thu, Feb 23, 2017 at 4:26 PM, Geert Uytterhoeven > wrote: >> On Wed, Feb 22, 2017 at 3:32 PM, Sudeep Holla wrote: >>> On 22/02/17 13:38, Geert Uytterhoeven wrote: On Wed, Feb 22, 2017 at 12:03 PM, Sudeep Holla

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-23 Thread Sudeep Holla
On 23/02/17 15:26, Geert Uytterhoeven wrote: > Hi Sudeep, > > On Wed, Feb 22, 2017 at 3:32 PM, Sudeep Holla wrote: >> On 22/02/17 13:38, Geert Uytterhoeven wrote: >>> On Wed, Feb 22, 2017 at 12:03 PM, Sudeep Holla wrote: On 22/02/17 01:14,

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-23 Thread Sudeep Holla
On 23/02/17 15:26, Geert Uytterhoeven wrote: > Hi Sudeep, > > On Wed, Feb 22, 2017 at 3:32 PM, Sudeep Holla wrote: >> On 22/02/17 13:38, Geert Uytterhoeven wrote: >>> On Wed, Feb 22, 2017 at 12:03 PM, Sudeep Holla wrote: On 22/02/17 01:14, Rafael J. Wysocki wrote: > On Tuesday,

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-23 Thread Geert Uytterhoeven
Hi Sudeep, On Thu, Feb 23, 2017 at 4:26 PM, Geert Uytterhoeven wrote: > On Wed, Feb 22, 2017 at 3:32 PM, Sudeep Holla wrote: >> On 22/02/17 13:38, Geert Uytterhoeven wrote: >>> On Wed, Feb 22, 2017 at 12:03 PM, Sudeep Holla

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-23 Thread Geert Uytterhoeven
Hi Sudeep, On Thu, Feb 23, 2017 at 4:26 PM, Geert Uytterhoeven wrote: > On Wed, Feb 22, 2017 at 3:32 PM, Sudeep Holla wrote: >> On 22/02/17 13:38, Geert Uytterhoeven wrote: >>> On Wed, Feb 22, 2017 at 12:03 PM, Sudeep Holla wrote: >>> 4. Patch 3/6 adds a new "shallow" state, as it allows to

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-23 Thread Geert Uytterhoeven
Hi Sudeep, On Wed, Feb 22, 2017 at 3:32 PM, Sudeep Holla wrote: > On 22/02/17 13:38, Geert Uytterhoeven wrote: >> On Wed, Feb 22, 2017 at 12:03 PM, Sudeep Holla wrote: >>> On 22/02/17 01:14, Rafael J. Wysocki wrote: On Tuesday, February 21, 2017

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-23 Thread Geert Uytterhoeven
Hi Sudeep, On Wed, Feb 22, 2017 at 3:32 PM, Sudeep Holla wrote: > On 22/02/17 13:38, Geert Uytterhoeven wrote: >> On Wed, Feb 22, 2017 at 12:03 PM, Sudeep Holla wrote: >>> On 22/02/17 01:14, Rafael J. Wysocki wrote: On Tuesday, February 21, 2017 06:45:13 PM Sudeep Holla wrote: >>> Geert,

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-22 Thread Sudeep Holla
On 22/02/17 14:50, Rafael J. Wysocki wrote: > On Wed, Feb 22, 2017 at 3:32 PM, Sudeep Holla wrote: [...] >> >> OK, I thought I had told this before. What do you mean by PSCI system >> suspend can't wakeup from the configured wakeup source. You just said >> above that you

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-22 Thread Sudeep Holla
On 22/02/17 14:50, Rafael J. Wysocki wrote: > On Wed, Feb 22, 2017 at 3:32 PM, Sudeep Holla wrote: [...] >> >> OK, I thought I had told this before. What do you mean by PSCI system >> suspend can't wakeup from the configured wakeup source. You just said >> above that you can wake up from the

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-22 Thread Rafael J. Wysocki
On Wed, Feb 22, 2017 at 3:32 PM, Sudeep Holla wrote: > > > On 22/02/17 13:38, Geert Uytterhoeven wrote: >> Hi Sudeep, >> >> On Wed, Feb 22, 2017 at 12:03 PM, Sudeep Holla wrote: >>> On 22/02/17 01:14, Rafael J. Wysocki wrote: On Tuesday, February

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-22 Thread Rafael J. Wysocki
On Wed, Feb 22, 2017 at 3:32 PM, Sudeep Holla wrote: > > > On 22/02/17 13:38, Geert Uytterhoeven wrote: >> Hi Sudeep, >> >> On Wed, Feb 22, 2017 at 12:03 PM, Sudeep Holla wrote: >>> On 22/02/17 01:14, Rafael J. Wysocki wrote: On Tuesday, February 21, 2017 06:45:13 PM Sudeep Holla wrote: >>>

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-22 Thread Sudeep Holla
On 22/02/17 13:38, Geert Uytterhoeven wrote: > Hi Sudeep, > > On Wed, Feb 22, 2017 at 12:03 PM, Sudeep Holla wrote: >> On 22/02/17 01:14, Rafael J. Wysocki wrote: >>> On Tuesday, February 21, 2017 06:45:13 PM Sudeep Holla wrote: >> >> [...] >> I take this back, you

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-22 Thread Sudeep Holla
On 22/02/17 13:38, Geert Uytterhoeven wrote: > Hi Sudeep, > > On Wed, Feb 22, 2017 at 12:03 PM, Sudeep Holla wrote: >> On 22/02/17 01:14, Rafael J. Wysocki wrote: >>> On Tuesday, February 21, 2017 06:45:13 PM Sudeep Holla wrote: >> >> [...] >> I take this back, you have everything you

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-22 Thread Rafael J. Wysocki
On Wed, Feb 22, 2017 at 2:14 PM, Geert Uytterhoeven wrote: > Hi Rafael, > > On Wed, Feb 22, 2017 at 2:14 AM, Rafael J. Wysocki wrote: >> On Tuesday, February 21, 2017 06:45:13 PM Sudeep Holla wrote: >>> On 21/02/17 18:27, Sudeep Holla wrote: >>> > On

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-22 Thread Rafael J. Wysocki
On Wed, Feb 22, 2017 at 2:14 PM, Geert Uytterhoeven wrote: > Hi Rafael, > > On Wed, Feb 22, 2017 at 2:14 AM, Rafael J. Wysocki wrote: >> On Tuesday, February 21, 2017 06:45:13 PM Sudeep Holla wrote: >>> On 21/02/17 18:27, Sudeep Holla wrote: >>> > On 21/02/17 17:51, Sudeep Holla wrote: >>> >> On

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-22 Thread Geert Uytterhoeven
Hi Sudeep, On Wed, Feb 22, 2017 at 12:03 PM, Sudeep Holla wrote: > On 22/02/17 01:14, Rafael J. Wysocki wrote: >> On Tuesday, February 21, 2017 06:45:13 PM Sudeep Holla wrote: > > [...] > >>> I take this back, you have everything you need in place, nothing needs >>> to be

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-22 Thread Geert Uytterhoeven
Hi Sudeep, On Wed, Feb 22, 2017 at 12:03 PM, Sudeep Holla wrote: > On 22/02/17 01:14, Rafael J. Wysocki wrote: >> On Tuesday, February 21, 2017 06:45:13 PM Sudeep Holla wrote: > > [...] > >>> I take this back, you have everything you need in place, nothing needs >>> to be done. I just checked

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-22 Thread Geert Uytterhoeven
Hi Rafael, On Wed, Feb 22, 2017 at 2:14 AM, Rafael J. Wysocki wrote: > On Tuesday, February 21, 2017 06:45:13 PM Sudeep Holla wrote: >> On 21/02/17 18:27, Sudeep Holla wrote: >> > On 21/02/17 17:51, Sudeep Holla wrote: >> >> On 21/02/17 17:34, Geert Uytterhoeven wrote: >> >>>

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-22 Thread Geert Uytterhoeven
Hi Rafael, On Wed, Feb 22, 2017 at 2:14 AM, Rafael J. Wysocki wrote: > On Tuesday, February 21, 2017 06:45:13 PM Sudeep Holla wrote: >> On 21/02/17 18:27, Sudeep Holla wrote: >> > On 21/02/17 17:51, Sudeep Holla wrote: >> >> On 21/02/17 17:34, Geert Uytterhoeven wrote: >> >>> That's more or less

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-22 Thread Sudeep Holla
On 22/02/17 01:14, Rafael J. Wysocki wrote: > On Tuesday, February 21, 2017 06:45:13 PM Sudeep Holla wrote: [...] >> >> I take this back, you have everything you need in place, nothing needs >> to be done. I just checked again. If I don't register PSCI suspend_ops, >> I still get mem in

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-22 Thread Sudeep Holla
On 22/02/17 01:14, Rafael J. Wysocki wrote: > On Tuesday, February 21, 2017 06:45:13 PM Sudeep Holla wrote: [...] >> >> I take this back, you have everything you need in place, nothing needs >> to be done. I just checked again. If I don't register PSCI suspend_ops, >> I still get mem in

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-21 Thread Rafael J. Wysocki
On Tuesday, February 21, 2017 06:45:13 PM Sudeep Holla wrote: > > On 21/02/17 18:27, Sudeep Holla wrote: > > > > > > On 21/02/17 17:51, Sudeep Holla wrote: > >> > >> > >> On 21/02/17 17:34, Geert Uytterhoeven wrote: > > > > [...] > > > >>> > >>> The SoC can wake-up. It's just not guaranteed

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-21 Thread Rafael J. Wysocki
On Tuesday, February 21, 2017 06:45:13 PM Sudeep Holla wrote: > > On 21/02/17 18:27, Sudeep Holla wrote: > > > > > > On 21/02/17 17:51, Sudeep Holla wrote: > >> > >> > >> On 21/02/17 17:34, Geert Uytterhoeven wrote: > > > > [...] > > > >>> > >>> The SoC can wake-up. It's just not guaranteed

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-21 Thread Sudeep Holla
On 21/02/17 18:27, Sudeep Holla wrote: > > > On 21/02/17 17:51, Sudeep Holla wrote: >> >> >> On 21/02/17 17:34, Geert Uytterhoeven wrote: > > [...] > >>> >>> The SoC can wake-up. It's just not guaranteed that it can wake-up using >>> the wakeup-source configured from Linux. Which

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-21 Thread Sudeep Holla
On 21/02/17 18:27, Sudeep Holla wrote: > > > On 21/02/17 17:51, Sudeep Holla wrote: >> >> >> On 21/02/17 17:34, Geert Uytterhoeven wrote: > > [...] > >>> >>> The SoC can wake-up. It's just not guaranteed that it can wake-up using >>> the wakeup-source configured from Linux. Which

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-21 Thread Sudeep Holla
On 21/02/17 17:51, Sudeep Holla wrote: > > > On 21/02/17 17:34, Geert Uytterhoeven wrote: [...] >> >> The SoC can wake-up. It's just not guaranteed that it can wake-up using >> the wakeup-source configured from Linux. Which wakeup-sources are available >> depends on the actual PSCI

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-21 Thread Sudeep Holla
On 21/02/17 17:51, Sudeep Holla wrote: > > > On 21/02/17 17:34, Geert Uytterhoeven wrote: [...] >> >> The SoC can wake-up. It's just not guaranteed that it can wake-up using >> the wakeup-source configured from Linux. Which wakeup-sources are available >> depends on the actual PSCI

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-21 Thread Sudeep Holla
On 21/02/17 17:34, Geert Uytterhoeven wrote: > Hi Sudeep, > > On Tue, Feb 21, 2017 at 5:45 PM, Sudeep Holla wrote: >> On 21/02/17 16:21, Geert Uytterhoeven wrote: >>> On Tue, Feb 21, 2017 at 11:38 AM, Sudeep Holla wrote: On 20/02/17 20:33,

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-21 Thread Sudeep Holla
On 21/02/17 17:34, Geert Uytterhoeven wrote: > Hi Sudeep, > > On Tue, Feb 21, 2017 at 5:45 PM, Sudeep Holla wrote: >> On 21/02/17 16:21, Geert Uytterhoeven wrote: >>> On Tue, Feb 21, 2017 at 11:38 AM, Sudeep Holla wrote: On 20/02/17 20:33, Geert Uytterhoeven wrote: > This patch

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-21 Thread Geert Uytterhoeven
Hi Sudeep, On Tue, Feb 21, 2017 at 5:45 PM, Sudeep Holla wrote: > On 21/02/17 16:21, Geert Uytterhoeven wrote: >> On Tue, Feb 21, 2017 at 11:38 AM, Sudeep Holla wrote: >>> On 20/02/17 20:33, Geert Uytterhoeven wrote: This patch series adds

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-21 Thread Geert Uytterhoeven
Hi Sudeep, On Tue, Feb 21, 2017 at 5:45 PM, Sudeep Holla wrote: > On 21/02/17 16:21, Geert Uytterhoeven wrote: >> On Tue, Feb 21, 2017 at 11:38 AM, Sudeep Holla wrote: >>> On 20/02/17 20:33, Geert Uytterhoeven wrote: This patch series adds support for using non-PMIC wake-up sources on the

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-21 Thread Sudeep Holla
Hi Geert, On 21/02/17 16:21, Geert Uytterhoeven wrote: > Hi Sudeep, > > On Tue, Feb 21, 2017 at 11:38 AM, Sudeep Holla wrote: >> On 20/02/17 20:33, Geert Uytterhoeven wrote: >>> This patch series adds support for using non-PMIC wake-up sources on the >>> Renesas R-Car Gen3

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-21 Thread Sudeep Holla
Hi Geert, On 21/02/17 16:21, Geert Uytterhoeven wrote: > Hi Sudeep, > > On Tue, Feb 21, 2017 at 11:38 AM, Sudeep Holla wrote: >> On 20/02/17 20:33, Geert Uytterhoeven wrote: >>> This patch series adds support for using non-PMIC wake-up sources on the >>> Renesas R-Car Gen3 (H3 or M3-W)

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-21 Thread Geert Uytterhoeven
Hi Sudeep, On Tue, Feb 21, 2017 at 11:38 AM, Sudeep Holla wrote: > On 20/02/17 20:33, Geert Uytterhoeven wrote: >> This patch series adds support for using non-PMIC wake-up sources on the >> Renesas R-Car Gen3 (H3 or M3-W) Salvator-X development boards. >> >> Nothing in the

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-21 Thread Geert Uytterhoeven
Hi Sudeep, On Tue, Feb 21, 2017 at 11:38 AM, Sudeep Holla wrote: > On 20/02/17 20:33, Geert Uytterhoeven wrote: >> This patch series adds support for using non-PMIC wake-up sources on the >> Renesas R-Car Gen3 (H3 or M3-W) Salvator-X development boards. >> >> Nothing in the PSCI specification

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-21 Thread Sudeep Holla
Hi Geert, On 20/02/17 20:33, Geert Uytterhoeven wrote: > Hi all, > > This patch series adds support for using non-PMIC wake-up sources on the > Renesas R-Car Gen3 (H3 or M3-W) Salvator-X development boards. > > Nothing in the PSCI specification requires the SoC to remain powered and > to

Re: [PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-21 Thread Sudeep Holla
Hi Geert, On 20/02/17 20:33, Geert Uytterhoeven wrote: > Hi all, > > This patch series adds support for using non-PMIC wake-up sources on the > Renesas R-Car Gen3 (H3 or M3-W) Salvator-X development boards. > > Nothing in the PSCI specification requires the SoC to remain powered and > to

[PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-20 Thread Geert Uytterhoeven
Hi all, This patch series adds support for using non-PMIC wake-up sources on the Renesas R-Car Gen3 (H3 or M3-W) Salvator-X development boards. Nothing in the PSCI specification requires the SoC to remain powered and to support wake-up sources when suspended using SYSTEM_SUSPEND. If the

[PATCH/RFC 0/6] PSCI: Fix non-PMIC wake-up if SYSTEM_SUSPEND cuts power

2017-02-20 Thread Geert Uytterhoeven
Hi all, This patch series adds support for using non-PMIC wake-up sources on the Renesas R-Car Gen3 (H3 or M3-W) Salvator-X development boards. Nothing in the PSCI specification requires the SoC to remain powered and to support wake-up sources when suspended using SYSTEM_SUSPEND. If the