public inbox for cip-dev@lists.cip-project.org
 help / color / mirror / Atom feed
* [PATCH 6.12.y-cip 0/5] Add gpio keys/sleep button support for RZ/G3E
@ 2025-12-19 12:29 Biju
  2025-12-19 12:29 ` [PATCH 6.12.y-cip 1/5] pinctrl: renesas: rzg2l: Validate pins before setting mux function Biju
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Biju @ 2025-12-19 12:29 UTC (permalink / raw)
  To: cip-dev, Nobuhiro Iwamatsu, Pavel Machek; +Cc: Biju Das, Lad Prabhakar

From: Biju Das <biju.das.jz@bp.renesas.com>

Add gpio keys support for waking up from s2idle and sleep button support
for entering to STR. Wakeup of STR is by pressing and holding power
button. All the patches in this series are cherry-picked from mainline.

STR logs:
root@smarc-rzg3e:~# [   25.082405] PM: suspend entry (deep)
[   25.086495] Filesystems sync: 0.000 seconds
[   25.098336] Freezing user space processes
[   25.104215] Freezing user space processes completed (elapsed 0.001 seconds)
[   25.111199] OOM killer disabled.
[   25.114443] Freezing remaining freezable tasks
[   25.120149] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[   25.127557] printk: Suspending console(s) (use no_console_suspend to debug)
NOTICE:  BL2: v2.10.5(release):b288fa6dd
NOTICE:  BL2: Built : 11:10:41, Dec 11 2025
NOTICE:  BL2: SYS_LSI_MODE: 0x13e06
NOTICE:  BL2: SYS_LSI_DEVID: 0x8679447
NOTICE:  BL2: SYS_LSI_PRR: 0x0
NOTICE:  BL2: Booting BL31
[   25.179095] renesas-gbeth 15c30000.ethernet end0: Link is Down
[   25.186526] Disabling non-boot CPUs ...
[   25.189612] psci: CPU3 killed (polled 4 ms)
[   25.196378] psci: CPU2 killed (polled 0 ms)
[   25.202614] psci: CPU1 killed (polled 0 ms)
[   25.209180] Enabling non-boot CPUs ...
[   25.209374] Detected VIPT I-cache on CPU1
[   25.209419] GICv3: CPU1: found redistributor 100 region 0:0x0000000014960000
[   25.209457] CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
[   25.209990] CPU1 is up
[   25.210078] Detected VIPT I-cache on CPU2
[   25.210099] GICv3: CPU2: found redistributor 200 region 0:0x0000000014980000
[   25.210119] CPU2: Booted secondary processor 0x0000000200 [0x412fd050]
[   25.210484] CPU2 is up
[   25.210573] Detected VIPT I-cache on CPU3
[   25.210594] GICv3: CPU3: found redistributor 300 region 0:0x00000000149a0000
[   25.210614] CPU3: Booted secondary processor 0x0000000300 [0x412fd050]
[   25.211104] CPU3 is up
[   25.212242] renesas-gbeth 15c30000.ethernet end0: configuring for phy/rgmii-id link mode
[   25.225378] dwmac4: Master AXI performs any burst length
[   25.225409] renesas-gbeth 15c30000.ethernet end0: No Safety Features support found
[   25.225427] renesas-gbeth 15c30000.ethernet end0: IEEE 1588-2008 Advanced Timestamp supported
[   25.225572] renesas-gbeth 15c40000.ethernet end1: configuring for phy/rgmii-id link mode
[   25.237367] dwmac4: Master AXI performs any burst length
[   25.237394] renesas-gbeth 15c40000.ethernet end1: No Safety Features support found
[   25.237408] renesas-gbeth 15c40000.ethernet end1: IEEE 1588-2008 Advanced Timestamp supported
[   25.430129] OOM killer enabled.
[   25.433255] Restarting tasks ... done.
[   25.437594] random: crng reseeded on system resumption
[   25.442833] PM: suspend exit

root@smarc-rzg3e:~#

s2idle logs:
root@smarc-rzg3e:~# echo freeze > /sys/power/state
[   49.646154] PM: suspend entry (s2idle)
[   49.660843] Filesystems sync: 0.010 seconds
[   49.670380] Freezing user space processes
[   49.676749] Freezing user space processes completed (elapsed 0.002 seconds)
[   49.683897] OOM killer disabled.
[   49.687248] Freezing remaining freezable tasks
[   49.693235] Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
[   49.700799] printk: Suspending console(s) (use no_console_suspend to debug)
[   49.735926] renesas-gbeth 15c30000.ethernet end0: Link is Down
[   51.619991] renesas-gbeth 15c30000.ethernet end0: configuring for phy/rgmii-id link mode
[   51.635772] dwmac4: Master AXI performs any burst length
[   51.635852] renesas-gbeth 15c30000.ethernet end0: No Safety Features support found
[   51.635912] renesas-gbeth 15c30000.ethernet end0: IEEE 1588-2008 Advanced Timestamp supported
[   51.636252] renesas-gbeth 15c40000.ethernet end1: configuring for phy/rgmii-id link mode
[   51.652051] dwmac4: Master AXI performs any burst length
[   51.652126] renesas-gbeth 15c40000.ethernet end1: No Safety Features support found
[   51.652181] renesas-gbeth 15c40000.ethernet end1: IEEE 1588-2008 Advanced Timestamp supported
[   51.765175] OOM killer enabled.
[   51.768332] Restarting tasks ... done.
[   51.773325] random: crng reseeded on system resumption
[   51.778619] PM: suspend exit

Biju Das (4):
  pinctrl: renesas: rzg2l: Add suspend/resume support for Schmitt
    control registers
  pinctrl: renesas: rzg2l: Drop unnecessary pin configurations
  arm64: dts: renesas: r9a09g047e57-smarc: Add gpio keys
  arm64: dts: renesas: r9a09g047e57-smarc: Use Schmitt input for NMI
    function

Lad Prabhakar (1):
  pinctrl: renesas: rzg2l: Validate pins before setting mux function

 .../boot/dts/renesas/r9a09g047e57-smarc.dts   | 38 +++++++++
 .../boot/dts/renesas/renesas-smarc2.dtsi      | 31 +++++++
 drivers/pinctrl/renesas/pinctrl-rzg2l.c       | 82 +++++++++++++------
 3 files changed, 124 insertions(+), 27 deletions(-)

-- 
2.43.0



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-12-31 10:06 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-19 12:29 [PATCH 6.12.y-cip 0/5] Add gpio keys/sleep button support for RZ/G3E Biju
2025-12-19 12:29 ` [PATCH 6.12.y-cip 1/5] pinctrl: renesas: rzg2l: Validate pins before setting mux function Biju
2025-12-19 12:29 ` [PATCH 6.12.y-cip 2/5] pinctrl: renesas: rzg2l: Add suspend/resume support for Schmitt control registers Biju
2025-12-19 12:29 ` [PATCH 6.12.y-cip 3/5] pinctrl: renesas: rzg2l: Drop unnecessary pin configurations Biju
2025-12-19 12:29 ` [PATCH 6.12.y-cip 4/5] arm64: dts: renesas: r9a09g047e57-smarc: Add gpio keys Biju
2025-12-24  5:17   ` nobuhiro.iwamatsu.x90
2025-12-24  9:30     ` Biju Das
2025-12-24 21:19       ` nobuhiro.iwamatsu.x90
2025-12-29 20:57       ` [cip-dev] " Pavel Machek
2025-12-29 21:12   ` Pavel Machek
2025-12-31 10:06     ` Biju Das
2025-12-19 12:29 ` [PATCH 6.12.y-cip 5/5] arm64: dts: renesas: r9a09g047e57-smarc: Use Schmitt input for NMI function Biju
2025-12-29 21:13 ` [PATCH 6.12.y-cip 0/5] Add gpio keys/sleep button support for RZ/G3E Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox