RE: [PATCH] net: memac_phy: add a timeout to MDIO operations

2020-12-09 Thread Madalin Bucur (OSS)
> -Original Message- > From: Ioana Ciornei > Sent: 09 December 2020 13:32 > To: joe.hershber...@ni.com; Tom Rini ; u- > b...@lists.denx.de > Cc: Madalin Bucur ; Florin Laurentiu Chiculita > ; Ioana Ciornei > Subject: [PATCH] net: memac_phy: add a timeout to MDIO

[PATCH 2/2] board: freescale: powerpc: add support for all RGMII modes

2020-11-04 Thread Madalin Bucur
Make sure all RGMII internal delay modes are covered. Signed-off-by: Madalin Bucur --- board/freescale/corenet_ds/eth_hydra.c | 6 ++ board/freescale/corenet_ds/eth_p4080.c | 6 ++ board/freescale/corenet_ds/eth_superhydra.c | 12 board/freescale/p2041rdb/eth.c

[PATCH 0/2] board: freescale: cover all RGMII modes on DPAA 1 boards

2020-11-04 Thread Madalin Bucur
Make sure all RGMII internal delay modes are covered. Madalin Bucur (2): armv8: ls1043/ls1046aqds: add support for all RGMII modes board: freescale: powerpc: add support for all RGMII modes board/freescale/corenet_ds/eth_hydra.c | 6 ++ board/freescale/corenet_ds/eth_p4080.c

[PATCH 1/2] armv8: ls1043/ls1046aqds: add support for all RGMII modes

2020-11-04 Thread Madalin Bucur
Make sure all RGMII internal delay modes are covered. Signed-off-by: Madalin Bucur --- board/freescale/ls1043aqds/eth.c | 2 ++ board/freescale/ls1046aqds/eth.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/board/freescale/ls1043aqds/eth.c b/board/freescale/ls1043aqds/eth.c index

[PATCH] driver: net: fm: add support for XFI

2020-09-11 Thread Madalin Bucur
All the 10G ports that were working in XFI mode were described as using XGMII (as PHY_INTERFACE_MODE_XFI was not added at the time). Add the minimal changes required for the FMan code to support XFI. Signed-off-by: Madalin Bucur --- drivers/net/fm/memac.c | 3 ++- 1 file changed, 2 insertions

[PATCH] drivers: net: phy: Use Aquantia driver for AQR113C

2020-09-10 Thread Madalin Bucur
Add support for AQR113C PHY Signed-off-by: Madalin Bucur --- drivers/net/phy/aquantia.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/net/phy/aquantia.c b/drivers/net/phy/aquantia.c index 68cd3d0..9061afa 100644 --- a/drivers/net/phy/aquantia.c +++ b/drivers/net

RE: [PATCH] MAINTAINERS: add QorIQ DPAA

2020-05-12 Thread Madalin Bucur (OSS)
> -Original Message- > From: Priyanka Jain > Sent: Tuesday, May 12, 2020 12:53 PM > To: Madalin Bucur (OSS) ; > joe.hershber...@ni.com; Priyanka Jain (OSS) > Cc: u-boot@lists.denx.de > Subject: RE: [PATCH] MAINTAINERS: add QorIQ DPAA > > >-Origina

RE: [RFC PATCH 3/3] net: tsec: convert fsl_pq_mdio to DM_MDIO

2020-05-05 Thread Madalin Bucur (OSS)
Hi Vladimir, a patch for tsec migration to DM_MDIO has already been submitted, part of the DPAA 1 PowerPC patch set: https://patchwork.ozlabs.org/project/uboot/patch/1588251616-14976-3-git-send-email-madalin.bu...@oss.nxp.com/ Madalin > -Original Message- > From: U-Boot On Behalf Of

[PATCH] MAINTAINERS: add QorIQ DPAA

2020-05-04 Thread Madalin Bucur
Add entries for the QorIQ DPAA related files - the DPAA FMan Ethernet driver and the QorIQ ARM DPAA device tree include files. Signed-off-by: Madalin Bucur --- This was included in v3 of the DPAA DM patches but, as v1 was merged, it was left out, resending. MAINTAINERS | 6 ++ 1 file

[PATCH] driver: net: fm: minor fix in DM ETH support

2020-05-04 Thread Madalin Bucur
Bus callback functions for read/write/reset need to be set only for DM_ETH, moving endif a bit lower. Signed-off-by: Madalin Bucur --- As v1 of the patches were merged, this change made in v3 needs to be merged on its own. drivers/net/fm/eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 12/19] powerpc: dts: add QorIQ DPAA 1 FMan to P3041DS

2020-04-30 Thread Madalin Bucur
Introduce the QorIQ DPAA 1 Frame Manager nodes in the P3041DS device tree. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/p3041ds.dts | 129 ++- 1

[PATCH 17/19] configs: enable DM_ETH support for P2041RDB

2020-04-30 Thread Madalin Bucur
Enable DM_ETH on all the defconfigs for the P2041RDB board. Signed-off-by: Madalin Bucur --- configs/P2041RDB_NAND_defconfig| 3 +++ configs/P2041RDB_SDCARD_defconfig | 3 +++ configs/P2041RDB_SECURE_BOOT_defconfig | 3 +++ configs/P2041RDB_SPIFLASH_defconfig| 3 +++ configs

[PATCH 16/19] powerpc: dts: add QorIQ DPAA 1 FMan v3 to T1024RDB

2020-04-30 Thread Madalin Bucur
Introduce the QorIQ DPAA 1 Frame Manager nodes in the T1024RDB device tree. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/t1024rdb.dts | 54 ++- 1

[PATCH 15/19] powerpc: dts: add QorIQ DPAA 1 FMan v3 for T102x

2020-04-30 Thread Madalin Bucur
Add the QorIQ DPAA 1 Frame Manager v3 device tree nodes for the T102x SoCs. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/t1023si-post.dtsi | 37 + arch

[PATCH 13/19] powerpc: dts: add QorIQ DPAA 1 FMan for P5040

2020-04-30 Thread Madalin Bucur
The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/p5040si-post.dtsi | 69 ++ 1 file changed, 69 insertions(+) create mode 100644 arch/powerpc/dts/p5040si

[PATCH 14/19] powerpc: dts: add QorIQ DPAA 1 FMan to P5040DS

2020-04-30 Thread Madalin Bucur
Introduce the QorIQ DPAA 1 Frame Manager nodes in the P5040DS device tree. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/p5040ds.dts | 252 ++- 1

[PATCH 06/19] powerpc: dts: add QorIQ DPAA 1 FMan v3 device tree nodes

2020-04-30 Thread Madalin Bucur
Add the QorIQ DPAA Frame Manager version 3 device tree nodes description. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- .../dts/qoriq-fman3-0-10g-0-best-effort.dtsi | 47 arch/powerpc/dts

[PATCH 19/19] MAINTAINERS: add PowerPC DPAA dts include files to QorIQ DPAA

2020-04-30 Thread Madalin Bucur
Add an entry for the PowerPC QorIQ DPAA device tree include files. Signed-off-by: Madalin Bucur --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6aabb77..655198f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -854,6 +854,7 @@ M: Madalin Bucur

[PATCH 11/19] powerpc: dts: add QorIQ DPAA 1 FMan for P3041

2020-04-30 Thread Madalin Bucur
The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/p3041si-post.dtsi | 42 ++ 1 file changed, 42 insertions(+) create mode 100644 arch/powerpc/dts/p3041si

[PATCH 18/19] configs: enable DM_ETH support for T1024RDB

2020-04-30 Thread Madalin Bucur
Enable DM_ETH on all the defconfigs for the T1024RDB board. Signed-off-by: Madalin Bucur --- configs/T1024RDB_NAND_defconfig| 3 +++ configs/T1024RDB_SDCARD_defconfig | 3 +++ configs/T1024RDB_SECURE_BOOT_defconfig | 3 +++ configs/T1024RDB_SPIFLASH_defconfig| 3 +++ configs

[PATCH 09/19] powerpc: dts: add QorIQ DPAA 1 FMan for P2041

2020-04-30 Thread Madalin Bucur
The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/p2041si-post.dtsi | 42 ++ 1 file changed, 42 insertions(+) create mode 100644 arch/powerpc/dts/p2041si

[PATCH 10/19] powerpc: dts: add QorIQ DPAA 1 FMan to P2041RDB

2020-04-30 Thread Madalin Bucur
Introduce the QorIQ DPAA 1 Frame Manager nodes in the P2041RDB device tree. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/p2041rdb.dts | 98 ++- 1

[PATCH 08/19] powerpc: dts: add QorIQ DPAA 1 FMan interfaces to P4080DS

2020-04-30 Thread Madalin Bucur
Introduce the QorIQ DPAA 1 Frame Manager interfaces nodes in the P4080DS device tree. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/p4080ds.dts | 191 ++- 1 file changed, 190 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/dts/p4080ds.dts b

