From: Joakim Zhang <qiangqing.zhang@nxp.com>
To: peppe.cavallaro@st.com, alexandre.torgue@st.com,
joabreu@synopsys.com, davem@davemloft.net, kuba@kernel.org,
f.fainelli@gmail.com, andrew@lunn.ch
Cc: netdev@vger.kernel.org, linux-imx@nxp.com
Subject: [RFC V3 net-next 0/3] net: stmmac: implement clocks management
Date: Wed, 3 Mar 2021 18:47:21 +0800 [thread overview]
Message-ID: <20210303104724.1316-1-qiangqing.zhang@nxp.com> (raw)
This patch set tries to implement clocks management, and takes i.MX platform as an example.
---
ChangeLogs:
V1->V2:
* change to pm runtime mechanism.
* rename function: _enable() -> _config()
* take MDIO bus into account, it needs clocks when interface
is closed.
* reverse Christmass tree.
V2->V3:
* slightly simple the code according to Andrew's suggesstion
and also add tag: Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Joakim Zhang (3):
net: stmmac: add clocks management for gmac driver
net: stmmac: add platform level clocks management
net: stmmac: dwmac-imx: add platform level clocks management for i.MX
.../net/ethernet/stmicro/stmmac/dwmac-imx.c | 60 ++++++----
drivers/net/ethernet/stmicro/stmmac/stmmac.h | 1 +
.../net/ethernet/stmicro/stmmac/stmmac_main.c | 85 ++++++++++++--
.../net/ethernet/stmicro/stmmac/stmmac_mdio.c | 111 ++++++++++++++----
.../ethernet/stmicro/stmmac/stmmac_platform.c | 24 +++-
include/linux/stmmac.h | 1 +
6 files changed, 221 insertions(+), 61 deletions(-)
--
2.17.1
next reply other threads:[~2021-03-04 0:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-03 10:47 Joakim Zhang [this message]
2021-03-03 10:47 ` [RFC V3 net-next 1/3] net: stmmac: add clocks management for gmac driver Joakim Zhang
2021-03-03 10:47 ` [RFC V3 net-next 2/3] net: stmmac: add platform level clocks management Joakim Zhang
2021-03-03 10:47 ` [RFC V3 net-next 3/3] net: stmmac: dwmac-imx: add platform level clocks management for i.MX Joakim Zhang
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=20210303104724.1316-1-qiangqing.zhang@nxp.com \
--to=qiangqing.zhang@nxp.com \
--cc=alexandre.torgue@st.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=joabreu@synopsys.com \
--cc=kuba@kernel.org \
--cc=linux-imx@nxp.com \
--cc=netdev@vger.kernel.org \
--cc=peppe.cavallaro@st.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).