net: phy: add minimal support for QSGMII PHY
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 15 Apr 2014 13:50:19 +0000 (15:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Apr 2014 18:36:12 +0000 (14:36 -0400)
commitb9d12085f2f531fdea67f0361564e0812696227c
treea2181a720f57658e4db0789f24ec1140e2e7f228
parente283546c0465dd3026bc94f7b1a9de7f6b8969ec
net: phy: add minimal support for QSGMII PHY

This commit adds the necessary definitions for the PHY layer to
recognize "qsgmii" as a valid PHY interface. A QSMII interface, as
defined at
http://en.wikipedia.org/wiki/Media_Independent_Interface#Quad_Serial_Gigabit_Media_Independent_Interface,
is "is a method of combining four SGMII lines into a 5Gbit/s
interface. QSGMII, like SGMII, uses LVDS signalling for the TX and RX
data and a single LVDS clock signal. QSGMII uses significantly fewer
signal lines than four SGMII busses."

This type of MAC <-> PHY connection might require special handling on
the MAC driver side, so it should be possible to express this type of
MAC <-> PHY connection, for example in the Device Tree.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: devicetree@vger.kernel.org
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/ethernet.txt
include/linux/phy.h