All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Magnus Damm <magnus.damm@gmail.com>,
	Linux-Renesas <linux-renesas-soc@vger.kernel.org>
Subject: RE: [PATCH] arm64: dts: renesas: add full-pwr-cycle-in-suspend into eMMC nodes
Date: Fri, 17 Jul 2020 10:01:16 +0000	[thread overview]
Message-ID: <TY2PR01MB36923CD412750CE20F416A45D87C0@TY2PR01MB3692.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <CAMuHMdU2R7qxtgmP6CgmN9_3SZeL7DFUs5iCAu2QG+UBay=EBw@mail.gmail.com>

Hi Geert-san,

> From: Geert Uytterhoeven, Sent: Friday, July 17, 2020 5:35 PM
> 
> Hi Shimoda-san,
> 
> On Fri, Jul 17, 2020 at 10:29 AM Yoshihiro Shimoda
> <yoshihiro.shimoda.uh@renesas.com> wrote:
> > > From: Geert Uytterhoeven, Sent: Friday, July 17, 2020 4:13 PM
> > > On Fri, Jul 17, 2020 at 7:44 AM Yoshihiro Shimoda
> > > <yoshihiro.shimoda.uh@renesas.com> wrote:
> > > > > From: Geert Uytterhoeven, Sent: Wednesday, July 15, 2020 6:05 PM
> > > > > On Fri, Jul 10, 2020 at 2:03 PM Yoshihiro Shimoda
> > > > > <yoshihiro.shimoda.uh@renesas.com> wrote:
> > <snip>
> > > > > >  arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts   | 1 +
> > > > > >  arch/arm64/boot/dts/renesas/salvator-common.dtsi | 1 +
> > > > >
> > > > > I assume we need this on other boards, too?
> > > > > At least ULCB uses the BD9571 PMIC, and has a similar PSCI s2ram
> > > > > implementation as Salvator-X(S) and Ebisu.
> > > >
> > > > I think so. And, I also thin ULCB+KF should not have this because
> > > > it doesn't support Suspend-to-RAM. But, what do you think?
> > >
> > > How come ULCB+KF doesn't support s2ram?
> > > Isn't KingFisher just an extension board for ULCB?
> > > Does it require a firmware upgrade?
> >
> > It's related to board design. If ULCB+KF, we must not use 5V AC to ULCB side
> > and must use 12V AC to KF side. And KF has power switch as SW6 for both ULCB+KF.
> > https://elinux.org/R-Car/Boards/Kingfisher
> 
> OK.
> 
> > However, PMIC on ULCB cannot control the KF power unfortunately.
> > So, we have no chance to use s2ram on ULCB+KF...
> 
> Makes sense.
> BTW, what happens if you try s2ram? I guess the system just wakes up again
> immediately? Or does it crash?

It's frozen after s2ram. Some LEDs on ULCB is OFF. But, LEDs on KF is still ON.
So, I'm wondering if it's better to add the property on ULCB+KF too
because it seems ULCB is turned off. But, what do you think?

--- log ---
root@m3ulcb:~# echo N > /sys/module/printk/parameters/con... 
root@m3ulcb:~# echo N > /sys/module/printk/parameters/console_suspend
root@m3ulcb:~# echo mem > /sys/power/state
[  109.870240] PM: suspend entry (deep)
[  109.873993] Filesystems sync: 0.000 seconds
[  109.879371] Freezing user space processes ... (elapsed 0.001 seconds) done.
[  109.888121] OOM killer disabled.
[  109.891358] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[  109.929977] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[  110.019772] ravb e6800000.ethernet eth0: Link is Down
[  110.222978] Disabling non-boot CPUs ...
[  110.227379] CPU1: shutdown
[  110.230108] psci: CPU1 killed (polled 0 ms)
[  110.236452] CPU2: shutdown
[  110.239216] psci: CPU2 killed (polled 0 ms)
[  110.245304] CPU3: shutdown
[  110.248033] psci: CPU3 killed (polled 0 ms)
[  110.253642] CPU4: shutdown
[  110.256376] psci: CPU4 killed (polled 0 ms)
[  110.261872] CPU5: shutdown
[  110.264638] psci: CPU5 killed (polled 0 ms) 
---

Best regards,
Yoshihiro Shimoda


  reply	other threads:[~2020-07-17 10:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-10 12:03 [PATCH] arm64: dts: renesas: add full-pwr-cycle-in-suspend into eMMC nodes Yoshihiro Shimoda
2020-07-15  9:04 ` Geert Uytterhoeven
2020-07-17  5:44   ` Yoshihiro Shimoda
2020-07-17  7:12     ` Geert Uytterhoeven
2020-07-17  8:29       ` Yoshihiro Shimoda
2020-07-17  8:35         ` Geert Uytterhoeven
2020-07-17 10:01           ` Yoshihiro Shimoda [this message]
2020-07-17 10:07             ` Geert Uytterhoeven
2020-07-17 12:33               ` Yoshihiro Shimoda

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=TY2PR01MB36923CD412750CE20F416A45D87C0@TY2PR01MB3692.jpnprd01.prod.outlook.com \
    --to=yoshihiro.shimoda.uh@renesas.com \
    --cc=geert@linux-m68k.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.