[PATCH 07/19] powerpc: dts: add QorIQ DPAA 1 FMan for P4080

2020-04-30 Thread Madalin Bucur
The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/p4080si-post.dtsi | 61 ++ 1 file changed, 61 insertions(+) create mode 100644 arch/powerpc/dts/p4080si

[PATCH 03/19] powerpc: dts: QorIQ: Add node(s) for the platform PLL

2020-04-30 Thread Madalin Bucur
Add the QorIQ clock control device nodes include files. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/qoriq-clockgen1.dtsi | 14 ++ arch/powerpc/dts/qoriq-clockgen2.dtsi | 14 ++ 2 files changed, 28 insertions(+) create mode 100644 arch/powerpc/dts/qoriq-clockgen1

[PATCH 04/19] powerpc: dts: add QorIQ GPIOs

2020-04-30 Thread Madalin Bucur
Add the QorIQ GPIO device tree nodes description. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/qoriq-gpio-0.dtsi | 16 arch/powerpc/dts/qoriq-gpio-1.dtsi | 16

[PATCH 00/19] Enable DM_ETH on some DPAA1 PowerPC platforms

2020-04-30 Thread Madalin Bucur
I assume they do not pose a problem (nor I'm confident that a different formatting would make things better). Madalin Bucur (19): board/freescale: add the DM_ETH changes for the PPC DPAA platforms net: tsec: fsl_mdio: add DM MDIO support powerpc: dts: QorIQ: Add node(s) for the platform PLL p

[PATCH 02/19] net: tsec: fsl_mdio: add DM MDIO support

2020-04-30 Thread Madalin Bucur
Allow the MDIO devices to be probed based on the device tree. Signed-off-by: Madalin Bucur --- drivers/net/fsl_mdio.c | 138 ++--- 1 file changed, 132 insertions(+), 6 deletions(-) diff --git a/drivers/net/fsl_mdio.c b/drivers/net/fsl_mdio.c index

[PATCH 05/19] powerpc: dts: add QorIQ DPAA 1 FMan device tree nodes

2020-04-30 Thread Madalin Bucur
Add the QorIQ DPAA Frame Manager device tree nodes description. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/powerpc/dts/qoriq-fman-0-10g-0.dtsi | 37 +++ arch/powerpc/dts/qoriq-fman-0-1g

[PATCH 01/19] board/freescale: add the DM_ETH changes for the PPC DPAA platforms

2020-04-30 Thread Madalin Bucur
Add the required changes for compiling with DM_ETH on the PPC DPAA platforms. Signed-off-by: Madalin Bucur --- arch/powerpc/cpu/mpc85xx/cpu_init.c | 2 ++ board/freescale/b4860qds/b4860qds.c | 2 ++ board/freescale/corenet_ds/corenet_ds.c | 2 ++ board/freescale/ls1043aqds/ls1043aqds.c

[PATCH v3 09/12] driver: net: fm: add DM ETH support

2020-04-29 Thread Madalin Bucur
devices (i.e. DTSEC, TGEC) and had weird formatting (i.e. FM1@DTSEC6, FM1@TGEC1). The legacy code is left unchanged in this respect. Signed-off-by: Madalin Bucur --- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 2 + board/freescale/ls1043ardb/ls1043ardb.c | 2 + board/freescale/ls1046afrwy

[PATCH v3 12/12] MAINTAINERS: add QorIQ DPAA

2020-04-29 Thread Madalin Bucur
Add entries for the QorIQ DPAA related files - the DPAA FMan Ethernet driver and the QorIQ ARM DPAA device tree include files. Signed-off-by: Madalin Bucur --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index dd92af5..6aabb77 100644

[PATCH v3 11/12] configs: enable DM_ETH support for LS1046ARDB

2020-04-29 Thread Madalin Bucur
Enable DM_ETH on all the defconfigs for the LS1046ARDB board. Signed-off-by: Madalin Bucur --- configs/ls1046ardb_emmc_defconfig | 3 +++ configs/ls1046ardb_qspi_SECURE_BOOT_defconfig | 3 +++ configs/ls1046ardb_qspi_defconfig | 3 +++ configs

[PATCH v3 10/12] configs: enable DM_ETH support for LS1043ARDB

2020-04-29 Thread Madalin Bucur
Enable DM_ETH on all the defconfigs for the LS1043ARDB board. Signed-off-by: Madalin Bucur --- configs/ls1043ardb_SECURE_BOOT_defconfig| 3 +++ configs/ls1043ardb_defconfig| 3 +++ configs/ls1043ardb_nand_SECURE_BOOT_defconfig | 3 +++ configs

[PATCH v3 07/12] driver: net: fm: separate receive buffer free code

2020-04-29 Thread Madalin Bucur
Move the receive buffer free code in a separate function. Signed-off-by: Madalin Bucur --- drivers/net/fm/eth.c | 63 ++-- 1 file changed, 37 insertions(+), 26 deletions(-) diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c index 57db2e9

[PATCH v3 08/12] driver: net: fm: add DM MDIO support

2020-04-29 Thread Madalin Bucur
Allow the MDIO devices to be probed based on the device tree. Signed-off-by: Madalin Bucur --- drivers/net/fm/memac_phy.c | 139 - 1 file changed, 137 insertions(+), 2 deletions(-) diff --git a/drivers/net/fm/memac_phy.c b/drivers/net/fm/memac_phy.c

[PATCH v3 06/12] driver: net: fm: change init_phy() param

2020-04-29 Thread Madalin Bucur
Change the init_phy() parameter to simplify the code. Signed-off-by: Madalin Bucur --- drivers/net/fm/eth.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c index 88019c9..57db2e9 100644 --- a/drivers/net/fm

[PATCH v3 05/12] ARM: dts: add QorIQ DPAA 1 FMan v3 to LS1046ARDB

2020-04-29 Thread Madalin Bucur
Introduce the QorIQ DPAA 1 Frame Manager nodes in the LS1046ARDB device tree. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/arm/dts/fsl-ls1046a-rdb.dts | 67

[PATCH v3 04/12] ARM: dts: add QorIQ DPAA 1 FMan v3 for LS1046A

2020-04-29 Thread Madalin Bucur
Add the QorIQ DPAA 1 Frame Manager v3 device tree nodes for the LS1046A SoC. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/arm/dts/fsl-ls1046-post.dtsi | 49 +++ 1

[PATCH v3 01/12] ARM: dts: add QorIQ DPAA 1 FMan v3 device tree nodes

2020-04-29 Thread Madalin Bucur
Add the QorIQ DPAA Frame Manager v3 device tree nodes description. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/arm/dts/qoriq-fman3-0-10g-0.dtsi | 44 +++ arch/arm/dts/qoriq-fman3-0

[PATCH v3 02/12] ARM: dts: add QorIQ DPAA 1 FMan v3 for LS1043A

2020-04-29 Thread Madalin Bucur
Add the QorIQ DPAA 1 Frame Manager v3 device tree nodes for the LS1043A SoC. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/arm/dts/fsl-ls1043-post.dtsi | 48 +++ 1

[PATCH v3 00/12] Enable DM_ETH on the DPAA1 ARM platforms

2020-04-29 Thread Madalin Bucur
for the QorIQ DPAA. Madalin Bucur (12): ARM: dts: add QorIQ DPAA 1 FMan v3 device tree nodes ARM: dts: add QorIQ DPAA 1 FMan v3 for LS1043A ARM: dts: add QorIQ DPAA 1 FMan v3 to LS1043ARDB ARM: dts: add QorIQ DPAA 1 FMan v3 for LS1046A ARM: dts: add QorIQ DPAA 1 FMan v3 to LS1046ARDB driver

[PATCH v3 03/12] ARM: dts: add QorIQ DPAA 1 FMan v3 to LS1043ARDB

2020-04-29 Thread Madalin Bucur
Introduce the QorIQ DPAA 1 Frame Manager nodes in the LS1043ARDB device tree. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/arm/dts/fsl-ls1043a-rdb.dts | 81

RE: [PATCH] net: phy: add phyid search in vendor specific space

2020-04-29 Thread Madalin Bucur (OSS)
; + devad[i], interface); > if (IS_ERR(phydev)) > return NULL; > if (phydev) > -- > 1.9.3 Nice cleanup too! Reviewed-by: Madalin Bucur

