[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1449625269-46078-1-git-send-email-preid@electromag.com.au>
Date: Wed, 9 Dec 2015 09:41:05 +0800
From: Phil Reid <preid@...ctromag.com.au>
To: robh+dt@...nel.org, pawel.moll@....com, mark.rutland@....com,
ijc+devicetree@...lion.org.uk, galak@...eaurora.org,
peppe.cavallaro@...com, davem@...emloft.net,
vbridger@...nsource.altera.com, devicetree@...r.kernel.org,
netdev@...r.kernel.org
Cc: Phil Reid <preid@...ctromag.com.au>
Subject: [PATCH v4 0/4] stmmac: Fixed Phy & PTP fixes
Provide ability to specify a fixed phy in the device tree and
retain the mdio bus if no phy is found. This is needed where
a dsa is connected via a fixed phy and uses the mdio bus for config.
Fixed ptp ref clock calculatins for the stmmac when ptp ref clock
is running at <= 50Mhz. Also add device tree setting to config
ptp clk source on socfpga platforms.
Changes from V3:
- Use if (IS_ENABLED(CONFIG_OF)) instead of #if.
Reorder some code to reduce if statements.
- of_mdiobus_register already falls back to mdiobus_register
- Tested on system with CONFIG_OF
Changes from V2:
- Formatting, spaces & lines > 80 chars. Using checkpatch
- Drop PTP register debugfs patch.
Changes from V1:
- Fixed mismatch doc / code for ptp_ref_clk dt node.
- Remove unit address from doc example.
Phil Reid (5):
stmmac: create of compatible mdio bus for stmacc driver
stmmac: Correct documentation on stmmac clocks.
stmmac: Fix calculations for ptp counters when clock input = 50Mhz.
stmmac: socfpga: Provide dt node to config ptp clk source.
.../devicetree/bindings/net/socfpga-dwmac.txt | 2 ++
Documentation/devicetree/bindings/net/stmmac.txt | 25 +++++++++-----
drivers/net/ethernet/stmicro/stmmac/common.h | 2 +-
.../net/ethernet/stmicro/stmmac/dwmac-socfpga.c | 9 +++++
.../net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c | 9 +++--
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 19 +++++------
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 39 ++++++++++++++--------
.../net/ethernet/stmicro/stmmac/stmmac_platform.c | 2 +-
8 files changed, 68 insertions(+), 39 deletions(-)
--
1.8.3.1
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists