[PATCH 2/3] [v2] powerpc: fsl: update fman dt binding for PCS PHY

2016-01-14 Thread shh.xie
From: Shaohui Xie PCS PHY can support backplane (1000BASE-KX and 10GBASE-KR), this needs to change corresponding serdes lane settings, so a reference is needed for serdes lane. This patch describes properties needed for PCS PHY to support backplane. Signed-off-by:

[PATCH 1/3][v2] net: phy: introduce 1000BASE-KX and 10GBASE-KR

2016-01-14 Thread shh.xie
From: Shaohui Xie This commit adds necessary definitions for the PHY layer to recognize backplane Ethernet 1000BASE-KX and 10GBASE-KR as valid PHY interfaces, "1000base-kx" for 1000BASE-KX, "10gbase-kr" for 10GBASE-KR. Signed-off-by: Shaohui Xie

[PATCH] powerpc: fsl: update fman dt binding for PCS PHY

2015-12-27 Thread shh.xie
From: Shaohui Xie PCS PHY can support backplane (1000BASE-KX and 10GBASE-KR), this needs to change corresponding serdes lane settings, so a reference is needed for serdes lane. This patch describes properties needed for PCS PHY to support backplane. Signed-off-by:

[PATCH 2/2] powerpc/config: enable aquantia PHY

2015-07-23 Thread shh.xie
From: Shaohui Xie shaohui@freescale.com Aquantia PHYs used on platforms such as T2080RDB, T1024RDB. Signed-off-by: Shaohui Xie shaohui@freescale.com --- arch/powerpc/configs/corenet32_smp_defconfig | 1 + arch/powerpc/configs/corenet64_smp_defconfig | 1 + 2 files changed, 2

[PATCH 1/2] powerpc/config: enable teranetics PHY

2015-07-23 Thread shh.xie
From: Shaohui Xie shaohui@freescale.com The PHY uses XAUI interface to connect to MAC, mostly the PHY used on riser card. Signed-off-by: Shaohui Xie shaohui@freescale.com --- arch/powerpc/configs/corenet32_smp_defconfig | 1 + arch/powerpc/configs/corenet64_smp_defconfig | 1 + 2 files

[PATCH][v4] power/fsl: add MDIO dt binding for FMan

2015-01-28 Thread shh.xie
From: Shaohui Xie shaohui@freescale.com This binding is for FMan MDIO, it covers FMan v2 FMan v3. Signed-off-by: Shaohui Xie shaohui@freescale.com --- changes for V4: revised MDIO interrupt related statement. changes in v3: rephrase the 'Definition' of property 'bus-frequency', don't

[PATCH] [v3] power/fsl: add MDIO dt binding for FMan

2014-12-23 Thread shh.xie
From: Shaohui Xie shaohui@freescale.com This binding is for FMan MDIO, it covers FMan v2 FMan v3. Signed-off-by: Shaohui Xie shaohui@freescale.com --- changes in v3: rephrase the 'Definition' of property 'bus-frequency', don't include the property in example. changes in v2: addressed

[PATCH 3/3] powerpc/config: Enable MDIO support

2014-12-23 Thread shh.xie
From: Andy Fleming aflem...@gmail.com Also, enable Vitesse PHY and fixed PHY support. Signed-off-by: Andy Fleming aflem...@gmail.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- this patch is based on below patch: http://patchwork.ozlabs.org/patch/423348/

[PATCH 2/2] powerpc/config: enable mdio buses muxing via Memory-mapped device

2014-12-22 Thread shh.xie
From: Andy Fleming aflem...@gmail.com Signed-off-by: Andy Fleming aflem...@gmail.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- arch/powerpc/configs/corenet32_smp_defconfig | 1 + arch/powerpc/configs/corenet64_smp_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git

[PATCH 1/2] powerpc/config: enable mdio buses muxing via gpio

2014-12-22 Thread shh.xie
From: Andy Fleming aflem...@gmail.com Signed-off-by: Andy Fleming aflem...@gmail.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- arch/powerpc/configs/corenet32_smp_defconfig | 2 ++ arch/powerpc/configs/corenet64_smp_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git

[PATCH] [v2] power/fsl: add MDIO dt binding for FMan

2014-11-14 Thread shh.xie
From: Shaohui Xie shaohui@freescale.com This binding is for FMan MDIO, it covers FMan v2 FMan v3. Signed-off-by: Shaohui Xie shaohui@freescale.com --- changes in V2: addressed comments from Scott in V1. .../devicetree/bindings/powerpc/fsl/fman.txt | 69 ++ 1

[PATCH] DT: add MDIO node for FMan node

2014-11-04 Thread shh.xie
From: Shaohui Xie shaohui@freescale.com This binding is for FMan MDIO, it covers FMan v2 FMan v3. Signed-off-by: Shaohui Xie shaohui@freescale.com --- based on http://patchwork.ozlabs.org/patch/390351/ for 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/scottwood/linux.git

[PATCH] phy: Add Vitesse 8514 phy ID

2013-11-24 Thread shh.xie
From: Shaohui Xie shaohui@freescale.com Phy is compatible with Vitesse 82xx Signed-off-by: Shaohui Xie shaohui@freescale.com --- drivers/net/phy/vitesse.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/net/phy/vitesse.c b/drivers/net/phy/vitesse.c index

[PATCH 1/4] phylib: Add Clause 45 read/write functions

2013-11-11 Thread shh.xie
From: Andy Fleming You need an extra parameter to read or write Clause 45 PHYs, so we need a different API with the extra parameter. Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie shaohui@freescale.com --- include/linux/phy.h | 33 + 1 file changed,

[PATCH 2/4] phylib: Add generic 10G driver

2013-11-11 Thread shh.xie
From: Andy Fleming Very incomplete, but will allow for binding an ethernet controller to it. Also, Add XGMII interface type Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie shaohui@freescale.com --- drivers/net/phy/phy_device.c | 101 ++-

[PATCH 3/4] phylib: Support attaching to gen10g_driver

2013-11-11 Thread shh.xie
From: Andy Fleming phy_attach_direct() may now attach to a generic 10G driver. It can also be used exactly as phy_connect_direct(), which will be useful when using of_mdio, as phy_connect (and therefore of_phy_connect) start the PHY state machine, which is currently irrelevant for 10G PHYs.

[PATCH 4/4] phylib: Add of_phy_attach

2013-11-11 Thread shh.xie
From: Andy Fleming 10G PHYs don't currently support running the state machine, which is implicitly setup via of_phy_connect(). Therefore, it is necessary to implement an OF version of phy_attach(), which does everything except start the state machine. Signed-off-by: Andy Fleming Signed-off-by: