public inbox for cip-dev@lists.cip-project.org
 help / color / mirror / Atom feed
* [PATCH 6.12.y-cip v3 00/19] RZ/{G2L, G2LC, G2UL, G3S, Five, V2L}: Backport MSTOP support
@ 2026-01-15  8:35 Claudiu
  2026-01-15  8:35 ` [PATCH 6.12.y-cip v3 01/19] PM: domains: Add flags to specify power on attach/detach Claudiu
                   ` (21 more replies)
  0 siblings, 22 replies; 27+ messages in thread
From: Claudiu @ 2026-01-15  8:35 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 v6.12 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 (19):
  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
  driver core: auxiliary bus: Drop dev_pm_domain_detach() call
  i2c: core: Drop dev_pm_domain_detach() call
  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: rzg2l: Drop MSTOP based power domain support
  dt-bindings: clock: rzg2l: Drop power domain IDs
  Revert "dt-bindings: clock: renesas,rzg2l-cpg: Update
    #power-domain-cells = <1> for RZ/G3S"
  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

 .../bindings/clock/renesas,rzg2l-cpg.yaml     |  18 +-
 drivers/amba/bus.c                            |   4 +-
 drivers/base/auxiliary.c                      |   8 +-
 drivers/base/dd.c                             |   3 +
 drivers/base/platform.c                       |   8 +-
 drivers/base/power/common.c                   |  29 +-
 drivers/clk/qcom/apcs-sdx55.c                 |   2 +-
 drivers/clk/renesas/r9a07g043-cpg.c           | 132 ++---
 drivers/clk/renesas/r9a07g044-cpg.c           | 168 +++----
 drivers/clk/renesas/r9a08g045-cpg.c           | 252 ++++------
 drivers/clk/renesas/r9a09g011-cpg.c           | 116 ++---
 drivers/clk/renesas/rzg2l-cpg.c               | 476 ++++++++++--------
 drivers/clk/renesas/rzg2l-cpg.h               |  71 +--
 drivers/gpu/drm/display/drm_dp_aux_bus.c      |   2 +-
 drivers/i2c/i2c-core-base.c                   |   9 +-
 drivers/mmc/core/sdio_bus.c                   |   8 +-
 drivers/rpmsg/rpmsg_core.c                    |   2 +-
 drivers/soundwire/bus_type.c                  |   2 +-
 drivers/spi/spi.c                             |   8 +-
 drivers/tty/serdev/core.c                     |   2 +-
 include/dt-bindings/clock/r9a07g043-cpg.h     |  53 --
 include/dt-bindings/clock/r9a07g044-cpg.h     |  58 ---
 include/dt-bindings/clock/r9a07g054-cpg.h     |  58 ---
 include/dt-bindings/clock/r9a08g045-cpg.h     |  70 ---
 include/linux/pm.h                            |   1 +
 include/linux/pm_domain.h                     |  15 +-
 26 files changed, 673 insertions(+), 902 deletions(-)

-- 
2.43.0



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

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

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-15  8:35 [PATCH 6.12.y-cip v3 00/19] RZ/{G2L, G2LC, G2UL, G3S, Five, V2L}: Backport MSTOP support Claudiu
2026-01-15  8:35 ` [PATCH 6.12.y-cip v3 01/19] PM: domains: Add flags to specify power on attach/detach Claudiu
2026-01-15  8:35 ` [PATCH 6.12.y-cip v3 02/19] PM: domains: Add helper to check for PM domain detach on unbind cleanup Claudiu
2026-01-20  3:36   ` [cip-dev] " Ulrich Hecht
2026-01-15  8:35 ` [PATCH 6.12.y-cip v3 03/19] PM: domains: Detach on device_unbind_cleanup() Claudiu
2026-01-15  8:35 ` [PATCH 6.12.y-cip v3 04/19] driver core: platform: Drop dev_pm_domain_detach() call Claudiu
2026-01-15  8:35 ` [PATCH 6.12.y-cip v3 05/19] mmc: sdio: " Claudiu
2026-01-15  8:35 ` [PATCH 6.12.y-cip v3 06/19] spi: " Claudiu
2026-01-15  8:35 ` [PATCH 6.12.y-cip v3 07/19] driver core: auxiliary bus: " Claudiu
2026-01-15  8:35 ` [PATCH 6.12.y-cip v3 08/19] i2c: core: " Claudiu
2026-01-15  8:35 ` [PATCH 6.12.y-cip v3 09/19] clk: renesas: rzg2l: Move pointers after hw member Claudiu
2026-01-15  8:35 ` [PATCH 6.12.y-cip v3 10/19] clk: renesas: rzg2l: Add macro to loop through module clocks Claudiu
2026-01-15  8:35 ` [PATCH 6.12.y-cip v3 11/19] clk: renesas: rzg2l: Add support for MSTOP in clock enable/disable API Claudiu
2026-01-15  8:35 ` [PATCH 6.12.y-cip v3 12/19] clk: renesas: r9a08g045: Drop power domain instantiation Claudiu
2026-01-15  8:35 ` [PATCH 6.12.y-cip v3 13/19] clk: renesas: rzg2l: Drop MSTOP based power domain support Claudiu
2026-01-15  8:35 ` [PATCH 6.12.y-cip v3 14/19] dt-bindings: clock: rzg2l: Drop power domain IDs Claudiu
2026-01-15  8:35 ` [PATCH 6.12.y-cip v3 15/19] Revert "dt-bindings: clock: renesas,rzg2l-cpg: Update #power-domain-cells = <1> for RZ/G3S" Claudiu
2026-01-15  8:36 ` [PATCH 6.12.y-cip v3 16/19] clk: renesas: r9a08g045: Add MSTOP for coupled clocks as well Claudiu
2026-01-15  8:36 ` [PATCH 6.12.y-cip v3 17/19] clk: renesas: r9a08g045: Add MSTOP for GPIO Claudiu
2026-01-15  8:36 ` [PATCH 6.12.y-cip v3 18/19] clk: renesas: r9a07g044: Add MSTOP for RZ/G2L Claudiu
2026-01-15  8:36 ` [PATCH 6.12.y-cip v3 19/19] clk: renesas: r9a07g043: Add MSTOP for RZ/G2UL Claudiu
2026-01-15 11:40 ` [PATCH 6.12.y-cip v3 00/19] RZ/{G2L, G2LC, G2UL, G3S, Five, V2L}: Backport MSTOP support Pavel Machek
2026-01-15 13:05   ` claudiu beznea
2026-01-20  3:36 ` [cip-dev] " Ulrich Hecht
2026-01-21 10:32   ` Pavel Machek
2026-01-21 22:11 ` nobuhiro.iwamatsu.x90
2026-01-22 10:48   ` [cip-dev] " Pavel Machek

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