[v3] powerpc/mpc85xx: Add pcsphy nodes to FManV3 device tree

2015-12-24 Thread igal.liberman
From: Igal Liberman This patch adds pcsphy node to FManV3 device tree. Signed-off-by: Igal Liberman --- Based on: https://patchwork.ozlabs.org/patch/503921/ Binding: https://patchwork.ozlabs.org/patch/560936/ v2 --> v3: Addressed feedback from Scott Wood (patch structure) v1 --> v2:

[v2] powerpc/fsl: Update fman dt binding with pcs-phy and tbi-phy

2015-12-24 Thread igal.liberman
From: Igal Liberman The FMan contains internal PHY devices used for SGMII connections to external PHYs. When these PHYs are in use a reference is needed for both the external PHY and the internal one. For the external PHY phy-handle provides the reference. For the internal PHY a new handle is req

[v2] powerpc/mpc85xx: Add pcsphy nodes to FManV3 device tree

2015-12-22 Thread igal.liberman
From: Igal Liberman Signed-off-by: Igal Liberman This patch adds pcsphy node to FManV3 device tree. Based on: https://patchwork.ozlabs.org/patch/503921/ v1 --> v2: - Addressed feedback from Shaohui Xie - Submitted a binding document: https://patchwork.ozlabs.org/patch

[PATCH] powerpc/fsl: Update fman dt binding with pcs-phy and tbi-phy

2015-12-22 Thread igal.liberman
From: Igal Liberman Signed-off-by: Igal Liberman --- .../devicetree/bindings/powerpc/fsl/fman.txt | 39 1 file changed, 39 insertions(+) diff --git a/Documentation/devicetree/bindings/powerpc/fsl/fman.txt b/Documentation/devicetree/bindings/powerpc/fsl/fman.txt in

[v10, 6/6] fsl/fman: Add FMan MAC driver

2015-12-21 Thread igal.liberman
From: Igal Liberman This patch adds the Ethernet MAC driver supporting the three different types of MACs: dTSEC, tGEC and mEMAC. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |3 +- drivers/net/ethernet/freescale/fman/mac.c| 978

[v10, 5/6] fsl/fman: Add FMan Port Support

2015-12-21 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger Port Driver. The FMan driver uses a module called "Port" to represent the physical TX and RX ports. Each FMan version has different number of physical ports. This patch adds The FMan Port configuration, initialization an

[v10, 4/6] fsl/fman: Add FMan SP support

2015-12-21 Thread igal.liberman
From: Igal Liberman The Storage Profiles contain parameters that are used by the FMan for frame reception and transmission. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |2 +- drivers/net/ethernet/freescale/fman/fman_sp.c | 167 +

[v10, 2/6] fsl/fman: Add FMan support

2015-12-21 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger Driver. The FMan embeds a series of hardware blocks that implement a group of Ethernet interfaces. This patch adds The FMan configuration, initialization and runtime control routines. The FMan driver supports several ha

[v10, 1/6] fsl/fman: Add FMan MURAM support

2015-12-21 Thread igal.liberman
From: Igal Liberman Add Frame Manager Multi-User RAM support. This internal FMan memory block is used by the FMan hardware modules, the management being made through the generic allocator. The FMan Internal memory, for example, is used for allocating transmit and receive FIFOs. Signed-off-by: I

[v10, 0/6] Freescale DPAA FMan

2015-12-21 Thread igal.liberman
From: Igal Liberman The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by multiple CPU cores and the

[PATCH] powerpc/mpc85xx: Add pcsphy nodes to FManV3 device tree

2015-12-21 Thread igal.liberman
From: Igal Liberman Signed-off-by: Igal Liberman This patch adds pcsphy node to FManV3 device tree. Based on: https://patchwork.ozlabs.org/patch/503921/ --- .../dts/fsl/qoriq-fman3-0-10g-0-best-effort.dtsi |5 + arch/powerpc/boot/dts/fsl/qoriq-fman3-0-10g-0.dtsi |5 + .../dts

[v9, 5/6] fsl/fman: Add FMan Port Support

2015-12-03 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger Port Driver. The FMan driver uses a module called "Port" to represent the physical TX and RX ports. Each FMan version has different number of physical ports. This patch adds The FMan Port configuration, initialization an

[v9, 0/6] Freescale DPAA FMan

2015-12-03 Thread igal.liberman
From: Igal Liberman The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by multiple CPU cores and the

[v9, 6/6] fsl/fman: Add FMan MAC driver

2015-12-03 Thread igal.liberman
From: Igal Liberman This patch adds the Ethernet MAC driver supporting the three different types of MACs: dTSEC, tGEC and mEMAC. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |3 +- drivers/net/ethernet/freescale/fman/mac.c| 988

[v9, 4/6] fsl/fman: Add FMan SP support

