public inbox for cip-dev@lists.cip-project.org
 help / color / mirror / Atom feed
* [PATCH 5.10.y-cip v3 00/18] RZ/{G2L, G2LC, G2UL, G3S, Five, V2L}: Backport MSTOP support
@ 2026-01-15  8:33 Claudiu
  2026-01-15  8:33 ` [PATCH 5.10.y-cip v3 01/18] PM: domains: Add flags to specify power on attach/detach Claudiu
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: Claudiu @ 2026-01-15  8:33 UTC (permalink / raw)
  To: pavel, nobuhiro.iwamatsu.x90; +Cc: 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

Changes in v3:
- kept RZ/G3S TSU clock as it is now integrated in v5.10 CIP 

Changes in v2:
- dropped patches:
-- rpmsg: core: Drop dev_pm_domain_detach() call
-- soundwire: bus: Drop dev_pm_domain_detach() call
-- serdev: Drop dev_pm_domain_detach() call
-- clk: renesas: r9a07g04[34]: Use tabs instead of spaces

Claudiu Beznea (17):
  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
  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

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 | 132 ++++++-------
 drivers/clk/renesas/r9a07g044-cpg.c | 168 ++++++++--------
 drivers/clk/renesas/r9a08g045-cpg.c | 142 +++++++++-----
 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          |   2 +-
 drivers/soundwire/bus_type.c        |   2 +-
 drivers/spi/spi.c                   |   8 +-
 drivers/tty/serdev/core.c           |   2 +-
 include/linux/of.h                  |   6 +
 include/linux/pm.h                  |   1 +
 include/linux/pm_domain.h           |  20 +-
 20 files changed, 688 insertions(+), 286 deletions(-)

-- 
2.43.0



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

end of thread, other threads:[~2026-01-22 10:47 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-15  8:33 [PATCH 5.10.y-cip v3 00/18] RZ/{G2L, G2LC, G2UL, G3S, Five, V2L}: Backport MSTOP support Claudiu
2026-01-15  8:33 ` [PATCH 5.10.y-cip v3 01/18] PM: domains: Add flags to specify power on attach/detach Claudiu
2026-01-15  8:33 ` [PATCH 5.10.y-cip v3 02/18] of: Add of_machine_compatible_match() Claudiu
2026-01-15  8:33 ` [PATCH 5.10.y-cip v3 03/18] PM: domains: Add helper to check for PM domain detach on unbind cleanup Claudiu
2026-01-15  8:33 ` [PATCH 5.10.y-cip v3 04/18] PM: domains: Detach on device_unbind_cleanup() Claudiu
2026-01-15  8:33 ` [PATCH 5.10.y-cip v3 05/18] driver core: platform: Drop dev_pm_domain_detach() call Claudiu
2026-01-15  8:33 ` [PATCH 5.10.y-cip v3 06/18] mmc: sdio: " Claudiu
2026-01-15  8:33 ` [PATCH 5.10.y-cip v3 07/18] spi: " Claudiu
2026-01-15  8:33 ` [PATCH 5.10.y-cip v3 08/18] i2c: core: " Claudiu
2026-01-15  8:33 ` [PATCH 5.10.y-cip v3 09/18] clk: renesas: rzg2l: Extend power domain support Claudiu
2026-01-15  8:33 ` [PATCH 5.10.y-cip v3 10/18] clk: renesas: rzg2l: Postpone updating priv->clks[] Claudiu
2026-01-15  8:33 ` [PATCH 5.10.y-cip v3 11/18] clk: renesas: rzg2l: Move pointers after hw member Claudiu
2026-01-15  8:33 ` [PATCH 5.10.y-cip v3 12/18] clk: renesas: rzg2l: Add macro to loop through module clocks Claudiu
2026-01-15  8:33 ` [PATCH 5.10.y-cip v3 13/18] clk: renesas: rzg2l: Add support for MSTOP in clock enable/disable API Claudiu
2026-01-15  8:33 ` [PATCH 5.10.y-cip v3 14/18] clk: renesas: r9a08g045: Drop power domain instantiation Claudiu
2026-01-15  8:33 ` [PATCH 5.10.y-cip v3 15/18] clk: renesas: r9a08g045: Add MSTOP for coupled clocks as well Claudiu
2026-01-15  8:33 ` [PATCH 5.10.y-cip v3 16/18] clk: renesas: r9a08g045: Add MSTOP for GPIO Claudiu
2026-01-15  8:33 ` [PATCH 5.10.y-cip v3 17/18] clk: renesas: r9a07g044: Add MSTOP for RZ/G2L Claudiu
2026-01-15  8:33 ` [PATCH 5.10.y-cip v3 18/18] clk: renesas: r9a07g043: Add MSTOP for RZ/G2UL Claudiu
2026-01-22 10:47 ` [PATCH 5.10.y-cip v3 00/18] RZ/{G2L, G2LC, G2UL, G3S, Five, V2L}: Backport MSTOP support Pavel Machek

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