mirror-linux/Documentation/devicetree/bindings/net
Stas Sergeev 4cba5c2103 of_mdio: add new DT property 'managed' to specify the PHY management type
Currently the PHY management type is selected by the MAC driver arbitrary.
The decision is based on the presence of the "fixed-link" node and on a
will of the driver's authors.
This caused a regression recently, when mvneta driver suddenly started
to use the in-band status for auto-negotiation on fixed links.
It appears the auto-negotiation may not work when expected by the MAC driver.
Sebastien Rannou explains:
<< Yes, I confirm that my HW does not generate an in-band status. AFAIK, it's
a PHY that aggregates 4xSGMIIs to 1xQSGMII ; the MAC side of the PHY (with
inband status) is connected to the switch through QSGMII, and in this context
we are on the media side of the PHY. >>
https://lkml.org/lkml/2015/7/10/206

This patch introduces the new string property 'managed' that allows
the user to set the management type explicitly.
The supported values are:
"auto" - default. Uses either MDIO or nothing, depending on the presence
of the fixed-link node
"in-band-status" - use in-band status

Signed-off-by: Stas Sergeev <stsp@users.sourceforge.net>

CC: Rob Herring <robh+dt@kernel.org>
CC: Pawel Moll <pawel.moll@arm.com>
CC: Mark Rutland <mark.rutland@arm.com>
CC: Ian Campbell <ijc+devicetree@hellion.org.uk>
CC: Kumar Gala <galak@codeaurora.org>
CC: Florian Fainelli <f.fainelli@gmail.com>
CC: Grant Likely <grant.likely@linaro.org>
CC: devicetree@vger.kernel.org
CC: linux-kernel@vger.kernel.org
CC: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-07-21 16:12:55 -07:00
..
can net: can: c_can: Add support for TI am4372 DCAN 2014-11-17 15:32:10 +01:00
dsa net: dsa: fix filling routing table from OF description 2015-04-06 17:31:37 -04:00
ieee802154 cc2520: Add support for CC2591 amplifier. 2015-03-18 17:50:25 +01:00
nfc NFC: nfcmrvl: add UART driver 2015-06-11 23:41:57 +02:00
wireless dt: bindings: add TI's wilink wireless device 2015-03-24 09:48:14 -07:00
allwinner,sun4i-emac.txt
allwinner,sun4i-mdio.txt
allwinner,sun7i-a20-gmac.txt
altera_tse.txt dts: Add bindings for the Altera Triple Speed Ethernet driver 2014-03-17 21:26:56 -04:00
amd-xgbe.txt amd-xgbe: Support defining PHY resources in ETH device node 2015-05-15 15:21:43 -04:00
apm-xgene-enet.txt Documentation: dts: xgene: Update interrupt field description 2015-03-27 14:18:48 -07:00
arc_emac.txt arc_emac: add clock handling 2014-04-27 19:46:17 -04:00
brcm,bcm7445-switch-v4.0.txt dt-bindings: brcm: rationalize Broadcom documentation naming 2015-03-26 12:14:11 -05:00
brcm,bcmgenet.txt dt-bindings: brcm: rationalize Broadcom documentation naming 2015-03-26 12:14:11 -05:00
brcm,systemport.txt dt-bindings: brcm: rationalize Broadcom documentation naming 2015-03-26 12:14:11 -05:00
brcm,unimac-mdio.txt dt-bindings: brcm: rationalize Broadcom documentation naming 2015-03-26 12:14:11 -05:00
broadcom-bcm87xx.txt
calxeda-xgmac.txt
cavium-mdio.txt
cavium-mix.txt
cavium-pip.txt
cdns-emac.txt net: macb: Document zynq gem dt binding 2015-05-22 14:58:09 -04:00
cpsw-phy-sel.txt drivers: net: cpsw-phy-sel: add am43xx platform support 2014-05-13 00:11:00 -04:00
cpsw.txt net: cpsw: Add am33xx MACID readout 2014-09-30 01:30:43 -04:00
davicom-dm9000.txt dm9000: Add regulator and reset support to dm9000 2015-01-15 14:08:07 -05:00
davinci-mdio.txt net: davinci_mdio: reuse for keystone2 arch 2014-07-16 23:33:16 -07:00
davinci_emac.txt net: davinci_emac: Add support for emac on dm816x 2015-01-16 01:00:03 -05:00
emac_rockchip.txt dt-bindings: Document EMAC Rockchip 2014-09-09 17:29:59 -07:00
ethernet.txt of_mdio: add new DT property 'managed' to specify the PHY management type 2015-07-21 16:12:55 -07:00
ezchip_enet.txt NET: Add ezchip ethernet driver 2015-06-23 07:16:25 -07:00
fixed-link.txt Documentation: devicetree: add old and deprecated 'fixed-link' 2014-05-22 15:16:43 -04:00
fsl-fec.txt net: fec: add Wake-on-LAN support 2014-12-31 13:06:50 -05:00
fsl-tsec-phy.txt net/fsl_pq_mdio: Document supported compatibles 2015-02-03 16:11:39 -08:00
gpmc-eth.txt
hisilicon-hip04-net.txt Documentation: add Device tree bindings for Hisilicon hip04 ethernet 2015-01-14 01:52:45 -05:00
hisilicon-hix5hd2-gmac.txt Documentation: add Device tree bindings for Hisilicon hix5hd2 ethernet 2014-06-02 23:39:05 -07:00
ipq806x-dwmac.txt net: stmmac: ipq806x: document device tree bindings 2015-05-30 17:04:37 -07:00
keystone-netcp.txt net: netcp: ethss: enhancement to support NetCP 1.5 ethss 2015-03-20 22:03:09 -04:00
lpc-eth.txt
macb.txt net/macb: bindings doc: add sama5d2 compatibility sting 2015-06-23 01:24:33 -07:00
marvell-armada-370-neta.txt net: mvneta: introduce compatible string "marvell, armada-xp-neta" 2015-06-30 09:37:09 -07:00
marvell-orion-mdio.txt
marvell-orion-net.txt
marvell-pp2.txt ethernet: Add new driver for Marvell Armada 375 network unit 2014-07-10 17:18:24 -07:00
marvell-pxa168.txt Documentation: bindings: net: add the Marvell PXA168 Ethernet controller 2014-09-30 16:36:12 -04:00
mdio-gpio.txt net: mdio-gpio: fix device-tree binding documentation 2014-05-09 15:51:19 -04:00
mdio-mux-gpio.txt
mdio-mux-mmioreg.txt
mdio-mux.txt
meson-dwmac.txt net: stmmac: meson: document device tree bindings 2014-09-26 00:12:56 -04:00
micrel-ks8851.txt devicetree: bindings: Properly document micrel ks8851 SPI chips 2014-05-24 14:03:21 -04:00
micrel-ksz90x1.txt Update Micrel KSZ90x1 binding documentation 2014-05-07 16:51:09 -04:00
micrel.txt dt/bindings: add clock-select function property to micrel phy binding 2014-11-21 14:08:57 -05:00
moxa,moxart-mac.txt
nxp,lpc1850-dwmac.txt doc: dt: add documentation for nxp,lpc1850-dwmac 2015-05-15 12:44:21 -04:00
opencores-ethoc.txt
phy.txt of: mdio: Add a "broken-turn-around" property 2015-05-14 13:40:55 -04:00
qca-qca7000-spi.txt Documentation: add Device tree bindings for QCA7000 2014-09-29 00:23:52 -04:00
renesas,ravb.txt Renesas Ethernet AVB driver proper 2015-06-11 00:14:29 -07:00
rockchip-dwmac.txt net: stmmac: dwmac-rk: add rk3368-specific data 2015-06-23 06:49:26 -07:00
samsung-sxgbe.txt Documentation: treewide: fix typos and grammar 2014-08-26 09:35:51 +02:00
sh_eth.txt net: sh_eth: Add r8a7793 support 2014-11-13 15:03:53 -05:00
smsc-lan91c111.txt net: smc91x: Fix gpios for device tree based booting 2014-10-31 15:54:18 -04:00
smsc911x.txt
socfpga-dwmac.txt net: stmmac: add fix_mac_speed support for socfpga 2014-08-22 12:33:48 -07:00
sti-dwmac.txt stmmac: dwmac-sti: Pass sysconfig register offset via syscon dt property. 2015-01-11 18:53:34 -05:00
stmmac.txt stmmac: Add properties for transmit and receive fifo sizes 2015-04-16 13:58:42 -04:00
ti,dp83867.txt net: phy: dp83867: Fix device tree entries 2015-06-08 15:54:04 -07:00
via-rhine.txt net: via-rhine: add OF bus binding 2014-04-23 15:24:06 -04:00
via-velocity.txt