[PATCH 08/10] [v3] arm64: dts: add LS1046A-RDB board support

2016-09-13 Thread shh.xie
From: Mingkai Hu The LS1046A reference design board (RDB) is a high-performance computing, evaluation, and development platform that supports the LS1046A SoC. Signed-off-by: Mingkai Hu Signed-off-by: Shaohui Xie --- changs in V3: 1.

[PATCH 08/10] [v3] arm64: dts: add LS1046A-RDB board support

2016-09-13 Thread shh.xie
From: Mingkai Hu The LS1046A reference design board (RDB) is a high-performance computing, evaluation, and development platform that supports the LS1046A SoC. Signed-off-by: Mingkai Hu Signed-off-by: Shaohui Xie --- changs in V3: 1. move 'status' of ifc node at the end of property list.

[PATCH 03/10][v3] dt-bindings: i2c: adds two more nxp devices

2016-09-13 Thread shh.xie
From: Shaohui Xie "nxp,pcf2127" and "nxp,pcf2129" are I2c devices, adds them to the list of trivial i2c devices. Signed-off-by: Shaohui Xie Acked-by: Rob Herring --- changes in V3: 1. none. changes in V2: 1. new patch.

[PATCH 04/10] [v3] dt-bindings: qoriq-clock: update for more SoCs

2016-09-13 Thread shh.xie
From: Shaohui Xie Adds compatible for SoCs which use clockgen, the SoCs are LS1043A, LS1046A, LS2080A. Signed-off-by: Shaohui Xie --- change in v3: 1. new patch. Documentation/devicetree/bindings/clock/qoriq-clock.txt | 3 +++ 1 file changed, 3

[PATCH 03/10][v3] dt-bindings: i2c: adds two more nxp devices

2016-09-13 Thread shh.xie
From: Shaohui Xie "nxp,pcf2127" and "nxp,pcf2129" are I2c devices, adds them to the list of trivial i2c devices. Signed-off-by: Shaohui Xie Acked-by: Rob Herring --- changes in V3: 1. none. changes in V2: 1. new patch. Documentation/devicetree/bindings/i2c/trivial-devices.txt | 2 ++ 1

[PATCH 04/10] [v3] dt-bindings: qoriq-clock: update for more SoCs

2016-09-13 Thread shh.xie
From: Shaohui Xie Adds compatible for SoCs which use clockgen, the SoCs are LS1043A, LS1046A, LS2080A. Signed-off-by: Shaohui Xie --- change in v3: 1. new patch. Documentation/devicetree/bindings/clock/qoriq-clock.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 00/10] [v3] arm64: dts: add QorIQ LS1046A SoC and boards support

2016-09-13 Thread shh.xie
From: Shaohui Xie This patchest adds support for QorIQ LS1046A SoC which is based on ARMv8 architecture, also adds LS1046A-RDB and LS1046A-QDS board support. Also, updates bindings for SoC-specific devices SCFG and DCFG, I2C devices, qoriq-clock and ahci-fsl-qoriq. Mingkai

[PATCH 00/10] [v3] arm64: dts: add QorIQ LS1046A SoC and boards support

2016-09-13 Thread shh.xie
From: Shaohui Xie This patchest adds support for QorIQ LS1046A SoC which is based on ARMv8 architecture, also adds LS1046A-RDB and LS1046A-QDS board support. Also, updates bindings for SoC-specific devices SCFG and DCFG, I2C devices, qoriq-clock and ahci-fsl-qoriq. Mingkai Hu (2): arm64:

[PATCH 05/10][v3] dt-bindings: ahci-fsl-qoriq: updated for SoC ls1046a

2016-09-13 Thread shh.xie
From: Shaohui Xie Signed-off-by: Shaohui Xie --- change in V3: 1. new patch. Documentation/devicetree/bindings/ata/ahci-fsl-qoriq.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 07/10] [v3] Documentation: DT: Add entry for QorIQ LS1046A-RDB board