[PATCH v2 12/12] MAINTAINERS: add QorIQ DPAA

2020-04-29 Thread Madalin Bucur
Add entries for the QorIQ DPAA related files - the DPAA FMan Ethernet driver and the QorIQ ARM DPAA device tree include files. Signed-off-by: Madalin Bucur --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index dd92af5..6aabb77 100644

[PATCH v2 11/12] configs: enable DM_ETH support for LS1046ARDB

2020-04-29 Thread Madalin Bucur
Enable DM_ETH on all the defconfigs for the LS1046ARDB board. Signed-off-by: Madalin Bucur --- configs/ls1046ardb_emmc_defconfig | 3 +++ configs/ls1046ardb_qspi_SECURE_BOOT_defconfig | 3 +++ configs/ls1046ardb_qspi_defconfig | 3 +++ configs

[PATCH v2 09/12] driver: net: fm: add DM ETH support

2020-04-29 Thread Madalin Bucur
devices (i.e. DTSEC, TGEC) and had weird formatting (i.e. FM1@DTSEC6, FM1@TGEC1). The legacy code is left unchanged in this respect. Signed-off-by: Madalin Bucur --- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 2 + board/freescale/ls1043ardb/ls1043ardb.c | 2 + board/freescale/ls1046afrwy

[PATCH v2 07/12] driver: net: fm: separate receive buffer free code

