From: Sergey Shtylyov <s.shtylyov@omp.ru>
To: Claudiu <claudiu.beznea@tuxon.dev>, <davem@davemloft.net>,
<edumazet@google.com>, <kuba@kernel.org>, <pabeni@redhat.com>,
<richardcochran@gmail.com>, <p.zabel@pengutronix.de>,
<geert+renesas@glider.be>
Cc: <netdev@vger.kernel.org>, <linux-renesas-soc@vger.kernel.org>,
<linux-kernel@vger.kernel.org>,
Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Subject: Re: [PATCH net-next v5 07/15] net: ravb: Move reference clock enable/disable on runtime PM APIs
Date: Wed, 31 Jan 2024 21:38:50 +0300 [thread overview]
Message-ID: <518b6105-b09a-bd07-e6b1-026f73366a35@omp.ru> (raw)
In-Reply-To: <20240131084133.1671440-8-claudiu.beznea.uj@bp.renesas.com>
On 1/31/24 11:41 AM, Claudiu wrote:
> From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
>
> Reference clock could be or not be part of the power domain. If it is part
> of the power domain, the power domain takes care of properly setting it. In
> case it is not part of the power domain and full runtime PM support is
> available in driver the clock will not be propertly disabled/enabled at
> runtime. For this, keep the prepare/unprepare operations in the driver's
> probe()/remove() functions and move the enable/disable in runtime PM
> functions.
>
> By doing this, the previous ravb_runtime_nop() function was renamed
> ravb_runtime_suspend() and the comment was removed. A proper runtime PM
> resume function was added (ravb_runtime_resume()). The current driver
> still don't need to make any register settings on runtime suspend/resume
> (as expressed in the removed comment) because, currently,
> pm_runtime_put_sync() is called on the driver remove function. This will be
> changed in the next commits (that extends the runtime PM support) such
> that proper register settings (along with runtime resume/suspend) will be
> done on ravb_open()/ravb_close().
>
> Along with it, the other clock request operations were moved close to
> reference clock request and prepare to have all the clock requests
> specific code grouped together.
>
> Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
[...]
MBR, Sergey
next prev parent reply other threads:[~2024-01-31 18:39 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-31 8:41 [PATCH net-next v5 00/15] net: ravb: Prepare for suspend to RAM and runtime PM support (part 1) Claudiu
2024-01-31 8:41 ` [PATCH net-next v5 01/15] net: ravb: Let IP-specific receive function to interrogate descriptors Claudiu
2024-01-31 8:41 ` [PATCH net-next v5 02/15] net: ravb: Rely on PM domain to enable gptp_clk Claudiu
2024-01-31 8:41 ` [PATCH net-next v5 03/15] net: ravb: Make reset controller support mandatory Claudiu
2024-01-31 8:41 ` [PATCH net-next v5 04/15] net: ravb: Switch to SYSTEM_SLEEP_PM_OPS()/RUNTIME_PM_OPS() and pm_ptr() Claudiu
2024-01-31 8:41 ` [PATCH net-next v5 05/15] net: ravb: Use tabs instead of spaces Claudiu
2024-01-31 8:41 ` [PATCH net-next v5 06/15] net: ravb: Assert/de-assert reset on suspend/resume Claudiu
2024-01-31 8:41 ` [PATCH net-next v5 07/15] net: ravb: Move reference clock enable/disable on runtime PM APIs Claudiu
2024-01-31 18:38 ` Sergey Shtylyov [this message]
2024-01-31 8:41 ` [PATCH net-next v5 08/15] net: ravb: Move the IRQs getting/requesting in the probe() method Claudiu
2024-01-31 19:51 ` Sergey Shtylyov
2024-02-01 6:31 ` claudiu beznea
2024-01-31 8:41 ` [PATCH net-next v5 09/15] net: ravb: Split GTI computation and set operations Claudiu
2024-01-31 8:41 ` [PATCH net-next v5 10/15] net: ravb: Move delay mode set in the driver's ndo_open API Claudiu
2024-01-31 8:41 ` [PATCH net-next v5 11/15] net: ravb: Move DBAT configuration to " Claudiu
2024-01-31 8:41 ` [PATCH net-next v5 12/15] net: ravb: Move PTP initialization in the driver's ndo_open API for ccc_gac platorms Claudiu
2024-01-31 8:41 ` [PATCH net-next v5 13/15] net: ravb: Set config mode in ndo_open and reset mode in ndo_close Claudiu
2024-01-31 8:41 ` [PATCH net-next v5 14/15] net: ravb: Simplify ravb_suspend() Claudiu
2024-01-31 8:41 ` [PATCH net-next v5 15/15] net: ravb: Simplify ravb_resume() Claudiu
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=518b6105-b09a-bd07-e6b1-026f73366a35@omp.ru \
--to=s.shtylyov@omp.ru \
--cc=claudiu.beznea.uj@bp.renesas.com \
--cc=claudiu.beznea@tuxon.dev \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=geert+renesas@glider.be \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=pabeni@redhat.com \
--cc=richardcochran@gmail.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
all inboxes | Powered by JetHome®