2016-09-13 Thread shh.xie
From: Shaohui Xie Signed-off-by: Shaohui Xie Acked-by: Rob Herring --- changes from V1 to V3: 1. none. Documentation/devicetree/bindings/arm/fsl.txt | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 05/10][v3] dt-bindings: ahci-fsl-qoriq: updated for SoC ls1046a

2016-09-13 Thread shh.xie
From: Shaohui Xie Signed-off-by: Shaohui Xie --- change in V3: 1. new patch. Documentation/devicetree/bindings/ata/ahci-fsl-qoriq.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/ata/ahci-fsl-qoriq.txt

[PATCH 07/10] [v3] Documentation: DT: Add entry for QorIQ LS1046A-RDB board

2016-09-13 Thread shh.xie
From: Shaohui Xie Signed-off-by: Shaohui Xie Acked-by: Rob Herring --- changes from V1 to V3: 1. none. Documentation/devicetree/bindings/arm/fsl.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.txt

[PATCH 09/10] [v3] Documentation: DT: Add entry for QorIQ LS1046A-QDS board

2016-09-13 Thread shh.xie
From: Shaohui Xie Signed-off-by: Shaohui Xie Acked-by: Rob Herring --- changes from V1 to V3: 1. none. Documentation/devicetree/bindings/arm/fsl.txt | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 10/10] [v3] arm64: dts: add LS1046A-QDS board support

2016-09-13 Thread shh.xie
From: Shaohui Xie The LS1046A QorIQ development system (QDS) board is a high-performance computing, evaluation, development, and test platform supporting the LS1046A SoC. Signed-off-by: Shaohui Xie --- changes in V3: 1. none. changes in V2: 1. updated

[PATCH 06/10] [v3] arm64: dts: add QorIQ LS1046A SoC support

2016-09-13 Thread shh.xie
From: Mingkai Hu LS1046A is an SoC with 4 ARMv8 A72 cores and most other IP blocks are similar to LS1043A which also complies to Freescale Chassis 2.1 spec. Created LS1046A SoC DTSI file to be included by board level DTS files. Signed-off-by: Horia Geant?

[PATCH 09/10] [v3] Documentation: DT: Add entry for QorIQ LS1046A-QDS board

2016-09-13 Thread shh.xie
From: Shaohui Xie Signed-off-by: Shaohui Xie Acked-by: Rob Herring --- changes from V1 to V3: 1. none. Documentation/devicetree/bindings/arm/fsl.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.txt

[PATCH 10/10] [v3] arm64: dts: add LS1046A-QDS board support

2016-09-13 Thread shh.xie
From: Shaohui Xie The LS1046A QorIQ development system (QDS) board is a high-performance computing, evaluation, development, and test platform supporting the LS1046A SoC. Signed-off-by: Shaohui Xie --- changes in V3: 1. none. changes in V2: 1. updated aliases of serial nodes.

[PATCH 06/10] [v3] arm64: dts: add QorIQ LS1046A SoC support

2016-09-13 Thread shh.xie
From: Mingkai Hu LS1046A is an SoC with 4 ARMv8 A72 cores and most other IP blocks are similar to LS1043A which also complies to Freescale Chassis 2.1 spec. Created LS1046A SoC DTSI file to be included by board level DTS files. Signed-off-by: Horia Geant? Signed-off-by: Mihai Bantea

[PATCH 01/10] [v3] dt-bindings: fsl: update for more SoCs

2016-09-13 Thread shh.xie
From: Shaohui Xie Adds SoC compatible for LS1043A and LS2080A which are supported, and for LS1046A which is going to be supported. Signed-off-by: Shaohui Xie --- changes in V3: 1. new patch. Documentation/devicetree/bindings/arm/fsl.txt | 12

[PATCH 01/10] [v3] dt-bindings: fsl: update for more SoCs

2016-09-13 Thread shh.xie
From: Shaohui Xie Adds SoC compatible for LS1043A and LS2080A which are supported, and for LS1046A which is going to be supported. Signed-off-by: Shaohui Xie --- changes in V3: 1. new patch. Documentation/devicetree/bindings/arm/fsl.txt | 12 1 file changed, 12 insertions(+)

