CIP-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 5.10.y-cip 00/22] RZ/{G2L, G2LC, G2UL, G3S, Five, V2L}: Backport MSTOP support
@ 2025-11-06  8:11 Claudiu
  2025-11-06  8:11 ` [PATCH 5.10.y-cip 01/22] PM: domains: Add flags to specify power on attach/detach Claudiu
                   ` (23 more replies)
  0 siblings, 24 replies; 36+ messages in thread
From: Claudiu @ 2025-11-06  8:11 UTC (permalink / raw)
  To: nobuhiro1.iwamatsu, pavel; +Cc: claudiu.beznea, cip-dev

From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>

Hi,

Series backports the MSTOP (Module Stop) support for the Renesas
RZ/G2L, RZ/G2LC, RZ/G2UL, RZ/G3S, RZ/Five, RZ/V2L SoCs.

The purpose of MSTOP is to reduce power consumption by stopping
unnecessary module's functions.

If any master accesses a module that has the clock stopped and the
MSTOP bit set, a bus error will occur.

Due to this, to avoid CPU generating synchronous aborts, changes
to PM domain specific code were needed. The changes backported in
this series were adjusted to be executed only for the above
mentioned Renesas SoCs.

Please share your thoughts on this approach.

Thank you,
Claudiu

Claudiu Beznea (21):
  PM: domains: Add flags to specify power on attach/detach
  PM: domains: Add helper to check for PM domain detach on unbind
    cleanup
  PM: domains: Detach on device_unbind_cleanup()
  driver core: platform: Drop dev_pm_domain_detach() call
  mmc: sdio: Drop dev_pm_domain_detach() call
  spi: Drop dev_pm_domain_detach() call
  rpmsg: core: Drop dev_pm_domain_detach() call
  soundwire: bus: Drop dev_pm_domain_detach() call
  serdev: Drop dev_pm_domain_detach() call
  i2c: core: Drop dev_pm_domain_detach() call
  clk: renesas: rzg2l: Extend power domain support
  clk: renesas: rzg2l: Postpone updating priv->clks[]
  clk: renesas: rzg2l: Move pointers after hw member
  clk: renesas: rzg2l: Add macro to loop through module clocks
  clk: renesas: rzg2l: Add support for MSTOP in clock enable/disable API
  clk: renesas: r9a08g045: Drop power domain instantiation
  clk: renesas: r9a08g045: Add MSTOP for coupled clocks as well
  clk: renesas: r9a08g045: Add MSTOP for GPIO
  clk: renesas: r9a07g044: Add MSTOP for RZ/G2L
  clk: renesas: r9a07g043: Add MSTOP for RZ/G2UL
  clk: renesas: r9a07g04[34]: Use tabs instead of spaces

Michael Ellerman (1):
  of: Add of_machine_compatible_match()

 drivers/amba/bus.c                  |   4 +-
 drivers/base/dd.c                   |   7 +
 drivers/base/platform.c             |   8 +-
 drivers/base/power/common.c         |  29 ++-
 drivers/clk/renesas/r9a07g043-cpg.c | 140 +++++++-------
 drivers/clk/renesas/r9a07g044-cpg.c | 176 ++++++++---------
 drivers/clk/renesas/r9a08g045-cpg.c | 139 +++++++++-----
 drivers/clk/renesas/r9a09g011-cpg.c |  92 ++++-----
 drivers/clk/renesas/rzg2l-cpg.c     | 285 ++++++++++++++++++++++++++--
 drivers/clk/renesas/rzg2l-cpg.h     |  28 ++-
 drivers/i2c/i2c-core-base.c         |   9 +-
 drivers/mmc/core/sdio_bus.c         |   8 +-
 drivers/of/base.c                   |  21 ++
 drivers/rpmsg/rpmsg_core.c          |   6 +-
 drivers/soundwire/bus_type.c        |   8 +-
 drivers/spi/spi.c                   |   8 +-
 drivers/tty/serdev/core.c           |   8 +-
 include/linux/of.h                  |   6 +
 include/linux/pm.h                  |   1 +
 include/linux/pm_domain.h           |  20 +-
 20 files changed, 705 insertions(+), 298 deletions(-)

-- 
2.43.0



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

end of thread, other threads:[~2025-11-28 14:55 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-06  8:11 [PATCH 5.10.y-cip 00/22] RZ/{G2L, G2LC, G2UL, G3S, Five, V2L}: Backport MSTOP support Claudiu
2025-11-06  8:11 ` [PATCH 5.10.y-cip 01/22] PM: domains: Add flags to specify power on attach/detach Claudiu
2025-11-06  8:11 ` [PATCH 5.10.y-cip 02/22] of: Add of_machine_compatible_match() Claudiu
2025-11-06  8:11 ` [PATCH 5.10.y-cip 03/22] PM: domains: Add helper to check for PM domain detach on unbind cleanup Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 04/22] PM: domains: Detach on device_unbind_cleanup() Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 05/22] driver core: platform: Drop dev_pm_domain_detach() call Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 06/22] mmc: sdio: " Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 07/22] spi: " Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 08/22] rpmsg: core: " Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 09/22] soundwire: bus: " Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 10/22] serdev: " Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 11/22] i2c: core: " Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 12/22] clk: renesas: rzg2l: Extend power domain support Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 13/22] clk: renesas: rzg2l: Postpone updating priv->clks[] Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 14/22] clk: renesas: rzg2l: Move pointers after hw member Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 15/22] clk: renesas: rzg2l: Add macro to loop through module clocks Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 16/22] clk: renesas: rzg2l: Add support for MSTOP in clock enable/disable API Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 17/22] clk: renesas: r9a08g045: Drop power domain instantiation Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 18/22] clk: renesas: r9a08g045: Add MSTOP for coupled clocks as well Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 19/22] clk: renesas: r9a08g045: Add MSTOP for GPIO Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 20/22] clk: renesas: r9a07g044: Add MSTOP for RZ/G2L Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 21/22] clk: renesas: r9a07g043: Add MSTOP for RZ/G2UL Claudiu
2025-11-06  8:12 ` [PATCH 5.10.y-cip 22/22] clk: renesas: r9a07g04[34]: Use tabs instead of spaces Claudiu
2025-11-06 19:23 ` [PATCH 5.10.y-cip 00/22] RZ/{G2L, G2LC, G2UL, G3S, Five, V2L}: Backport MSTOP support Pavel Machek
2025-11-07 10:06   ` Claudiu Beznea
     [not found]   ` <1875B18477989308.416970@lists.cip-project.org>
2025-11-11  8:47     ` [cip-dev] " Claudiu Beznea
2025-11-21 12:47     ` Claudiu Beznea
2025-11-21 12:50       ` [PATCH] drm: renesas: Open/close devres_group on probe/remove Claudiu
2025-11-21 13:43       ` [cip-dev] [PATCH 5.10.y-cip 00/22] RZ/{G2L, G2LC, G2UL, G3S, Five, V2L}: Backport MSTOP support Pavel Machek
2025-11-21 13:55         ` Claudiu Beznea
2025-11-23  9:15           ` Biju Das
2025-11-24  8:03             ` Claudiu Beznea
2025-11-24 10:10               ` Pavel Machek
2025-11-24 13:21                 ` Claudiu Beznea
2025-11-28 12:02 ` Pavel Machek
2025-11-28 14:54   ` Claudiu Beznea

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