[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: Shaohui Xie --- changes in v2:

[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 --- changes in v2: new patch. Documentation/dev

[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: Shaohui Xie --- based on: http

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

2015-07-23 Thread shh.xie
From: Shaohui Xie The PHY uses XAUI interface to connect to MAC, mostly the PHY used on riser card. Signed-off-by: Shaohui Xie --- arch/powerpc/configs/corenet32_smp_defconfig | 1 + arch/powerpc/configs/corenet64_smp_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/powerpc

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

2015-07-23 Thread shh.xie
From: Shaohui Xie Aquantia PHYs used on platforms such as T2080RDB, T1024RDB. Signed-off-by: Shaohui Xie --- arch/powerpc/configs/corenet32_smp_defconfig | 1 + arch/powerpc/configs/corenet64_smp_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/powerpc/configs/corenet32_smp

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

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

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

2014-12-23 Thread shh.xie
From: Andy Fleming Also, enable Vitesse PHY and fixed PHY support. Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie --- this patch is based on below patch: http://patchwork.ozlabs.org/patch/423348/ arch/powerpc/configs/corenet32_smp_defconfig | 1 + arch/powerpc/configs/corenet64_smp_d

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

2014-12-23 Thread shh.xie
From: Shaohui Xie This binding is for FMan MDIO, it covers FMan v2 & FMan v3. Signed-off-by: Shaohui Xie --- changes in v3: rephrase the 'Definition' of property 'bus-frequency', don't include the property in example. changes in v2: addressed comments from Scott in V1. .../devicetree/binding

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

2014-12-22 Thread shh.xie
From: Andy Fleming Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie --- arch/powerpc/configs/corenet32_smp_defconfig | 2 ++ arch/powerpc/configs/corenet64_smp_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/powerpc/configs/corenet32_smp_defconfig b/arch/powerpc/co

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

2014-12-22 Thread shh.xie
From: Andy Fleming Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie --- arch/powerpc/configs/corenet32_smp_defconfig | 1 + arch/powerpc/configs/corenet64_smp_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/powerpc/configs/corenet32_smp_defconfig b/arch/powerpc/conf

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

2014-11-14 Thread shh.xie
From: Shaohui Xie This binding is for FMan MDIO, it covers FMan v2 & FMan v3. Signed-off-by: Shaohui Xie --- changes in V2: addressed comments from Scott in V1. .../devicetree/bindings/powerpc/fsl/fman.txt | 69 ++ 1 file changed, 69 insertions(+) diff --git a/Docum

[PATCH] DT: add MDIO node for FMan node

2014-11-04 Thread shh.xie
From: Shaohui Xie This binding is for FMan MDIO, it covers FMan v2 & FMan v3. Signed-off-by: Shaohui Xie --- based on http://patchwork.ozlabs.org/patch/390351/ for 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/scottwood/linux.git .../devicetree/bindings/powerpc/fsl/fman.txt |

[PATCH] phy: Add Vitesse 8514 phy ID

2013-11-24 Thread shh.xie
From: Shaohui Xie Phy is compatible with Vitesse 82xx Signed-off-by: Shaohui Xie --- 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 508e435..14372c6 100644 --- a/drivers/net/phy/vitesse.

[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: Sh

[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. Signe

[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 --- drivers/net/phy/phy_device.c | 101 ++- include/linux/phy.h |

[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 --- include/linux/phy.h | 33 + 1 file changed, 33 insertions(+) diff --gi