[PATCH 02/10][v3] dt-bindings: fsl: updates bindings for some SoC-specific devices

2016-09-13 Thread shh.xie
From: Shaohui Xie SCFG and DCFG are SoC-specific devices can be found on SoCs like LS1021A, LS1043A and LS1046A, this patch updates bindings for SCFG and DCFG to reflect more SoCs. Signed-off-by: Shaohui Xie --- changes in V3: 1. added supported s.

[PATCH 02/10][v3] dt-bindings: fsl: updates bindings for some SoC-specific devices

2016-09-13 Thread shh.xie
From: Shaohui Xie SCFG and DCFG are SoC-specific devices can be found on SoCs like LS1021A, LS1043A and LS1046A, this patch updates bindings for SCFG and DCFG to reflect more SoCs. Signed-off-by: Shaohui Xie --- changes in V3: 1. added supported s. change in V2: 1. new patch.

[PATCH] clk: qoriq: add ls1046a support

2016-09-06 Thread shh.xie
From: Mingkai Hu Signed-off-by: Mingkai Hu Signed-off-by: Shaohui Xie --- drivers/clk/clk-qoriq.c | 41 + 1 file changed, 41 insertions(+) diff --git a/drivers/clk/clk-qoriq.c

[PATCH] clk: qoriq: add ls1046a support

2016-09-06 Thread shh.xie
From: Mingkai Hu Signed-off-by: Mingkai Hu Signed-off-by: Shaohui Xie --- drivers/clk/clk-qoriq.c | 41 + 1 file changed, 41 insertions(+) diff --git a/drivers/clk/clk-qoriq.c b/drivers/clk/clk-qoriq.c index 3d1b6f5..f35e5d0 100644 ---

[PATCH 7/7] [v2] arm64: dts: add LS1046A-QDS board support

2016-09-05 Thread shh.xie
From: Shaohui Xie The LS1046A QorIQ development system (QDS) board is a high-performance computing, evaluation, development, and test platform supporting the LS1046A SoC. Signed-off-by: Shaohui Xie --- changes in V2: 1. updated aliases of serial nodes.

[PATCH 7/7] [v2] arm64: dts: add LS1046A-QDS board support

2016-09-05 Thread shh.xie
From: Shaohui Xie The LS1046A QorIQ development system (QDS) board is a high-performance computing, evaluation, development, and test platform supporting the LS1046A SoC. Signed-off-by: Shaohui Xie --- changes in V2: 1. updated aliases of serial nodes. arch/arm64/boot/dts/freescale/Makefile

[PATCH 2/7] [v2] dt-bindings: i2c: adds two more nxp devices

2016-09-05 Thread shh.xie
From: Shaohui Xie "nxp,pcf2127" and "nxp,pcf2129" are I2c devices, adds them to the list of trivial i2c devices. Signed-off-by: Shaohui Xie --- changes in V2: new patch. Documentation/devicetree/bindings/i2c/trivial-devices.txt | 2 ++ 1 file

[PATCH 2/7] [v2] dt-bindings: i2c: adds two more nxp devices

2016-09-05 Thread shh.xie
From: Shaohui Xie "nxp,pcf2127" and "nxp,pcf2129" are I2c devices, adds them to the list of trivial i2c devices. Signed-off-by: Shaohui Xie --- changes in V2: new patch. Documentation/devicetree/bindings/i2c/trivial-devices.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 3/7] [v2] arm64: dts: add QorIQ LS1046A SoC support

2016-09-05 Thread shh.xie
From: Mingkai Hu LS1046A is an SoC with 4 ARMv8 A72 cores and most other IP blocks are similar to LS1043A which also complies to Freescale Chassis 2.1 spec. Created LS1046A SoC DTSI file to be included by board level DTS files. Signed-off-by: Horia Geant?