2015-12-03 Thread igal.liberman
From: Igal Liberman The Storage Profiles contain parameters that are used by the FMan for frame reception and transmission. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |2 +- drivers/net/ethernet/freescale/fman/fman_sp.c | 167 +

[v9, 2/6] fsl/fman: Add FMan support

2015-12-03 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger Driver. The FMan embeds a series of hardware blocks that implement a group of Ethernet interfaces. This patch adds The FMan configuration, initialization and runtime control routines. The FMan driver supports several ha

[v9, 1/6] fsl/fman: Add FMan MURAM support

2015-12-03 Thread igal.liberman
From: Igal Liberman Add Frame Manager Multi-User RAM support. This internal FMan memory block is used by the FMan hardware modules, the management being made through the generic allocator. The FMan Internal memory, for example, is used for allocating transmit and receive FIFOs. Signed-off-by: I

[v8, 6/6] fsl/fman: Add FMan MAC driver

2015-11-30 Thread igal.liberman
From: Igal Liberman This patch adds the Ethernet MAC driver supporting the three different types of MACs: dTSEC, tGEC and mEMAC. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |3 +- drivers/net/ethernet/freescale/fman/mac.c| 988

[v8, 5/6] fsl/fman: Add FMan Port Support

2015-11-30 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger Port Driver. The FMan driver uses a module called "Port" to represent the physical TX and RX ports. Each FMan version has different number of physical ports. This patch adds The FMan Port configuration, initialization an

[v8, 4/6] fsl/fman: Add FMan SP support

2015-11-30 Thread igal.liberman
From: Igal Liberman The Storage Profiles contain parameters that are used by the FMan for frame reception and transmission. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |2 +- drivers/net/ethernet/freescale/fman/fman_sp.c | 167 +

[v8, 2/6] fsl/fman: Add FMan support

2015-11-30 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger Driver. The FMan embeds a series of hardware blocks that implement a group of Ethernet interfaces. This patch adds The FMan configuration, initialization and runtime control routines. The FMan driver supports several ha

[v8, 1/6] fsl/fman: Add FMan MURAM support

2015-11-30 Thread igal.liberman
From: Igal Liberman Add Frame Manager Multi-User RAM support. This internal FMan memory block is used by the FMan hardware modules, the management being made through the generic allocator. The FMan Internal memory, for example, is used for allocating transmit and receive FIFOs. Signed-off-by: I

[v8, 0/6] Freescale DPAA FMan

2015-11-30 Thread igal.liberman
From: Igal Liberman The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by multiple CPU cores and the

[PATCH] powerpc/mpc85xx: Update B4 FMan MURAM size

2015-11-05 Thread igal.liberman
From: Igal Liberman FMan V3H has 2 different MURAM sizes: In B4860/4420 the MURAM size is 512KB. In T4240 and T2080 the MURAM size is 384KB. The MURAM size in FMan V3H device tree is 384KB. This patch updates the MURAM size for B4 to 512KB. Based on prior submissions: https://patchwork.

[v7, 6/6] fsl/fman: Add FMan MAC driver

2015-11-02 Thread igal.liberman
From: Igal Liberman This patch adds the Ethernet MAC driver supporting the three different types of MACs: dTSEC, tGEC and mEMAC. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |3 +- drivers/net/ethernet/freescale/fman/mac.c| 980

[v7, 5/6] fsl/fman: Add FMan Port Support

2015-11-02 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger Port Driver. The FMan driver uses a module called "Port" to represent the physical TX and RX ports. Each FMan version has different number of physical ports. This patch adds The FMan Port configuration, initialization an

[v7, 4/6] fsl/fman: Add FMan SP support

2015-11-02 Thread igal.liberman
From: Igal Liberman The Storage Profiles contain parameters that are used by the FMan for frame reception and transmission. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |2 +- drivers/net/ethernet/freescale/fman/fman_sp.c | 167 +

[v7, 2/6] fsl/fman: Add FMan support

2015-11-02 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger Driver. The FMan embeds a series of hardware blocks that implement a group of Ethernet interfaces. This patch adds The FMan configuration, initialization and runtime control routines. The FMan driver supports several ha

[v7, 1/6] fsl/fman: Add FMan MURAM support

2015-11-02 Thread igal.liberman
From: Igal Liberman Add Frame Manager Multi-User RAM support. This internal FMan memory block is used by the FMan hardware modules, the management being made through the generic allocator. The FMan Internal memory, for example, is used for allocating transmit and receive FIFOs. Signed-off-by: I

[v7, 0/6] Freescale DPAA FMan

2015-11-02 Thread igal.liberman
From: Igal Liberman The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by multiple CPU cores and the

[v6, 6/6] fsl/fman: Add FMan MAC driver