2020-04-29 Thread Madalin Bucur
Move the receive buffer free code in a separate function. Signed-off-by: Madalin Bucur --- drivers/net/fm/eth.c | 63 ++-- 1 file changed, 37 insertions(+), 26 deletions(-) diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c index 57db2e9

[PATCH v2 01/12] ARM: dts: add QorIQ DPAA 1 FMan v3 device tree nodes

2020-04-29 Thread Madalin Bucur
Add the QorIQ DPAA Frame Manager v3 device tree nodes description. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/arm/dts/qoriq-fman3-0-10g-0.dtsi | 44 +++ arch/arm/dts/qoriq-fman3-0

[PATCH v2 08/12] driver: net: fm: add DM MDIO support

2020-04-29 Thread Madalin Bucur
Allow the MDIO devices to be probed based on the device tree. Signed-off-by: Madalin Bucur --- drivers/net/fm/memac_phy.c | 139 - 1 file changed, 137 insertions(+), 2 deletions(-) diff --git a/drivers/net/fm/memac_phy.c b/drivers/net/fm/memac_phy.c

[PATCH v2 10/12] configs: enable DM_ETH support for LS1043ARDB

2020-04-29 Thread Madalin Bucur
Enable DM_ETH on all the defconfigs for the LS1043ARDB board. Signed-off-by: Madalin Bucur --- configs/ls1043ardb_SECURE_BOOT_defconfig| 3 +++ configs/ls1043ardb_defconfig| 3 +++ configs/ls1043ardb_nand_SECURE_BOOT_defconfig | 3 +++ configs

[PATCH v2 02/12] ARM: dts: add QorIQ DPAA 1 FMan v3 for LS1043A

2020-04-29 Thread Madalin Bucur
Add the QorIQ DPAA 1 Frame Manager v3 device tree nodes for the LS1043A SoC. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/arm/dts/fsl-ls1043-post.dtsi | 48 +++ 1

[PATCH v2 05/12] ARM: dts: add QorIQ DPAA 1 FMan v3 to LS1046ARDB

2020-04-29 Thread Madalin Bucur
Introduce the QorIQ DPAA 1 Frame Manager nodes in the LS1046ARDB device tree. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/arm/dts/fsl-ls1046a-rdb.dts | 67

[PATCH v2 06/12] driver: net: fm: change init_phy() param

2020-04-29 Thread Madalin Bucur
Change the init_phy() parameter to simplify the code. Signed-off-by: Madalin Bucur --- drivers/net/fm/eth.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c index 88019c9..57db2e9 100644 --- a/drivers/net/fm

[PATCH v2 04/12] ARM: dts: add QorIQ DPAA 1 FMan v3 for LS1046A

2020-04-29 Thread Madalin Bucur
Add the QorIQ DPAA 1 Frame Manager v3 device tree nodes for the LS1046A SoC. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/arm/dts/fsl-ls1046-post.dtsi | 49 +++ 1

[PATCH v2 03/12] ARM: dts: add QorIQ DPAA 1 FMan v3 to LS1043ARDB

2020-04-29 Thread Madalin Bucur
Introduce the QorIQ DPAA 1 Frame Manager nodes in the LS1043ARDB device tree. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/arm/dts/fsl-ls1043a-rdb.dts | 81

[PATCH v2 00/12] Enable DM_ETH on the DPAA1 ARM platforms

2020-04-29 Thread Madalin Bucur
to the LS104x device trees and LS104xARDB device trees. Changes to the fm driver introduce DM ETH and DM MDIO support while still preserving the legacy functionality. Also adding entries in the MAINTAINERS file for the QorIQ DPAA. Madalin Bucur (12): ARM: dts: add QorIQ DPAA 1 FMan v3 device tree nodes