[PATCH 3/7] [v2] arm64: dts: add QorIQ LS1046A SoC support

2016-09-05 Thread shh.xie
From: Mingkai Hu LS1046A is an SoC with 4 ARMv8 A72 cores and most other IP blocks are similar to LS1043A which also complies to Freescale Chassis 2.1 spec. Created LS1046A SoC DTSI file to be included by board level DTS files. Signed-off-by: Horia Geant? Signed-off-by: Mihai Bantea

[PATCH 1/7] [v2] dt-bindings: fsl: updates bindings for some SoC-specific devices

2016-09-05 Thread shh.xie
From: Shaohui Xie SCFG and DCFG are SoC-specific devices can be found on SoCs like LS1021A, LS1043A and LS1046A, this patch updates bindings for SCFG and DCFG to reflect more SoCs. Signed-off-by: Shaohui Xie --- changes in V2: new patch.

[PATCH 6/7] [v2] Documentation: DT: Add entry for QorIQ LS1046A-QDS board

2016-09-05 Thread shh.xie
From: Shaohui Xie Signed-off-by: Shaohui Xie Acked-by: Rob Herring --- changes in V2: no change. Documentation/devicetree/bindings/arm/fsl.txt | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 1/7] [v2] dt-bindings: fsl: updates bindings for some SoC-specific devices

2016-09-05 Thread shh.xie
From: Shaohui Xie SCFG and DCFG are SoC-specific devices can be found on SoCs like LS1021A, LS1043A and LS1046A, this patch updates bindings for SCFG and DCFG to reflect more SoCs. Signed-off-by: Shaohui Xie --- changes in V2: new patch. Documentation/devicetree/bindings/arm/fsl.txt | 12

[PATCH 6/7] [v2] Documentation: DT: Add entry for QorIQ LS1046A-QDS board

2016-09-05 Thread shh.xie
From: Shaohui Xie Signed-off-by: Shaohui Xie Acked-by: Rob Herring --- changes in V2: no change. Documentation/devicetree/bindings/arm/fsl.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.txt

[PATCH 4/7] [v2] Documentation: DT: Add entry for QorIQ LS1046A-RDB board

2016-09-05 Thread shh.xie
From: Shaohui Xie Signed-off-by: Shaohui Xie Acked-by: Rob Herring --- changes in V2: no change. Documentation/devicetree/bindings/arm/fsl.txt | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 4/7] [v2] Documentation: DT: Add entry for QorIQ LS1046A-RDB board

2016-09-05 Thread shh.xie
From: Shaohui Xie Signed-off-by: Shaohui Xie Acked-by: Rob Herring --- changes in V2: no change. Documentation/devicetree/bindings/arm/fsl.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.txt

[PATCH 5/7] [v2] arm64: dts: add LS1046A-RDB board support

2016-09-05 Thread shh.xie
From: Mingkai Hu The LS1046A reference design board (RDB) is a high-performance computing, evaluation, and development platform that supports the LS1046A SoC. Signed-off-by: Mingkai Hu Signed-off-by: Shaohui Xie --- changes in V2:

[PATCH 5/7] [v2] arm64: dts: add LS1046A-RDB board support

2016-09-05 Thread shh.xie
From: Mingkai Hu The LS1046A reference design board (RDB) is a high-performance computing, evaluation, and development platform that supports the LS1046A SoC. Signed-off-by: Mingkai Hu Signed-off-by: Shaohui Xie --- changes in V2: 1. updated aliases of serial nodes.

[PATCH 0/7] [v2] arm64: dts: add QorIQ LS1046A SoC and boards support

2016-09-05 Thread shh.xie
From: Shaohui Xie This patchest adds support for QorIQ LS1046A SoC which is based on ARMv8 architecture, also adds LS1046A-RDB and LS1046A-QDS board support. Also, updates bindings for SoC-specific devices SCFG and DCFG, and I2C devices. Mingkai Hu (2): arm64: dts: add

[PATCH 0/7] [v2] arm64: dts: add QorIQ LS1046A SoC and boards support