2015-10-28 Thread igal.liberman
From: Igal Liberman This patch adds the Ethernet MAC driver supporting the three different types of MACs: dTSEC, tGEC and mEMAC. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |3 +- drivers/net/ethernet/freescale/fman/mac.c| 980

[v6, 5/6] fsl/fman: Add FMan Port Support

2015-10-28 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger Port Driver. The FMan driver uses a module called "Port" to represent the physical TX and RX ports. Each FMan version has different number of physical ports. This patch adds The FMan Port configuration, initialization an

[v6, 4/6] fsl/fman: Add FMan SP support

2015-10-28 Thread igal.liberman
From: Igal Liberman The Storage Profiles contain parameters that are used by the FMan for frame reception and transmission. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |2 +- drivers/net/ethernet/freescale/fman/fman_sp.c | 167 +

[v6, 2/6] fsl/fman: Add FMan support

2015-10-28 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger Driver. The FMan embeds a series of hardware blocks that implement a group of Ethernet interfaces. This patch adds The FMan configuration, initialization and runtime control routines. The FMan driver supports several ha

[v6, 1/6] fsl/fman: Add FMan MURAM support

2015-10-28 Thread igal.liberman
From: Igal Liberman Add Frame Manager Multi-User RAM support. This internal FMan memory block is used by the FMan hardware modules, the management being made through the generic allocator. The FMan Internal memory, for example, is used for allocating transmit and receive FIFOs. Signed-off-by: I

[v6, 0/6] Freescale DPAA FMan

2015-10-28 Thread igal.liberman
From: Igal Liberman The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by multiple CPU cores and the

[v5, 5/6] fsl/fman: Add FMan Port Support

2015-09-24 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger Port Driver. The FMan driver uses a module called "Port" to represent the physical TX and RX ports. Each FMan version has different number of physical ports. This patch adds The FMan Port configuration, initialization an

[v5, 4/6] fsl/fman: Add FMan SP support

2015-09-24 Thread igal.liberman
From: Igal Liberman The Storage Profiles contain parameters that are used by the FMan for frame reception and transmission. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |2 +- drivers/net/ethernet/freescale/fman/fman_sp.c | 167 +

[v5, 6/6] fsl/fman: Add FMan MAC driver

2015-09-24 Thread igal.liberman
From: Igal Liberman This patch adds the Ethernet MAC driver supporting the three different types of MACs: dTSEC, tGEC and mEMAC. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |3 +- drivers/net/ethernet/freescale/fman/mac.c| 963

[v5, 2/6] fsl/fman: Add FMan support

2015-09-24 Thread igal.liberman
From: Igal Liberman Add the Data Path Acceleration Architecture Frame Manger Driver. The FMan embeds a series of hardware blocks that implement a group of Ethernet interfaces. This patch adds The FMan configuration, initialization and runtime control routines. The FMan driver supports several ha

[v5, 0/6] Freescale DPAA FMan

2015-09-24 Thread igal.liberman
From: Igal Liberman The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by multiple CPU cores and the

[v5, 1/6] fsl/fman: Add FMan MURAM support

2015-09-24 Thread igal.liberman
From: Igal Liberman Add Frame Manager Multi-User RAM support. This internal FMan memory block is used by the FMan hardware modules, the management being made through the generic allocator. The FMan Internal memory, for example, is used for allocating transmit and receive FIFOs. Signed-off-by: I

[v4, 5/9] fsl/fman: Add Frame Manager support

2015-08-05 Thread igal.liberman
From: Igal Liberman Add Frame Manger Driver support. This patch adds The FMan configuration, initialization and runtime control routines. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |2 +- drivers/net/ethernet/freescale/fman/fm.c | 1076 +++

[v4, 8/9] fsl/fman: Add FMan Port Support

2015-08-05 Thread igal.liberman
From: Igal Liberman This patch adds The FMan Port configuration, initialization and runtime control routines. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |2 +- drivers/net/ethernet/freescale/fman/fm.c | 251 - drivers/net/ethernet/fre

[v4, 9/9] fsl/fman: Add FMan MAC driver

2015-08-05 Thread igal.liberman
From: Igal Liberman This patch adds the Ethernet MAC driver support. Signed-off-by: Igal Liberman Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/inc/mac.h | 135 drivers/net/ethernet/freescale/fman/mac/Makefile |3 +- drivers/net/ethernet/freescale/fman/ma

[v4, 7/9] fsl/fman: Add FMan SP support

2015-08-05 Thread igal.liberman
From: Igal Liberman Add Storage Profiles support. The Storage Profiles contain parameters that are used by the FMan in order to store frames being received on the Rx ports, or to determine the parameters that affect writing the Internal Context in the frame margin on Tx. Signed-off-by: Igal Libe

[v4, 6/9] fsl/fman: Add FMan MAC support