[PATCH] drivers: net: qe: deselect QE when DM_ETH is enabled

2020-04-29 Thread Madalin Bucur
set. Signed-off-by: Madalin Bucur --- drivers/qe/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/qe/Kconfig b/drivers/qe/Kconfig index 864b36b..44c9f01 100644 --- a/drivers/qe/Kconfig +++ b/drivers/qe/Kconfig @@ -3,7 +3,7 @@ # config QE bool "Enable

[PATCH] powerpc: mpc85xx: fix unused variable warning

2020-04-29 Thread Madalin Bucur
Fix unused variable warning when CONFIG_QE is not set. Signed-off-by: Madalin Bucur --- arch/powerpc/cpu/mpc85xx/cpu_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init.c b/arch/powerpc/cpu/mpc85xx/cpu_init.c index 52fa458..f716a9d

[PATCH] powerpc/mpc85xx: Fix compiling error with DM_GPIO

2020-04-28 Thread Madalin Bucur
/include/asm/gpio.h:1, from drivers/gpio/gpio-uclass.c:16: ./arch/powerpc/include/asm/mpc85xx_gpio.h:68:19: note: previous definition of 'gpio_request' was here static inline int gpio_request(unsigned gpio, const char *label) ^~~~ Signed-off-by: Madalin

[PATCH] drivers: net: e1000: with DM_ETH needs DM_PCI too

2020-04-28 Thread Madalin Bucur
Compilation error occur when DM_ETH is enabled without DM_PCI. Signed-off-by: Madalin Bucur --- drivers/net/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 4d1013c..4313d04 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig

RE: [PATCH 09/12] driver: net: fm: add DM ETH support

2020-04-28 Thread Madalin Bucur (OSS)
> -Original Message- > From: Camelia Alexandra Groza (OSS) > Sent: Tuesday, April 28, 2020 4:06 PM > To: Madalin Bucur (OSS) ; u-boot@lists.denx.de > Cc: Ruchika Gupta ; joe.hershber...@ni.com; > s...@chromium.org; Priyanka Jain (OSS) ; > tr...@konsulko.com; Ioana C

RE: [PATCH 1/6] arm: dts: lx2160a: add any missing dpmac nodes

2020-04-24 Thread Madalin Bucur
> -Original Message- > From: Priyanka Jain (OSS) > Sent: Friday, April 24, 2020 11:18 AM > To: Ioana Ciornei ; u-boot@lists.denx.de > Cc: Alexandru Marginean ; Madalin Bucur > ; Florin Laurentiu Chiculita > ; Razvan Ionut Cirjan > > Subject: RE: [PATCH 1/6]

RE: [PATCH] arm64: dts: ls1046ardb: Set aqr106 phy mode to usxgmii

2020-04-23 Thread Madalin Bucur
> -Original Message- > From: Sascha Hauer > Sent: Thursday, April 23, 2020 1:22 PM > To: linux-arm-ker...@lists.infradead.org > Cc: Madalin Bucur ; Shawn Guo > ; Leo Li ; Sascha Hauer > > Subject: [PATCH] arm64: dts: ls1046ardb: Set aqr106 phy mode to usxgmi

[PATCH 09/12] driver: net: fm: add DM ETH support

2020-04-23 Thread Madalin Bucur
devices (i.e. DTSEC, TGEC) and had weird formatting (i.e. FM1@DTSEC6, FM1@TGEC1). The legacy code is left unchanged in this respect. Signed-off-by: Madalin Bucur --- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 2 + board/freescale/ls1043ardb/ls1043ardb.c | 2 + board/freescale/ls1046afrwy

[PATCH 11/12] configs: enable DM_ETH support for LS1043ARDB

2020-04-23 Thread Madalin Bucur
Enable DM_ETH on all the defconfigs for the LS1043ARDB board. Signed-off-by: Madalin Bucur --- configs/ls1043ardb_SECURE_BOOT_defconfig| 3 +++ configs/ls1043ardb_defconfig| 3 +++ configs/ls1043ardb_nand_SECURE_BOOT_defconfig | 3 +++ configs

[PATCH 05/12] ARM: dts: add QorIQ DPAA 1 FMan v3 to LS1046ARDB

2020-04-23 Thread Madalin Bucur
Introduce the QorIQ DPAA 1 Frame Manager nodes in the LS1046ARDB device tree. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/arm/dts/fsl-ls1046a-rdb.dts | 67

[PATCH 10/12] net: fm: fix compilation issue