2016-09-05 Thread shh.xie
From: Shaohui Xie This patchest adds support for QorIQ LS1046A SoC which is based on ARMv8 architecture, also adds LS1046A-RDB and LS1046A-QDS board support. Also, updates bindings for SoC-specific devices SCFG and DCFG, and I2C devices. Mingkai Hu (2): arm64: dts: add QorIQ LS1046A SoC

[PATCH 6/6] [v6] phylib: Add of_phy_attach

2014-01-09 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:

[PATCH 3/6] [v6] phylib: turn genphy_driver to an array

2014-01-09 Thread shh.xie
From: Shaohui Xie Then other generic phy driver such as generic 10g phy driver can join it. Signed-off-by: Shaohui Xie --- changes for v6: rebased on top of 'net-next' tree. commit id 11b57f90257c1. drivers/net/phy/phy_device.c | 29 + 1 file changed, 21

[PATCH 2/6] [v6] phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY

2014-01-09 Thread shh.xie
From: Andy Fleming Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie Acked-by: Florian Fainelli --- changes for v6: rebased on top of 'net-next' tree. commit id 11b57f90257c1. drivers/of/of_net.c | 1 + include/linux/phy.h | 1 + 2 files changed, 2 insertions(+) diff --git

[PATCH 5/6] [v6] phylib: Support attaching to generic 10g driver

2014-01-09 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/6] [v6] phylib: Add generic 10G driver

2014-01-09 Thread shh.xie
From: Andy Fleming Very incomplete, but will allow for binding an ethernet controller to it. Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie --- changes for v6: rebased on top of 'net-next' tree. commit id 11b57f90257c1. drivers/net/phy/phy_device.c | 81

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

2014-01-09 Thread shh.xie
From: Andy Fleming Need an extra parameter to read or write Clause 45 PHYs, so need a different API with the extra parameter. Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie --- changes for v6: rebased on top of 'net-next' tree. commit id 11b57f90257c1. include/linux/phy.h | 39

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

2014-01-09 Thread shh.xie
From: Andy Fleming aflem...@gmail.com Need an extra parameter to read or write Clause 45 PHYs, so need a different API with the extra parameter. Signed-off-by: Andy Fleming aflem...@gmail.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- changes for v6: rebased on top of 'net-next'

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

2014-01-09 Thread shh.xie
From: Andy Fleming aflem...@gmail.com Very incomplete, but will allow for binding an ethernet controller to it. Signed-off-by: Andy Fleming aflem...@gmail.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- changes for v6: rebased on top of 'net-next' tree. commit id 11b57f90257c1.

[PATCH 3/6] [v6] phylib: turn genphy_driver to an array

2014-01-09 Thread shh.xie
From: Shaohui Xie shaohui@freescale.com Then other generic phy driver such as generic 10g phy driver can join it. Signed-off-by: Shaohui Xie shaohui@freescale.com --- changes for v6: rebased on top of 'net-next' tree. commit id 11b57f90257c1. drivers/net/phy/phy_device.c | 29

[PATCH 2/6] [v6] phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY

2014-01-09 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 Acked-by: Florian Fainelli f.faine...@gmail.com --- changes for v6: rebased on top of 'net-next' tree. commit id 11b57f90257c1. drivers/of/of_net.c | 1 +

[PATCH 5/6] [v6] phylib: Support attaching to generic 10g driver

2014-01-09 Thread shh.xie
From: Andy Fleming aflem...@gmail.com 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

[PATCH 6/6] [v6] phylib: Add of_phy_attach

2014-01-09 Thread shh.xie
From: Andy Fleming aflem...@gmail.com 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

[PATCH 6/6] [v5] phylib: Add of_phy_attach

2014-01-07 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:

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

2014-01-07 Thread shh.xie
From: Andy Fleming Very incomplete, but will allow for binding an ethernet controller to it. Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie --- resend for v5. drivers/net/phy/phy_device.c | 80 1 file changed, 80 insertions(+) diff --git