2015-08-05 Thread igal.liberman
From: Igal Liberman Add Frame Manger MAC Driver support. This patch adds The FMan MAC configuration, initialization and runtime control routines. This patch contains support for these types of MACs: tGEC, dTSEC and mEMAC Signed-off-by: Igal Liberman --- .../ethernet/freescale/fman/flib

[v4, 4/9] fsl/fman: Add FMan MURAM support

2015-08-05 Thread igal.liberman
From: Igal Liberman Add Frame Manager Multi-User RAM support. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Kconfig|1 + drivers/net/ethernet/freescale/fman/Makefile |6 +- drivers/net/ethernet/freescale/fman/fm_muram.c | 115 ++

[v4, 2/9] fsl/fman: Add the FMan port FLIB

2015-08-05 Thread igal.liberman
From: Igal Liberman The FMan Port FLib provides basic API used by the drivers to configure and control the FMan Port hardware. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |2 + .../ethernet/freescale/fman/flib/fsl_fman_port.h | 409 +++

[v4, 1/9] fsl/fman: Add the FMan FLIB

2015-08-05 Thread igal.liberman
From: Igal Liberman The FMan FLib provides the basic API used by the FMan drivers to configure and control the FMan hardware. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/Kconfig |1 + drivers/net/ethernet/freescale/Makefile|2 + drivers/net/e

[v4, 0/9] Freescale DPAA FMan

2015-08-05 Thread igal.liberman
From: Igal Liberman The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by multiple CPU cores and the

[v3, 2/9] fsl/fman: Add the FMan port FLIB

2015-07-22 Thread igal.liberman
From: Igal Liberman The FMan Port FLib provides basic API used by the drivers to configure and control the FMan Port hardware. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Kconfig|1 + drivers/net/ethernet/freescale/fman/Makefile |2 + .../ethernet

[v3, 9/9] fsl/fman: Add FMan MAC driver

2015-07-22 Thread igal.liberman
From: Igal Liberman This patch adds the Ethernet MAC driver support. Signed-off-by: Igal Liberman Signed-off-by: Madalin Bucur --- drivers/net/ethernet/freescale/fman/inc/mac.h | 134 drivers/net/ethernet/freescale/fman/mac/Makefile |3 +- drivers/net/ethernet/freescale/fman/ma

[v3, 4/9] fsl/fman: Add FMan MURAM support

2015-07-22 Thread igal.liberman
From: Igal Liberman Add Frame Manager Multi-User RAM support. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Kconfig|1 + drivers/net/ethernet/freescale/fman/Makefile |6 +- drivers/net/ethernet/freescale/fman/fm_muram.c | 115 ++

[v3, 8/9] fsl/fman: Add FMan Port Support

2015-07-22 Thread igal.liberman
From: Igal Liberman This patch adds The FMan Port configuration, initialization and runtime control routines. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Makefile |2 +- drivers/net/ethernet/freescale/fman/fm.c | 251 - drivers/net/ethernet/fre

[v3, 7/9] fsl/fman: Add FMan SP support

2015-07-22 Thread igal.liberman
From: Igal Liberman Add Storage Profiles support. The Storage Profiles contain parameters that are used by the FMan in order to store frames being received on the Rx ports, or to determine the parameters that affect writing the Internal Context in the frame margin on Tx. Signed-off-by: Igal Libe

[v3, 6/9] fsl/fman: Add FMan MAC support

2015-07-22 Thread igal.liberman
From: Igal Liberman Add Frame Manger MAC Driver support. This patch adds The FMan MAC configuration, initialization and runtime control routines. This patch contains support for these types of MACs: tGEC, dTSEC and mEMAC Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/f

[v3, 5/9] fsl/fman: Add Frame Manager support

2015-07-22 Thread igal.liberman
From: Igal Liberman Add Frame Manger Driver support. This patch adds The FMan configuration, initialization and runtime control routines. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/fman/Kconfig|1 - drivers/net/ethernet/freescale/fman/Makefile |2 +-

[v3, 1/9] fsl/fman: Add the FMan FLIB

2015-07-22 Thread igal.liberman
From: Igal Liberman The FMan FLib provides the basic API used by the FMan drivers to configure and control the FMan hardware. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/Kconfig |1 + drivers/net/ethernet/freescale/Makefile|2 + drivers/net/e

[v3, 0/9] Freescale DPAA FMan

2015-07-22 Thread igal.liberman
From: Igal Liberman The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by multiple CPU cores and the

[v2,1/9] fsl/fman: Add the FMan FLIB

2015-06-24 Thread igal.liberman
From: Igal Liberman The FMan FLib provides the basic API used by the FMan drivers to configure and control the FMan hardware. Signed-off-by: Igal Liberman --- drivers/net/ethernet/freescale/Kconfig |1 + drivers/net/ethernet/freescale/Makefile|2 + drivers/net/e