2020-04-23 Thread Madalin Bucur
The NAND related code needs to be guarded with #ifdef CONFIG_NAND_BOOT to avoid a compilation error when this configuration is not enabled. Signed-off-by: Madalin Bucur --- drivers/net/fm/fm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/fm/fm.c b/drivers/net/fm/fm.c index

[PATCH 12/12] configs: enable DM_ETH support for LS1046ARDB

2020-04-23 Thread Madalin Bucur
Enable DM_ETH on all the defconfigs for the LS1046ARDB board. Signed-off-by: Madalin Bucur --- configs/ls1046ardb_emmc_defconfig | 3 +++ configs/ls1046ardb_qspi_SECURE_BOOT_defconfig | 3 +++ configs/ls1046ardb_qspi_defconfig | 3 +++ configs

[PATCH 08/12] driver: net: fm: add DM MDIO support

2020-04-23 Thread Madalin Bucur
Allow the MDIO devices to be probed based on the device tree. Signed-off-by: Madalin Bucur --- drivers/net/fm/memac_phy.c | 139 - 1 file changed, 137 insertions(+), 2 deletions(-) diff --git a/drivers/net/fm/memac_phy.c b/drivers/net/fm/memac_phy.c

[PATCH 01/12] ARM: dts: add QorIQ DPAA 1 FMan v3 device tree nodes

2020-04-23 Thread Madalin Bucur
Add the QorIQ DPAA Frame Manager v3 device tree nodes description. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/arm/dts/qoriq-fman3-0-10g-0.dtsi | 44 +++ arch/arm/dts/qoriq-fman3-0

[PATCH 02/12] ARM: dts: add QorIQ DPAA 1 FMan v3 for LS1043A

2020-04-23 Thread Madalin Bucur
Add the QorIQ DPAA 1 Frame Manager v3 device tree nodes for the LS1043A SoC. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/arm/dts/fsl-ls1043-post.dtsi | 48 +++ 1

[PATCH 04/12] ARM: dts: add QorIQ DPAA 1 FMan v3 for LS1046A

2020-04-23 Thread Madalin Bucur
Add the QorIQ DPAA 1 Frame Manager v3 device tree nodes for the LS1046A SoC. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/arm/dts/fsl-ls1046-post.dtsi | 49 +++ 1

[PATCH 06/12] driver: net: fm: change init_phy() param

2020-04-23 Thread Madalin Bucur
Change the init_phy() parameter to simplify the code. Signed-off-by: Madalin Bucur --- drivers/net/fm/eth.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c index 88019c9..57db2e9 100644 --- a/drivers/net/fm

[PATCH 07/12] driver: net: fm: separate receive buffer free code

2020-04-23 Thread Madalin Bucur
Move the receive buffer free code in a separate function. Signed-off-by: Madalin Bucur --- drivers/net/fm/eth.c | 63 ++-- 1 file changed, 37 insertions(+), 26 deletions(-) diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c index 57db2e9

[PATCH 00/12] Enable DM_ETH on the DPAA1 ARM platforms

2020-04-23 Thread Madalin Bucur
to CONFIG_NAND_BOOT revealed during validation of the changes is also addressed. Madalin Bucur (12): ARM: dts: add QorIQ DPAA 1 FMan v3 device tree nodes ARM: dts: add QorIQ DPAA 1 FMan v3 for LS1043A ARM: dts: add QorIQ DPAA 1 FMan v3 to LS1043ARDB ARM: dts: add QorIQ DPAA 1 FMan v3 for LS1046A ARM

[PATCH 03/12] ARM: dts: add QorIQ DPAA 1 FMan v3 to LS1043ARDB

2020-04-23 Thread Madalin Bucur
Introduce the QorIQ DPAA 1 Frame Manager nodes in the LS1043ARDB device tree. The device tree fragments are copied over with little modification from the Linux kernel source code. Signed-off-by: Madalin Bucur --- arch/arm/dts/fsl-ls1043a-rdb.dts | 81

RE: [PATCH 2/3] armv8/ls1043ardb: RGMII ports require internal delay

2020-03-23 Thread Madalin Bucur (OSS)
> -Original Message- > From: Priyanka Jain (OSS) > Sent: Monday, March 23, 2020 12:30 PM > To: Madalin Bucur (OSS) ; > joe.hershber...@ni.com; u-boot@lists.denx.de > Subject: RE: [PATCH 2/3] armv8/ls1043ardb: RGMII ports require internal > delay > > >-Or

[PATCH 3/3] armv8/ls1046ardb: RGMII ports require internal delay