[PATCH 5/6] [v5] phylib: Support attaching to generic 10g driver

2014-01-07 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 3/6] [v5] phylib: turn genphy_driver to an array

2014-01-07 Thread shh.xie
From: Shaohui Xie Then other generic phy driver such as generic 10g phy driver can join it. Signed-off-by: Shaohui Xie --- resend for v5. drivers/net/phy/phy_device.c | 29 + 1 file changed, 21 insertions(+), 8 deletions(-) diff --git

[PATCH 2/6] [v5] phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY

2014-01-07 Thread shh.xie
From: Andy Fleming Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie Acked-by: Florian Fainelli --- resend for v5. drivers/of/of_net.c | 1 + include/linux/phy.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/of/of_net.c b/drivers/of/of_net.c index 8f9be2e..a208a45

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

2014-01-07 Thread shh.xie
From: Andy Fleming Need an extra parameter to read or write Clause 45 PHYs, so need a different API with the extra parameter. Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie --- changes for v5: revised for opening parenthesis. include/linux/phy.h | 39

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

2014-01-07 Thread shh.xie
From: Andy Fleming aflem...@gmail.com Need an extra parameter to read or write Clause 45 PHYs, so need a different API with the extra parameter. Signed-off-by: Andy Fleming aflem...@gmail.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- changes for v5: revised for opening

[PATCH 2/6] [v5] phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY

2014-01-07 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 Acked-by: Florian Fainelli f.faine...@gmail.com --- resend for v5. drivers/of/of_net.c | 1 + include/linux/phy.h | 1 + 2 files changed, 2 insertions(+)

[PATCH 5/6] [v5] phylib: Support attaching to generic 10g driver

2014-01-07 Thread shh.xie
From: Andy Fleming aflem...@gmail.com 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

[PATCH 3/6] [v5] phylib: turn genphy_driver to an array

2014-01-07 Thread shh.xie
From: Shaohui Xie shaohui@freescale.com Then other generic phy driver such as generic 10g phy driver can join it. Signed-off-by: Shaohui Xie shaohui@freescale.com --- resend for v5. drivers/net/phy/phy_device.c | 29 + 1 file changed, 21 insertions(+), 8

[PATCH 6/6] [v5] phylib: Add of_phy_attach

2014-01-07 Thread shh.xie
From: Andy Fleming aflem...@gmail.com 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

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

2014-01-07 Thread shh.xie
From: Andy Fleming aflem...@gmail.com Very incomplete, but will allow for binding an ethernet controller to it. Signed-off-by: Andy Fleming aflem...@gmail.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- resend for v5. drivers/net/phy/phy_device.c | 80

[PATCH 3/6] [v4] phylib: turn genphy_driver to an array

2014-01-06 Thread shh.xie
From: Shaohui Xie Then other generic phy driver such as generic 10g phy driver can join it. Signed-off-by: Shaohui Xie --- resend for v4. drivers/net/phy/phy_device.c | 29 + 1 file changed, 21 insertions(+), 8 deletions(-) diff --git

[PATCH 6/6] [v4] phylib: Add of_phy_attach

2014-01-06 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:

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

2014-01-06 Thread shh.xie
From: Andy Fleming Very incomplete, but will allow for binding an ethernet controller to it. Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie --- resend for v4. drivers/net/phy/phy_device.c | 80 1 file changed, 80 insertions(+) diff --git

[PATCH 5/6] [v4] phylib: Support attaching to generic 10g driver

2014-01-06 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 2/6] [v4] phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY

2014-01-06 Thread shh.xie
From: Andy Fleming Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie Acked-by: Florian Fainelli --- resend for v4. drivers/of/of_net.c | 1 + include/linux/phy.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/of/of_net.c b/drivers/of/of_net.c index 8f9be2e..a208a45

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

2014-01-06 Thread shh.xie
From: Andy Fleming Need an extra parameter to read or write Clause 45 PHYs, so need a different API with the extra parameter. Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie --- resend for v4. include/linux/phy.h | 39 +++ 1 file changed, 39

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

