[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210303104724.1316-1-qiangqing.zhang@nxp.com>
Date: Wed, 3 Mar 2021 18:47:21 +0800
From: Joakim Zhang <qiangqing.zhang@....com>
To: peppe.cavallaro@...com, alexandre.torgue@...com,
joabreu@...opsys.com, davem@...emloft.net, kuba@...nel.org,
f.fainelli@...il.com, andrew@...n.ch
Cc: netdev@...r.kernel.org, linux-imx@....com
Subject: [RFC V3 net-next 0/3] net: stmmac: implement clocks management
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@...n.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
Powered by blists - more mailing lists