devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: linux-renesas-soc@vger.kernel.org,
	Magnus Damm <magnus.damm@gmail.com>,
	Gareth Williams <gareth.williams.jx@renesas.com>,
	Phil Edworthy <phil.edworthy@renesas.com>,
	Geert Uytterhoeven <geert@linux-m68k.org>,
	Richard Weinberger <richard@nod.at>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	Tudor Ambarus <Tudor.Ambarus@microchip.com>,
	Pratyush Yadav <p.yadav@ti.com>, Michael Walle <michael@walle.cc>,
	<linux-mtd@lists.infradead.org>
Cc: Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	devicetree@vger.kernel.org,
	Milan Stevanovic <milan.stevanovic@se.com>,
	Jimmy Lalande <jimmy.lalande@se.com>,
	Pascal Eberhard <pascal.eberhard@se.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Herve Codina <herve.codina@bootlin.com>,
	Clement Leger <clement.leger@bootlin.com>
Subject: Re: [PATCH v4 0/2] mtd: rawnand: renesas: Runtime PM use
Date: Mon, 16 May 2022 18:43:01 +0200	[thread overview]
Message-ID: <20220516184301.7f0288de@xps-13> (raw)
In-Reply-To: <20220513104957.257721-1-miquel.raynal@bootlin.com>

Hi,

miquel.raynal@bootlin.com wrote on Fri, 13 May 2022 12:49:55 +0200:

> 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 v4:
> * Use pm_runtime_resume_and_get() instead of pm_runtime_get_sync().
> 
> Changes in v3:
> * Moved the pm_runtime calls earlier in the probe to avoid possible
>   register accesses while the clocks have not yet been enabled.
>  
> 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    | 51 +++++++++----------
>  2 files changed, 28 insertions(+), 28 deletions(-)
> 

Series applied on nand/next.

Thanks,
Miquèl

      parent reply	other threads:[~2022-05-16 16:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-13 10:49 [PATCH v4 0/2] mtd: rawnand: renesas: Runtime PM use Miquel Raynal
2022-05-13 10:49 ` [PATCH v4 1/2] dt-bindings: mtd: renesas: Fix the NAND controller description Miquel Raynal
2022-05-13 10:49 ` [PATCH v4 2/2] mtd: rawnand: renesas: Use runtime PM instead of the raw clock API Miquel Raynal
2022-05-13 17:16   ` Geert Uytterhoeven
2022-05-16 16:43 ` Miquel Raynal [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220516184301.7f0288de@xps-13 \
    --to=miquel.raynal@bootlin.com \
    --cc=Tudor.Ambarus@microchip.com \
    --cc=clement.leger@bootlin.com \
    --cc=devicetree@vger.kernel.org \
    --cc=gareth.williams.jx@renesas.com \
    --cc=geert@linux-m68k.org \
    --cc=herve.codina@bootlin.com \
    --cc=jimmy.lalande@se.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=michael@walle.cc \
    --cc=milan.stevanovic@se.com \
    --cc=p.yadav@ti.com \
    --cc=pascal.eberhard@se.com \
    --cc=phil.edworthy@renesas.com \
    --cc=richard@nod.at \
    --cc=robh+dt@kernel.org \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).