2014-01-06 Thread shh.xie
From: Andy Fleming aflem...@gmail.com Need an extra parameter to read or write Clause 45 PHYs, so need a different API with the extra parameter. Signed-off-by: Andy Fleming aflem...@gmail.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- resend for v4. include/linux/phy.h | 39

[PATCH 6/6] [v4] phylib: Add of_phy_attach

2014-01-06 Thread shh.xie
From: Andy Fleming aflem...@gmail.com 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

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

2014-01-06 Thread shh.xie
From: Andy Fleming aflem...@gmail.com Very incomplete, but will allow for binding an ethernet controller to it. Signed-off-by: Andy Fleming aflem...@gmail.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- resend for v4. drivers/net/phy/phy_device.c | 80

[PATCH 5/6] [v4] phylib: Support attaching to generic 10g driver

2014-01-06 Thread shh.xie
From: Andy Fleming aflem...@gmail.com 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

[PATCH 2/6] [v4] phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY

2014-01-06 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 Acked-by: Florian Fainelli f.faine...@gmail.com --- resend for v4. drivers/of/of_net.c | 1 + include/linux/phy.h | 1 + 2 files changed, 2 insertions(+)

[PATCH 3/6] [v4] phylib: turn genphy_driver to an array

2014-01-06 Thread shh.xie
From: Shaohui Xie shaohui@freescale.com Then other generic phy driver such as generic 10g phy driver can join it. Signed-off-by: Shaohui Xie shaohui@freescale.com --- resend for v4. drivers/net/phy/phy_device.c | 29 + 1 file changed, 21 insertions(+), 8

[PATCH 3/6][v2] phylib: turn genphy_driver to an array

2013-12-02 Thread shh.xie
From: Shaohui Xie Then other generic phy driver such as generic 10g phy driver can join it. Signed-off-by: Shaohui Xie --- v2 changes: add break if find a match in unbind. drivers/net/phy/phy_device.c | 29 + 1 file changed, 21 insertions(+), 8 deletions(-) diff

[PATCH 3/6][v2] phylib: turn genphy_driver to an array

2013-12-02 Thread shh.xie
From: Shaohui Xie shaohui@freescale.com Then other generic phy driver such as generic 10g phy driver can join it. Signed-off-by: Shaohui Xie shaohui@freescale.com --- v2 changes: add break if find a match in unbind. drivers/net/phy/phy_device.c | 29 + 1

[PATCH 5/6][v3] phylib: Support attaching to generic 10g driver

2013-11-28 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 6/6][v3] phylib: Add of_phy_attach

2013-11-28 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:

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

2013-11-28 Thread shh.xie
From: Andy Fleming Very incomplete, but will allow for binding an ethernet controller to it. Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie --- v3 changes: splitted from v2 patch 3/5. drivers/net/phy/phy_device.c | 80 1 file changed, 80

[PATCH 3/6] phylib: turn genphy_driver to an array

2013-11-28 Thread shh.xie
From: Shaohui Xie Then other generic phy driver such as generic 10g phy driver can join it. Signed-off-by: Shaohui Xie --- Splitted from previous v2 patch 3/5. drivers/net/phy/phy_device.c | 27 +++ 1 file changed, 19 insertions(+), 8 deletions(-) diff --git

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

2013-11-28 Thread shh.xie
From: Andy Fleming Need an extra parameter to read or write Clause 45 PHYs, so need a different API with the extra parameter. Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie --- v3 changes: add C45 check. include/linux/phy.h | 39 +++ 1 file

[PATCH 2/6][v3] phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY

2013-11-28 Thread shh.xie
From: Shaohui Xie Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie Acked-by: Florian Fainelli --- v3: no changes. drivers/of/of_net.c | 1 + include/linux/phy.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/of/of_net.c b/drivers/of/of_net.c index 8f9be2e..a208a45

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