2020-03-12 Thread Madalin Bucur
10 ("armv8/ls1046a: RGMII PHY requires internal delay on Tx") Signed-off-by: Madalin Bucur --- drivers/net/fm/ls1046.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/fm/ls1046.c b/drivers/net/fm/ls1046.c index 3617ad9..49b540b 100644 --- a/dri

[PATCH 2/3] armv8/ls1043ardb: RGMII ports require internal delay

2020-03-12 Thread Madalin Bucur
66 ("armv8/ls1043a: RGMII PHY requires internal delay on Tx") Signed-off-by: Madalin Bucur --- drivers/net/fm/ls1043.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/fm/ls1043.c b/drivers/net/fm/ls1043.c index cd510f2..ba4da69 100644 --- a/dri

[PATCH 1/3] net: fman: add support for all RGMII delay modes

2020-03-12 Thread Madalin Bucur
The RGMII modes that include internal delay were not all properly treated in the memac code. Add support for all RGMII delay modes. Fixes: 111fd19e3b9e ("fm/mEMAC: add mEMAC frame work") Signed-off-by: Madalin Bucur --- drivers/net/fm/memac.c | 4 1 file changed, 4 insertion

[PATCH 0/3] armv8/ls104xardb: RGMII ports require internal delay

2020-03-12 Thread Madalin Bucur
so ensures all internal delay modes are supported in the MEMAC code. Tested on LS1043ARDB and LS1046ARDB. Madalin Bucur (3): net: fman: add support for all RGMII delay modes armv8/ls1043ardb: RGMII ports require internal delay armv8/ls1046ardb: RGMII ports require internal delay drivers/net

[U-Boot] [PATCH] armv8: ls1043/ls1046aqds: add support for RGMII_TXID

2017-08-18 Thread Madalin Bucur
Signed-off-by: Madalin Bucur <madalin.bu...@nxp.com> --- board/freescale/ls1043aqds/eth.c | 1 + board/freescale/ls1046aqds/eth.c | 1 + 2 files changed, 2 insertions(+) diff --git a/board/freescale/ls1043aqds/eth.c b/board/freescale/ls1043aqds/eth.c index bf26376..3411bed 100644 --- a

[U-Boot] [PATCH] net: phy: realtek: fix enabling of the TX-delay for RTL8211F

2017-08-18 Thread Madalin Bucur
Realtek PHY driver by Martin Blumenstingl <martin.blumensti...@googlemail.com>. Signed-off-by: Madalin Bucur <madalin.bu...@nxp.com> --- drivers/net/phy/realtek.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/drivers/net/phy/realtek.c b/dri

[U-Boot] [PATCH] net: fman: add support RGMII_TXID to memac

2017-08-04 Thread Madalin Bucur
Signed-off-by: Madalin Bucur <madalin.bu...@nxp.com> --- drivers/net/fm/memac.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/fm/memac.c b/drivers/net/fm/memac.c index 1b5779c..ea50ed3 100644 --- a/drivers/net/fm/memac.c +++ b/drivers/net/fm/memac.c @@

[U-Boot] [PATCH 1/2] armv8/ls1043a: RGMII PHY requires internal delay on Tx

2017-04-04 Thread Madalin Bucur
Signed-off-by: Madalin Bucur <madalin.bu...@nxp.com> --- drivers/net/fm/ls1043.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/fm/ls1043.c b/drivers/net/fm/ls1043.c index 93ba318..6bb6a71 100644 --- a/drivers/net/fm/ls1043.c +++ b/drivers/net/fm/ls

[U-Boot] [PATCH 2/2] armv8/ls1046a: RGMII PHY requires internal delay on Tx

2017-04-04 Thread Madalin Bucur
Signed-off-by: Madalin Bucur <madalin.bu...@nxp.com> --- drivers/net/fm/ls1046.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/fm/ls1046.c b/drivers/net/fm/ls1046.c index bf4..6c91fb9 100644 --- a/drivers/net/fm/ls1046.c +++ b/drivers/net/fm/ls

[U-Boot] [PATCH 0/2] armv8/ls104xa: add Tx internal delays for the RGMII PHYs

2017-04-04 Thread Madalin Bucur
The RGMII PHYs used by the ls1043ardb/ls1046ardb boards require internal delay on Tx. Changing the fix-up code to reflect this. Madalin Bucur (2): armv8/ls1043a: RGMII PHY requires internal delay on Tx armv8/ls1046a: RGMII PHY requires internal delay on Tx drivers/net/fm/ls1043.c | 4