linux/Documentation/devicetree/bindings
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
..
arc ARCv2: [axs103] Support ARC SDP FPGA platform for HS38x cores 2015-06-25 06:00:20 +05:30
arm Allwinner late changes for 4.2 2015-07-09 15:08:44 -07:00
ata
bus
c6x
clock The changes to the common clock framework for 4.2 are dominated by new 2015-07-01 19:22:00 -07:00
cpufreq
cris
crypto crypto: marvell/cesa - add DT bindings documentation 2015-06-19 22:18:06 +08:00
devfreq/event
dma dmaengine updates for 4.2-rc1 2015-06-29 09:44:45 -07:00
drm drm/msm/hdmi: Use pinctrl in HDMI driver 2015-06-11 13:11:06 -04:00
edac
extcon
fb
fpga
fuse
gpio Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2015-06-27 12:44:34 -07:00
gpu
h8300 h8300: kernel startup 2015-06-23 13:35:51 +09:00
hid
hsi
hwlock DT: hwspinlock: add the CSR atlas7 hwspinlock bindings document 2015-06-12 10:48:51 +03:00
hwmon
hwrng
i2c Merge branch 'i2c/for-4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2015-06-25 18:42:39 -07:00
iio
input Staging driver patches for 4.2-rc1 2015-06-26 15:46:08 -07:00
interrupt-controller Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2015-06-27 12:44:34 -07:00
iommu
leds DT: aat1290: Document handling external strobe sources 2015-06-22 13:55:28 -07:00
lpddr2
mailbox dt: mailbox: Remove 'mbox-names property is discouraged' message from binding 2015-06-11 22:19:46 +05:30
media
memory-controllers ARM: dts: am4372: Add emif node 2015-07-06 05:11:13 -07:00
metag
mfd Devicetree changes for v4.2 2015-07-01 19:40:18 -07:00
mipi
mips DEVICETREE: Add bindings for the SoC of the ATH79 family 2015-06-21 21:54:01 +02:00
misc
mmc mmc: dt-bindings: add Mediatek MMC bindings 2015-06-16 09:48:53 +02:00
mtd
net of_mdio: add new DT property 'managed' to specify the PHY management type 2015-07-21 16:12:55 -07:00
nios2
nvec
panel drm/panel: simple: Add display timing for HannStar HSD100PXN1 2015-06-12 16:40:35 +02:00
pci ARM: SoC: DT updates for v4.2 2015-06-26 11:43:59 -07:00
phy Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2015-06-27 12:44:34 -07:00
pinctrl Devicetree changes for v4.2 2015-07-01 19:40:18 -07:00
power USB patches for 4.2-rc1 2015-06-26 15:59:26 -07:00
power_supply power_supply: max17042: Add OF support for setting thresholds 2015-06-10 16:14:03 +02:00
powerpc
pps
pwm
regmap
regulator Merge remote-tracking branches 'regulator/topic/of', 'regulator/topic/pwm', 'regulator/topic/qcom' and 'regulator/topic/soft-start' into regulator-next 2015-06-22 11:19:56 +01:00
remoteproc Documentation: dt: add bindings for TI Wakeup M3 processor 2015-06-17 09:57:46 +03:00
reserved-memory
reset
rng
rtc ARM: SoC: DT updates for v4.2 2015-06-26 11:43:59 -07:00
security/tpm
serial Omap driver changes for v4.2 to switch drivers over to Linux generic 2015-07-01 12:25:13 -07:00
serio
soc ARM: SoC: driver updates for v4.2 2015-06-26 11:54:29 -07:00
sound Merge remote-tracking branch 'asoc/topic/tas2552' into asoc-next 2015-06-22 10:24:35 +01:00
spi ARM: SoC: DT updates for v4.2 2015-06-26 11:43:59 -07:00
spmi
staging/iio/adc
thermal
timer ARM: SoC: DT updates for v4.2 2015-06-26 11:43:59 -07:00
ufs
usb ARM: SoC: late fixes and dependencies 2015-07-02 14:40:49 -07:00
video Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2015-06-26 13:18:51 -07:00
virtio
w1
watchdog watchdog: omap: use watchdog_init_timeout instead of open coding it 2015-06-22 15:54:04 +02:00
x86
xillybus
ABI.txt
btmrvl.txt
chosen.txt
common-properties.txt
eeprom.txt
graph.txt
marvell.txt
open-pic.txt
resource-names.txt
submitting-patches.txt
unittest.txt
vendor-prefixes.txt Devicetree changes for v4.2 2015-07-01 19:40:18 -07:00
xilinx.txt