2013-11-28 Thread shh.xie
From: Andy Fleming aflem...@freescale.com Need an extra parameter to read or write Clause 45 PHYs, so need a different API with the extra parameter. Signed-off-by: Andy Fleming aflem...@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- v3 changes: add C45 check.

[PATCH 2/6][v3] phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY

2013-11-28 Thread shh.xie
From: Shaohui Xie shaohui@freescale.com Signed-off-by: Andy Fleming aflem...@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com Acked-by: Florian Fainelli f.faine...@gmail.com --- v3: no changes. drivers/of/of_net.c | 1 + include/linux/phy.h | 1 + 2 files changed, 2

[PATCH 3/6] phylib: turn genphy_driver to an array

2013-11-28 Thread shh.xie
From: Shaohui Xie shaohui@freescale.com Then other generic phy driver such as generic 10g phy driver can join it. Signed-off-by: Shaohui Xie shaohui@freescale.com --- Splitted from previous v2 patch 3/5. drivers/net/phy/phy_device.c | 27 +++ 1 file changed, 19

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

2013-11-28 Thread shh.xie
From: Andy Fleming aflem...@freescale.com Very incomplete, but will allow for binding an ethernet controller to it. Signed-off-by: Andy Fleming aflem...@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- v3 changes: splitted from v2 patch 3/5. drivers/net/phy/phy_device.c |

[PATCH 6/6][v3] phylib: Add of_phy_attach

2013-11-28 Thread shh.xie
From: Andy Fleming aflem...@freescale.com 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

[PATCH 5/6][v3] phylib: Support attaching to generic 10g driver

2013-11-28 Thread shh.xie
From: Andy Fleming aflem...@freescale.com 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

[PATCH 5/5][v2] phylib: Add of_phy_attach

2013-11-26 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:

[PATCH 3/5][v2] phylib: Add generic 10G driver

2013-11-26 Thread shh.xie
From: Andy Fleming Very incomplete, but will allow for binding an ethernet controller to it. Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie --- v2: turn genphy_driver to an array, add generic 10g driver to it. drivers/net/phy/phy_device.c | 96

[PATCH 4/5] phylib: Support attaching to generic 10g driver

2013-11-26 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 2/5][v2] phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY

2013-11-26 Thread shh.xie
From: Shaohui Xie Signed-off-by: Andy Fleming Signed-off-by: Shaohui Xie --- v2: update of_net.c. drivers/of/of_net.c | 1 + include/linux/phy.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/of/of_net.c b/drivers/of/of_net.c index 8f9be2e..a208a45 100644 ---

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

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

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

2013-11-26 Thread shh.xie
From: Andy Fleming aflem...@freescale.com Need an extra parameter to read or write Clause 45 PHYs, so need a different API with the extra parameter. Signed-off-by: Andy Fleming aflem...@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- v2: no change. include/linux/phy.h |

[PATCH 2/5][v2] phylib: introduce PHY_INTERFACE_MODE_XGMII for 10G PHY

2013-11-26 Thread shh.xie
From: Shaohui Xie shaohui@freescale.com Signed-off-by: Andy Fleming aflem...@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- v2: update of_net.c. drivers/of/of_net.c | 1 + include/linux/phy.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/of/of_net.c

[PATCH 4/5] phylib: Support attaching to generic 10g driver

2013-11-26 Thread shh.xie
From: Andy Fleming aflem...@freescale.com 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

[PATCH 3/5][v2] phylib: Add generic 10G driver

2013-11-26 Thread shh.xie
From: Andy Fleming aflem...@freescale.com Very incomplete, but will allow for binding an ethernet controller to it. Signed-off-by: Andy Fleming aflem...@freescale.com Signed-off-by: Shaohui Xie shaohui@freescale.com --- v2: turn genphy_driver to an array, add generic 10g driver to it.

[PATCH 5/5][v2] phylib: Add of_phy_attach

2013-11-26 Thread shh.xie
From: Andy Fleming aflem...@freescale.com 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

  1   2   >