All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mtd: rawnand: renesas: Runtime PM use
@ 2022-05-09 15:49 ` Miquel Raynal
  0 siblings, 0 replies; 20+ messages in thread
From: Miquel Raynal @ 2022-05-09 15:49 UTC (permalink / raw)
  To: Richard Weinberger, Vignesh Raghavendra, Tudor Ambarus,
	Pratyush Yadav, Michael Walle, linux-mtd
  Cc: linux-renesas-soc, Magnus Damm, Gareth Williams, Phil Edworthy,
	Geert Uytterhoeven, Rob Herring, Krzysztof Kozlowski, devicetree,
	Milan Stevanovic, Jimmy Lalande, Pascal Eberhard,
	Thomas Petazzoni, Herve Codina, Clement Leger, Miquel Raynal

There was a small mistake when first introducing this controller driver:
the power-domain property was missing in the device tree because there
was only one controller supported at this time (UART) and this is a
Synopsis IP which did not support power domains. The idea is to always
use these power domains when available, so let's add it to the bindings,
the DT and use it from the driver through the runtimpe PM API instead of
doing raw clk API calls.

Changes in v2:
* Dropped the DT patch merged by Geert.
* Used devm_pm_runtime_enable() instead of pm_runtime_enable() and
  dropped the pm_runtime_disable() calls.
* Used pm_runtime_resume_and_get() instead of pm_runtime_get_sync().
* Collected the tags on the bindings.

Miquel Raynal (2):
  dt-bindings: mtd: renesas: Fix the NAND controller description
  mtd: rawnand: renesas: Use runtime PM instead of the raw clock API

 .../bindings/mtd/renesas-nandc.yaml           |  5 ++
 .../mtd/nand/raw/renesas-nand-controller.c    | 58 +++++++++----------
 2 files changed, 31 insertions(+), 32 deletions(-)

-- 
2.27.0


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

end of thread, other threads:[~2022-05-13 10:43 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-09 15:49 [PATCH v2 0/2] mtd: rawnand: renesas: Runtime PM use Miquel Raynal
2022-05-09 15:49 ` Miquel Raynal
2022-05-09 15:49 ` [PATCH v2 1/2] dt-bindings: mtd: renesas: Fix the NAND controller description Miquel Raynal
2022-05-09 15:49   ` Miquel Raynal
2022-05-12 15:27   ` Miquel Raynal
2022-05-12 15:27     ` Miquel Raynal
2022-05-09 15:49 ` [PATCH v2 2/2] mtd: rawnand: renesas: Use runtime PM instead of the raw clock API Miquel Raynal
2022-05-09 15:49   ` Miquel Raynal
2022-05-10  8:52   ` Geert Uytterhoeven
2022-05-10  8:52     ` Geert Uytterhoeven
2022-05-10  9:02     ` Miquel Raynal
2022-05-10  9:02       ` Miquel Raynal
2022-05-10  9:14       ` Geert Uytterhoeven
2022-05-10  9:14         ` Geert Uytterhoeven
2022-05-12 15:27   ` Miquel Raynal
2022-05-12 15:27     ` Miquel Raynal
2022-05-12 15:37     ` Geert Uytterhoeven
2022-05-12 15:37       ` Geert Uytterhoeven
2022-05-13 10:42       ` Miquel Raynal
2022-05-13 10:42         ` Miquel Raynal

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.