[PATCH 00/14] net: ldpaa_eth: transition to CONFIG_DM_ETH

2020-03-12 Thread Ioana Ciornei
7 [ + ] ldpaa_eth | `-- DPMAC8@xfi mdio 0 [ + ] fsl_ls_mdio |-- mdio@8B96000 mdio 1 [ + ] fsl_ls_mdio `-- mdio@8B97000 Ioana Ciornei (14): drivers: net: add Layerscape mEMAC MDIO driver drivers: net: ldpaa: add supp

[PATCH 01/14] drivers: net: add Layerscape mEMAC MDIO driver

2020-03-12 Thread Ioana Ciornei
Add a driver for the MDIO interface integrated in the mEMAC (Multi-rate Ethernet Media Access Controller) and the Fman 10G Ethernet MACs. Signed-off-by: Ioana Ciornei --- drivers/net/Kconfig | 7 ++ drivers/net/Makefile | 1 + drivers/net/fsl_ls_mdio.c | 158

[PATCH 12/14] configs: ls1088ardb: enable CONFIG_DM_ETH and related

2020-03-12 Thread Ioana Ciornei
Enable CONFIG_DM_ETH and CONFIG_DM_MDIO and related configs for the LS1088ARDB board. Signed-off-by: Ioana Ciornei --- configs/ls1088ardb_qspi_SECURE_BOOT_defconfig| 5 + configs/ls1088ardb_qspi_defconfig| 5 + configs

[PATCH 08/14] arm: dts: ls1088a: add external MDIO nodes

2020-03-12 Thread Ioana Ciornei
Add the External MDIO1 device node found in the WRIOP global memory region. This is needed for management of external PHYs. Signed-off-by: Ioana Ciornei --- arch/arm/dts/fsl-ls1088a.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/dts/fsl-ls1088a.dtsi b/arch

[PATCH 02/14] drivers: net: ldpaa: add support for probing based on the DTS

2020-03-12 Thread Ioana Ciornei
ldpaa_eth driver will support both configurations: with or without CONFIG_DM_ETH enabled. Any 'struct eth_device' occurrence now has a matching 'struct udevice' made mutually exclusive based on the state of CONFIG_DM_ETH. Signed-off-by: Florin Laurentiu Chiculita Signed-off-by: Ioana Ciornei --

[PATCH 03/14] drivers: net: fsl-mc: add support for CONFIG_DM_ETH

2020-03-12 Thread Ioana Ciornei
Make any adjustments necessary in order to support DPAA2 devices probed using CONFIG_DM_ETH. While at it, fixup some styling issues aroung the switch-case statement. Signed-off-by: Ioana Ciornei --- drivers/net/fsl-mc/mc.c | 48 ++--- 1 file changed, 36

[PATCH 04/14] board: ls1088ardb: transition to DM_ETH

2020-03-12 Thread Ioana Ciornei
In case CONFIG_DM_ETH is enabled, no hardcoding is necessary for DPAA2 Ethernet devices. Compile out any unnecessary setup when CONFIG_DM_ETH is activated. Also, force the PCI devices to be enumerated at probe time. Signed-off-by: Ioana Ciornei --- board/freescale/ls1088a/eth_ls1088ardb.c | 2

[PATCH 05/14] board: ls2088ardb: transition to DM_ETH

2020-03-12 Thread Ioana Ciornei
In case CONFIG_DM_ETH is enabled, no hardcoding is necessary for DPAA2 Ethernet devices. Compile out any unnecessary setup when CONFIG_DM_ETH is activated. Also, force the PCI devices to be enumerated at probe time. Signed-off-by: Ioana Ciornei --- board/freescale/ls2080ardb/eth_ls2080rdb.c | 7

[PATCH 06/14] arm: dts: lx2160a: add external MDIO nodes

2020-03-12 Thread Ioana Ciornei
Add the External MDIO device nodes found in the WRIOP global memory region. This is needed for management of external PHYs. Signed-off-by: Ioana Ciornei --- arch/arm/dts/fsl-lx2160a.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/dts/fsl-lx2160a.dtsi b

[PATCH 10/14] arm: dts: ls2088ardb: add DPMAC and PHY nodes

2020-03-12 Thread Ioana Ciornei
to their associated PHY. Signed-off-by: Ioana Ciornei --- arch/arm/dts/fsl-ls2080a.dtsi | 75 +-- arch/arm/dts/fsl-ls2088a-rdb-qspi.dts | 88 +++ 2 files changed, 157 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arch

[PATCH 13/14] configs: ls2088ardb: enable CONFIG_DM_ETH and related

2020-03-12 Thread Ioana Ciornei
Enable CONFIG_DM_ETH and CONFIG_DM_MDIO and related configs for the LS2088ARDB board. Signed-off-by: Ioana Ciornei --- configs/ls2088ardb_qspi_SECURE_BOOT_defconfig | 4 configs/ls2088ardb_qspi_defconfig | 4 configs/ls2088ardb_tfa_SECURE_BOOT_defconfig | 4 configs

[PATCH 09/14] arm: dts: lx2160ardb: add DPMAC and PHY nodes

2020-03-12 Thread Ioana Ciornei
to their associated PHY. Signed-off-by: Ioana Ciornei --- arch/arm/dts/fsl-lx2160a-rdb.dts | 52 arch/arm/dts/fsl-lx2160a.dtsi| 45 +++ 2 files changed, 97 insertions(+) diff --git a/arch/arm/dts/fsl-lx2160a-rdb.dts b/arch/arm/dts/fsl

[PATCH 07/14] arm: dts: ls2088a: add external MDIO nodes

2020-03-12 Thread Ioana Ciornei
Add the External MDIO1 device node found in the WRIOP global memory region. This is needed for management of external PHYs. Signed-off-by: Ioana Ciornei --- arch/arm/dts/fsl-ls2080a.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arch

[PATCH 14/14] configs: lx2160ardb: enable CONFIG_DM_ETH and related

2020-03-12 Thread Ioana Ciornei
Enable CONFIG_DM_ETH and CONFIG_DM_MDIO and related configs for the LX2160ARDB board. Signed-off-by: Ioana Ciornei --- configs/lx2160ardb_tfa_SECURE_BOOT_defconfig | 4 configs/lx2160ardb_tfa_defconfig | 4 2 files changed, 8 insertions(+) diff --git a/configs

[PATCH 11/14] arm: dts: ls1088ardb: add DPMAC and PHY nodes

2020-03-12 Thread Ioana Ciornei
to their associated PHY. Signed-off-by: Ioana Ciornei --- arch/arm/dts/fsl-ls1088a-rdb.dts | 102 +++ arch/arm/dts/fsl-ls1088a.dtsi| 87 -- 2 files changed, 183 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/fsl-ls1088a-rdb.dts b/arch/arm

RE: [PATCH v2 00/14] net: ldpaa_eth: transition to CONFIG_DM_ETH

2020-03-27 Thread Ioana Ciornei
@xfi > eth 7 [ + ] ldpaa_eth | `-- DPMAC8@xfi > mdio 0 [ + ] fsl_ls_mdio |-- mdio@8B96000 > mdio 1 [ + ] fsl_ls_mdio `-- mdio@8B97000 > > Changes in v2: > - used the positive logic (ifdef CONFIG_DM_ETH instead of ifnde

RE: [PATCH 3/6] arm: dts: lx2160aqds: add nodes describing possible mezzanine cards

2020-04-27 Thread Ioana Ciornei
> Subject: RE: [PATCH 3/6] arm: dts: lx2160aqds: add nodes describing possible > mezzanine cards > > >-Original Message- > >From: U-Boot On Behalf Of Ioana Ciornei > >Sent: Wednesday, April 22, 2020 10:39 PM > >To: Priyanka Jain ; u-boot@lists.denx.de >

RE: [PATCH 2/6] arm: dts: lx2160aqds: add MDIO slots

2020-04-27 Thread Ioana Ciornei
> Subject: RE: [PATCH 2/6] arm: dts: lx2160aqds: add MDIO slots > > >-Original Message- > >From: U-Boot On Behalf Of Ioana Ciornei > >Sent: Wednesday, April 22, 2020 10:39 PM > >To: Priyanka Jain ; u-boot@lists.denx.de > >Cc: Alexandru Marginean ;

[PATCH v2 6/6] configs: lx2160aqds_tfa_defconfig: enable DM_ETH and related

2020-04-27 Thread Ioana Ciornei
Enable CONFIG_DM_ETH and CONFIG_DM_MDIO and related configs for the LX2160AQDS board. Signed-off-by: Ioana Ciornei --- Changes in v2: - none configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 8 configs/lx2160aqds_tfa_defconfig | 8 2 files changed, 16 insertions

[PATCH v2 2/6] arm: dts: lx2160aqds: add MDIO slots

2020-04-27 Thread Ioana Ciornei
and 18 are updated to reference the on-board PHYs. Signed-off-by: Ioana Ciornei --- Changes in v2: - reword commit message arch/arm/dts/fsl-lx2160a-qds.dts | 115 ++- 1 file changed, 114 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/fsl-lx2160a-qds.dts b/arch

[PATCH v2 0/6] boards: lx2160aqds: transition to CONFIG_DM_ETH

2020-04-27 Thread Ioana Ciornei
on another series that adds support for DM_ETH in the ldpaa_eth driver and the RDB boards: https://patchwork.ozlabs.org/project/uboot/list/?series=165158 Changes in v2: - reword commit message description Ioana Ciornei (6): arm: dts: lx2160a: add noted for dpmacs 1, 2, 5-6 arm: dts: lx2160aqds

[PATCH v2 3/6] arm: dts: lx2160aqds: add nodes describing possible mezzanine cards

2020-04-27 Thread Ioana Ciornei
-by: Ioana Ciornei --- Changes in v2: - specify which SERDES protocols are supported arch/arm/dts/Makefile| 10 +- arch/arm/dts/fsl-lx2160a-qds-19-11-x.dts | 19 +++ arch/arm/dts/fsl-lx2160a-qds-19-x-x.dts | 17 +++ arch/arm/dts/fsl-lx2160a-qds-20-11-x.dts | 19 +++ arch/arm

RE: [PATCH 3/6] arm: dts: lx2160aqds: add nodes describing possible mezzanine cards

2020-04-27 Thread Ioana Ciornei
[snip] > > >diff --git a/arch/arm/dts/fsl-lx2160a-qds.dtsi > > >b/arch/arm/dts/fsl-lx2160a- qds.dtsi new file mode 100644 index > > >..129cf82a8f37 > > >--- /dev/null > > >+++ b/arch/arm/dts/fsl-lx2160a-qds.dtsi > > > > > > Is there any particular reason of adding dpmac related

[PATCH v2 1/6] arm: dts: lx2160a: add noted for dpmacs 1, 2, 5-6

2020-04-27 Thread Ioana Ciornei
Add nodes for DPMACs 1, 2 and 5-6 which were missing from the description. These will be later used on the LX2160AQDS specific DTS. Signed-off-by: Ioana Ciornei --- Changes in v2: - copyright update - explicitly specify which DPMAC nodes were added arch/arm/dts/fsl-lx2160a.dtsi | 86

[PATCH v2 4/6] board: lx2160aqds: transition to DM_ETH

2020-04-27 Thread Ioana Ciornei
In case CONFIG_DM_ETH is enabled, no hardcoding is necessary for DPAA2 Ethernet devices. Compile out any unnecessary setup when CONFIG_DM_ETH is activated. Also, force the PCI devices to be enumerated at probe time. Signed-off-by: Ioana Ciornei --- Changes in v2: - none board/freescale

[PATCH v2 5/6] board: lx2160aqds: implement board_fit_config_name_match

2020-04-27 Thread Ioana Ciornei
In case CONFIG_DM_ETH and CONFIG_MULTI_DTB_FIT are enabled implement the board_fit_config_name_match() function in order to choose the appropriate DTS for the current SERDES protocol configuration. Signed-off-by: Ioana Ciornei --- Changes in v2: - none board/freescale/lx2160a/eth_lx2160aqds.c

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

2020-04-24 Thread Ioana Ciornei
> Subject: RE: [PATCH 1/6] arm: dts: lx2160a: add any missing dpmac nodes > > > -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 ;

RE: [PATCH v2 04/14] board: ls1088ardb: transition to DM_ETH

2020-04-22 Thread Ioana Ciornei
> Subject: RE: [PATCH v2 04/14] board: ls1088ardb: transition to DM_ETH > > >-Original Message----- > >From: Ioana Ciornei > >Sent: Wednesday, March 18, 2020 8:18 PM > >To: Priyanka Jain ; joe.hershber...@ni.com; u- > >b...@lists.denx.de > >Cc: Flo

RE: [PATCH v2 10/14] arm: dts: ls2088ardb: add DPMAC and PHY nodes

2020-04-22 Thread Ioana Ciornei
> Subject: RE: [PATCH v2 10/14] arm: dts: ls2088ardb: add DPMAC and PHY nodes > > >-Original Message----- > >From: Ioana Ciornei > >Sent: Wednesday, March 18, 2020 8:18 PM > >To: Priyanka Jain ; joe.hershber...@ni.com; u- > >b...@lists.denx.de > >

[PATCH 2/3] board: ls1088aqds: transition to DM_ETH

2020-04-30 Thread Ioana Ciornei
In case CONFIG_DM_ETH is enabled, no hardcoding is necessary for DPAA2 Ethernet devices. Compile out any unnecessary setup when CONFIG_DM_ETH is activated. Also, force the PCI devices to be enumerated at probe time. Signed-off-by: Ioana Ciornei --- board/freescale/ls1088a/eth_ls1088aqds.c | 2

RE: [PATCH] net: fsl-mc: fixup DPC: add /board/ports node if missing

2020-04-30 Thread Ioana Ciornei
> Subject: [PATCH] net: fsl-mc: fixup DPC: add /board/ports node if missing > > The DPC fixup for MAC address and enet_if is not made if /board/ports node is > missing in DPC file. > Add /board/ports or /ports nodes if them are missing. > > Signed-off-by: Razvan Ionut Cirjan

[PATCH 0/3] boards: ls1088aqds: transition to CONFIG_DM_ETH

2020-04-30 Thread Ioana Ciornei
in the ldpaa_eth driver and the RDB boards: https://patchwork.ozlabs.org/project/uboot/list/?series=165158=* For the moment, when CONFIG_DM_ETH is enabled DPAA2 networking is supported only for the SERDES block #1 protocol 21 (0x15) and protocol 29 (0x1d). Ioana Ciornei (3): arm: dts: ls1088aqds: add

[PATCH 3/3] configs: ls1088aqds_tfa_defconfig: enable DM_ETH and related

2020-04-30 Thread Ioana Ciornei
Enable CONFIG_DM_ETH and CONFIG_DM_MDIO and related configs for the LS1088AQDS board. Signed-off-by: Ioana Ciornei --- configs/ls1088aqds_tfa_defconfig | 11 ++- include/configs/ls1088aqds.h | 2 ++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/configs

[PATCH 1/3] arm: dts: ls1088aqds: add CONFIG_MULTI_DTB_FIT support

2020-04-30 Thread Ioana Ciornei
the board_fit_config_name_match() function in order to choose the appropriate DTS. Signed-off-by: Ioana Ciornei --- arch/arm/dts/Makefile| 2 + arch/arm/dts/fsl-ls1088a-qds-21-x.dts| 16 ++ arch/arm/dts/fsl-ls1088a-qds-29-x.dts| 16 ++ arch/arm/dts/fsl-ls1088a-qds

[PATCH 3/3] configs: ls2080aqds_tfa_defconfig: enable DM_ETH and related

2020-04-29 Thread Ioana Ciornei
Enable CONFIG_DM_ETH and CONFIG_DM_MDIO and related configs for the LS2080AQDS board. Signed-off-by: Ioana Ciornei --- configs/ls2088aqds_tfa_defconfig | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/configs/ls2088aqds_tfa_defconfig b/configs

[PATCH 2/3] arm: dts: ls2080aqds: add CONFIG_MULTI_DTB_FIT support

2020-04-29 Thread Ioana Ciornei
) on SD#1. Also, in case CONFIG_DM_ETH and CONFIG_MULTI_DTB_FIT are enabled implement the board_fit_config_name_match() function in order to choose the appropriate DTS. Signed-off-by: Ioana Ciornei --- arch/arm/dts/Makefile| 1 + arch/arm/dts/fsl-ls2080a-qds-42-x.dts| 16

[PATCH 1/3] board: ls2080aqds: transition to DM_ETH

2020-04-29 Thread Ioana Ciornei
In case CONFIG_DM_ETH is enabled, no hardcoding is necessary for DPAA2 Ethernet devices. Compile out any unnecessary setup when CONFIG_DM_ETH is activated. Also, force the PCI devices to be enumerated at probe time. Signed-off-by: Ioana Ciornei --- board/freescale/ls2080aqds/eth.c| 13

[PATCH 0/3] boards: ls2080aqds: transition to CONFIG_DM_ETH

2020-04-29 Thread Ioana Ciornei
in the ldpaa_eth driver and the RDB boards: https://patchwork.ozlabs.org/project/uboot/list/?series=165158=* For the moment, when CONFIG_DM_ETH is enabled DPAA2 networking is supported only for the SERDES block #1 protocol 42 (0x2a). Ioana Ciornei (3): board: ls2080aqds: transition to DM_ETH arm

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

2020-04-22 Thread Ioana Ciornei
Add the remaining DPMAC nodes in the LX2160A base dtsi. These will be later used on the LX2160AQDS specific DTS. Signed-off-by: Ioana Ciornei --- arch/arm/dts/fsl-lx2160a.dtsi | 86 ++- 1 file changed, 85 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts

[PATCH 0/6] boards: lx2160aqds: transition to CONFIG_DM_ETH

2020-04-22 Thread Ioana Ciornei
on another series that adds support for DM_ETH in the ldpaa_eth driver and the RDB boards: https://patchwork.ozlabs.org/project/uboot/list/?series=165158 Ioana Ciornei (6): arm: dts: lx2160a: add any missing dpmac nodes arm: dts: lx2160aqds: add MDIO slots arm: dts: lx2160aqds: add nodes

[PATCH 2/6] arm: dts: lx2160aqds: add MDIO slots

2020-04-22 Thread Ioana Ciornei
of the external MDIOs. Describe register 0x54 of the Qixis FPGA as a MDIO mux controlled over i2c and add its child MDIO busses describing the IO SLOTs. Signed-off-by: Ioana Ciornei --- arch/arm/dts/fsl-lx2160a-qds.dts | 115 ++- 1 file changed, 114 insertions(+), 1 deletion

[PATCH 4/6] board: lx2160aqds: transition to DM_ETH

2020-04-22 Thread Ioana Ciornei
In case CONFIG_DM_ETH is enabled, no hardcoding is necessary for DPAA2 Ethernet devices. Compile out any unnecessary setup when CONFIG_DM_ETH is activated. Also, force the PCI devices to be enumerated at probe time. Signed-off-by: Ioana Ciornei --- board/freescale/lx2160a/eth_lx2160aqds.c | 12

[PATCH 5/6] board: lx2160aqds: implement board_fit_config_name_match

2020-04-22 Thread Ioana Ciornei
In case CONFIG_DM_ETH and CONFIG_MULTI_DTB_FIT are enabled implement the board_fit_config_name_match() function in order to choose the appropriate DTS for the current SERDES protocol configuration. Signed-off-by: Ioana Ciornei --- board/freescale/lx2160a/eth_lx2160aqds.c | 109

[PATCH 6/6] configs: lx2160aqds_tfa_defconfig: enable DM_ETH and related

2020-04-22 Thread Ioana Ciornei
Enable CONFIG_DM_ETH and CONFIG_DM_MDIO and related configs for the LX2160AQDS board. Signed-off-by: Ioana Ciornei --- configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 8 configs/lx2160aqds_tfa_defconfig | 8 2 files changed, 16 insertions(+) diff --git a/configs

[PATCH 3/6] arm: dts: lx2160aqds: add nodes describing possible mezzanine cards

2020-04-22 Thread Ioana Ciornei
are edited and their associated phy-connection-type and phy-handle are added. Top DTS files are also added for each combination of protocol on the 3 SERDES blocks. Signed-off-by: Ioana Ciornei --- arch/arm/dts/Makefile| 10 +- arch/arm/dts/fsl-lx2160a-qds-19-11-x.dts | 19 +++ arch

RE: [PATCH 3/3] configs: ls2080aqds_tfa_defconfig: enable DM_ETH and related

2020-05-12 Thread Ioana Ciornei
> Subject: RE: [PATCH 3/3] configs: ls2080aqds_tfa_defconfig: enable DM_ETH > and related > > >-Original Message- > >From: U-Boot On Behalf Of Ioana Ciornei > >Sent: Wednesday, April 29, 2020 4:03 PM > >To: u-boot@lists.denx.de; Priyanka Jain > >

RE: [PATCH v2 1/3] board: ls2080aqds: transition to DM_ETH

2020-05-18 Thread Ioana Ciornei
> Subject: RE: [PATCH v2 1/3] board: ls2080aqds: transition to DM_ETH > > >-Original Message----- > >From: Ioana Ciornei > >Sent: Friday, May 15, 2020 12:27 PM > >To: Priyanka Jain ; u-boot@lists.denx.de > >Cc: Ioana Ciornei > >Subject: [P

[PATCH v3 1/3] board: ls2080aqds: transition to DM_ETH

2020-05-18 Thread Ioana Ciornei
In case CONFIG_DM_ETH is enabled, no hardcoding is necessary for DPAA2 Ethernet devices. Compile out any unnecessary setup when CONFIG_DM_ETH is activated. Also, force the PCI devices to be enumerated at probe time. Signed-off-by: Ioana Ciornei --- Changes in v3: - fixed a build warning

[PATCH v3 0/3] boards: ls2080aqds: transition to CONFIG_DM_ETH

2020-05-18 Thread Ioana Ciornei
in v3: - fixed a build warning in patch 1/3 Ioana Ciornei (3): board: ls2080aqds: transition to DM_ETH arm: dts: ls2080aqds: add CONFIG_MULTI_DTB_FIT support configs: ls2080aqds_tfa_defconfig: enable DM_ETH and related arch/arm/dts/Makefile| 1 + arch/arm/dts/fsl-ls2080a

[PATCH v3 2/3] arm: dts: ls2080aqds: add CONFIG_MULTI_DTB_FIT support

2020-05-18 Thread Ioana Ciornei
) on SD#1. Also, in case CONFIG_DM_ETH and CONFIG_MULTI_DTB_FIT are enabled implement the board_fit_config_name_match() function in order to choose the appropriate DTS. Signed-off-by: Ioana Ciornei --- Changes in v3: - none arch/arm/dts/Makefile| 1 + arch/arm/dts/fsl-ls2080a

[PATCH v3 3/3] configs: ls2080aqds_tfa_defconfig: enable DM_ETH and related

2020-05-18 Thread Ioana Ciornei
Enable CONFIG_DM_ETH and CONFIG_DM_MDIO and related configs for the LS2080AQDS board. Signed-off-by: Ioana Ciornei --- Changes in v3: - none configs/ls2088aqds_tfa_defconfig | 8 1 file changed, 8 insertions(+) diff --git a/configs/ls2088aqds_tfa_defconfig b/configs

[PATCH v2 3/3] configs: ls2080aqds_tfa_defconfig: enable DM_ETH and related

2020-05-15 Thread Ioana Ciornei
Enable CONFIG_DM_ETH and CONFIG_DM_MDIO and related configs for the LS2080AQDS board. Signed-off-by: Ioana Ciornei --- configs/ls2088aqds_tfa_defconfig | 8 1 file changed, 8 insertions(+) diff --git a/configs/ls2088aqds_tfa_defconfig b/configs/ls2088aqds_tfa_defconfig index

[PATCH v2 1/3] arm: dts: ls1088aqds: add CONFIG_MULTI_DTB_FIT support

2020-05-15 Thread Ioana Ciornei
the board_fit_config_name_match() function in order to choose the appropriate DTS. Signed-off-by: Ioana Ciornei --- arch/arm/dts/Makefile| 2 + arch/arm/dts/fsl-ls1088a-qds-21-x.dts| 16 ++ arch/arm/dts/fsl-ls1088a-qds-29-x.dts| 16 ++ arch/arm/dts/fsl-ls1088a-qds

[PATCH v2 1/3] board: ls2080aqds: transition to DM_ETH

2020-05-15 Thread Ioana Ciornei
In case CONFIG_DM_ETH is enabled, no hardcoding is necessary for DPAA2 Ethernet devices. Compile out any unnecessary setup when CONFIG_DM_ETH is activated. Also, force the PCI devices to be enumerated at probe time. Signed-off-by: Ioana Ciornei --- board/freescale/ls2080aqds/eth.c| 13

[PATCH v2 2/3] arm: dts: ls2080aqds: add CONFIG_MULTI_DTB_FIT support

2020-05-15 Thread Ioana Ciornei
) on SD#1. Also, in case CONFIG_DM_ETH and CONFIG_MULTI_DTB_FIT are enabled implement the board_fit_config_name_match() function in order to choose the appropriate DTS. Signed-off-by: Ioana Ciornei --- arch/arm/dts/Makefile| 1 + arch/arm/dts/fsl-ls2080a-qds-42-x.dts| 16

[PATCH v2 0/3] boards: ls1088aqds: transition to CONFIG_DM_ETH

2020-05-15 Thread Ioana Ciornei
-qoriq/next Ioana Ciornei (3): arm: dts: ls1088aqds: add CONFIG_MULTI_DTB_FIT support board: ls1088aqds: transition to DM_ETH configs: ls1088aqds_tfa_defconfig: enable DM_ETH and related arch/arm/dts/Makefile| 2 + arch/arm/dts/fsl-ls1088a-qds-21-x.dts| 16 ++ arch

[PATCH v2 3/3] configs: ls1088aqds_tfa_defconfig: enable DM_ETH and related

2020-05-15 Thread Ioana Ciornei
Enable CONFIG_DM_ETH and CONFIG_DM_MDIO and related configs for the LS1088AQDS board. Signed-off-by: Ioana Ciornei --- configs/ls1088aqds_tfa_defconfig | 8 1 file changed, 8 insertions(+) diff --git a/configs/ls1088aqds_tfa_defconfig b/configs/ls1088aqds_tfa_defconfig index

[PATCH v2 0/3] boards: ls2080aqds: transition to CONFIG_DM_ETH

2020-05-15 Thread Ioana Ciornei
in the ldpaa_eth driver and the RDB boards: https://patchwork.ozlabs.org/project/uboot/list/?series=165158=* For the moment, when CONFIG_DM_ETH is enabled DPAA2 networking is supported only for the SERDES block #1 protocol 42 (0x2a). Changes in v2: - rebased on top of u-boot-fsl-qoriq/next Ioana

[PATCH v2 2/3] board: ls1088aqds: transition to DM_ETH

2020-05-15 Thread Ioana Ciornei
In case CONFIG_DM_ETH is enabled, no hardcoding is necessary for DPAA2 Ethernet devices. Compile out any unnecessary setup when CONFIG_DM_ETH is activated. Also, force the PCI devices to be enumerated at probe time. Signed-off-by: Ioana Ciornei --- board/freescale/ls1088a/eth_ls1088aqds.c | 2

RE: [PATCH 01/14] drivers: net: add Layerscape mEMAC MDIO driver

2020-03-18 Thread Ioana Ciornei
> Subject: Re: [PATCH 01/14] drivers: net: add Layerscape mEMAC MDIO driver > > On Thu, Mar 12, 2020 at 11:24 AM Ioana Ciornei > wrote: > > > > Add a driver for the MDIO interface integrated in the mEMAC > > (Multi-rate Ethernet Media Access Controller) an

[PATCH v2 13/14] configs: ls2088ardb: enable CONFIG_DM_ETH and related

2020-03-18 Thread Ioana Ciornei
Enable CONFIG_DM_ETH and CONFIG_DM_MDIO and related configs for the LS2088ARDB board. Signed-off-by: Ioana Ciornei --- Changes in v2: - none configs/ls2088ardb_qspi_SECURE_BOOT_defconfig | 4 configs/ls2088ardb_qspi_defconfig | 4 configs

[PATCH v2 12/14] configs: ls1088ardb: enable CONFIG_DM_ETH and related

2020-03-18 Thread Ioana Ciornei
Enable CONFIG_DM_ETH and CONFIG_DM_MDIO and related configs for the LS1088ARDB board. Signed-off-by: Ioana Ciornei --- Changes in v2: - none configs/ls1088ardb_qspi_SECURE_BOOT_defconfig| 5 + configs/ls1088ardb_qspi_defconfig| 5 + configs

[PATCH v2 10/14] arm: dts: ls2088ardb: add DPMAC and PHY nodes

2020-03-18 Thread Ioana Ciornei
to their associated PHY. Signed-off-by: Ioana Ciornei --- Changes in v2: - none arch/arm/dts/fsl-ls2080a.dtsi | 75 +-- arch/arm/dts/fsl-ls2088a-rdb-qspi.dts | 88 +++ 2 files changed, 157 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts

[PATCH v2 08/14] arm: dts: ls1088a: add external MDIO nodes

2020-03-18 Thread Ioana Ciornei
Add the External MDIO1 device node found in the WRIOP global memory region. This is needed for management of external PHYs. Signed-off-by: Ioana Ciornei --- Changes in v2: - none arch/arm/dts/fsl-ls1088a.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/dts

[PATCH v2 11/14] arm: dts: ls1088ardb: add DPMAC and PHY nodes

2020-03-18 Thread Ioana Ciornei
to their associated PHY. Signed-off-by: Ioana Ciornei --- Changes in v2: - none arch/arm/dts/fsl-ls1088a-rdb.dts | 102 +++ arch/arm/dts/fsl-ls1088a.dtsi| 87 -- 2 files changed, 183 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/fsl

[PATCH v2 03/14] drivers: net: fsl-mc: add support for CONFIG_DM_ETH

2020-03-18 Thread Ioana Ciornei
Make any adjustments necessary in order to support DPAA2 devices probed using CONFIG_DM_ETH. While at it, fixup some styling issues aroung the switch-case statement. Signed-off-by: Ioana Ciornei --- Changes in v2: - none drivers/net/fsl-mc/mc.c | 48

[PATCH v2 06/14] arm: dts: lx2160a: add external MDIO nodes

2020-03-18 Thread Ioana Ciornei
Add the External MDIO device nodes found in the WRIOP global memory region. This is needed for management of external PHYs. Signed-off-by: Ioana Ciornei --- Changes in v2: - none arch/arm/dts/fsl-lx2160a.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm

RE: [PATCH 01/14] drivers: net: add Layerscape mEMAC MDIO driver

2020-03-18 Thread Ioana Ciornei
> Subject: RE: [PATCH 01/14] drivers: net: add Layerscape mEMAC MDIO driver > > >-Original Message- > >From: U-Boot On Behalf Of Ioana Ciornei > >Sent: Thursday, March 12, 2020 9:36 PM > >To: Priyanka Jain ; joe.hershber...@ni.com; u- > >b...@l

[PATCH v2 09/14] arm: dts: lx2160ardb: add DPMAC and PHY nodes

2020-03-18 Thread Ioana Ciornei
to their associated PHY. Signed-off-by: Ioana Ciornei --- Changes in v2: - none arch/arm/dts/fsl-lx2160a-rdb.dts | 52 arch/arm/dts/fsl-lx2160a.dtsi| 45 +++ 2 files changed, 97 insertions(+) diff --git a/arch/arm/dts/fsl-lx2160a

[PATCH v2 14/14] configs: lx2160ardb: enable CONFIG_DM_ETH and related

2020-03-18 Thread Ioana Ciornei
Enable CONFIG_DM_ETH and CONFIG_DM_MDIO and related configs for the LX2160ARDB board. Signed-off-by: Ioana Ciornei --- Changes in v2: - none configs/lx2160ardb_tfa_SECURE_BOOT_defconfig | 4 configs/lx2160ardb_tfa_defconfig | 4 2 files changed, 8 insertions(+) diff

RE: [PATCH 02/14] drivers: net: ldpaa: add support for probing based on the DTS

2020-03-18 Thread Ioana Ciornei
> Subject: Re: [PATCH 02/14] drivers: net: ldpaa: add support for probing based > on > the DTS > > On Thu, Mar 12, 2020 at 11:26 AM Ioana Ciornei > wrote: > > > > When CONFIG_DM_ETH is enabled DPAA2 network interfaces will now probe > > based on DT

[PATCH v2 05/14] board: ls2088ardb: transition to DM_ETH

2020-03-18 Thread Ioana Ciornei
In case CONFIG_DM_ETH is enabled, no hardcoding is necessary for DPAA2 Ethernet devices. Compile out any unnecessary setup when CONFIG_DM_ETH is activated. Also, force the PCI devices to be enumerated at probe time. Signed-off-by: Ioana Ciornei --- Changes in v2: - used the positive logic

[PATCH v2 02/14] drivers: net: ldpaa: add support for probing based on the DTS

2020-03-18 Thread Ioana Ciornei
ldpaa_eth driver will support both configurations: with or without CONFIG_DM_ETH enabled. Any 'struct eth_device' occurrence now has a matching 'struct udevice' made mutually exclusive based on the state of CONFIG_DM_ETH. Signed-off-by: Florin Laurentiu Chiculita Signed-off-by: Ioana Ciornei -

[PATCH v2 01/14] drivers: net: add Layerscape mEMAC MDIO driver

2020-03-18 Thread Ioana Ciornei
Add a driver for the MDIO interface integrated in the mEMAC (Multi-rate Ethernet Media Access Controller) and the Fman 10G Ethernet MACs. Signed-off-by: Ioana Ciornei --- Changes in v2: - refactor the mdio read/write code for code reuse drivers/net/Kconfig | 7 ++ drivers/net/Makefile

[PATCH v2 07/14] arm: dts: ls2088a: add external MDIO nodes

2020-03-18 Thread Ioana Ciornei
Add the External MDIO1 device node found in the WRIOP global memory region. This is needed for management of external PHYs. Signed-off-by: Ioana Ciornei --- Changes in v2: - none arch/arm/dts/fsl-ls2080a.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/dts

[PATCH v2 04/14] board: ls1088ardb: transition to DM_ETH

2020-03-18 Thread Ioana Ciornei
In case CONFIG_DM_ETH is enabled, no hardcoding is necessary for DPAA2 Ethernet devices. Compile out any unnecessary setup when CONFIG_DM_ETH is activated. Also, force the PCI devices to be enumerated at probe time. Signed-off-by: Ioana Ciornei --- Changes in v2: - none board/freescale

[PATCH v2 00/14] net: ldpaa_eth: transition to CONFIG_DM_ETH

2020-03-18 Thread Ioana Ciornei
ite code for code reuse Ioana Ciornei (14): drivers: net: add Layerscape mEMAC MDIO driver drivers: net: ldpaa: add support for probing based on the DTS drivers: net: fsl-mc: add support for CONFIG_DM_ETH board: ls1088ardb: transition to DM_ETH board: ls2088ardb: transition to DM_ETH

[PATCH] drivers: net: ldpaa_eth: lx2160a: fix bug in checking if a DPMAC is enabled

2020-09-10 Thread Ioana Ciornei
From: Grigore Popescu The next DPMAC was always verified if it is enabled. In case of DPMAC@6, the DPMAC@7 is verified. As DPMAC@7 is disabled, DPMAC@6 will be considered disabled and not detected by uboot. Signed-off-by: Grigore Popescu Signed-off-by: Ioana Ciornei --- drivers/net

[PATCH] configs: ls1088a: enable CMD_MDIO

2020-10-20 Thread Ioana Ciornei
Enable the CMD_MDIO Kconfig option by removing the "is not set" indication from all the defconfigs for this SoC. Signed-off-by: Ioana Ciornei --- configs/ls1088aqds_qspi_SECURE_BOOT_defconfig| 1 - configs/ls1088aqds_qspi_defconfig| 1

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

2020-12-09 Thread Ioana Ciornei
, the execution is stuck in an infinite loop when any access is initiated on that external bus. Add a timeout in the driver so that we are protected in this circumstance. This is similar to what is being done in the Linux xgmac_mdio driver. Signed-off-by: Ioana Ciornei --- drivers/net/fm/memac_phy.c

[PATCH v2 3/4] board: fsl: lx2160ardb: add dts fixup function for RevC

2021-04-26 Thread Ioana Ciornei
of the kernel DTS to properly match the actual PHY addresses. All this is encapsulated in the fdt_fixup_board_phy_revc() function which will be used in the next patch. Signed-off-by: Florin Chiculita Signed-off-by: Ioana Ciornei --- board/freescale/lx2160a/eth_lx2160ardb.c | 106

[PATCH v2 1/4] board: fsl: lx2160ardb: add api for obtaining board revision

2021-04-26 Thread Ioana Ciornei
From: Florin Chiculita Add new API for obtaining board revision and trigger the i2c node fixup with this new API. Signed-off-by: Florin Chiculita Signed-off-by: Ioana Ciornei --- board/freescale/lx2160a/lx2160a.c | 13 ++--- board/freescale/lx2160a/lx2160a.h | 6 +- 2 files

[PATCH v2 4/4] board: fsl: lx2160ardb: add dts fixup for RevC

2021-04-26 Thread Ioana Ciornei
Use the newly fdt_fixup_board_phy_revc() function introduced to updated both kernel's DTS and u-boot's DTS in case we are running with DM_ETH. Signed-off-by: Ioana Ciornei Signed-off-by: Florin Chiculita --- board/freescale/lx2160a/eth_lx2160ardb.c | 2 +- board/freescale/lx2160a/lx2160a.c

[PATCH v2 2/4] board: fsl: lx2160ardb: add support for lx2160ardb revC board

2021-04-26 Thread Ioana Ciornei
-by: Ioana Ciornei --- board/freescale/lx2160a/eth_lx2160ardb.c | 52 +++- include/configs/lx2160ardb.h | 5 ++- 2 files changed, 55 insertions(+), 2 deletions(-) diff --git a/board/freescale/lx2160a/eth_lx2160ardb.c b/board/freescale/lx2160a/eth_lx2160ardb.c index

[PATCH v2 0/4] board: fsl: lx2160ardb: add networking support for RevC

2021-04-26 Thread Ioana Ciornei
board revision board: fsl: lx2160ardb: add support for lx2160ardb revC board board: fsl: lx2160ardb: add dts fixup function for RevC Ioana Ciornei (1): board: fsl: lx2160ardb: add dts fixup for RevC board/freescale/lx2160a/eth_lx2160ardb.c | 160 ++- board/freescale

[PATCH 2/4] board: fsl: lx2160ardb: add support for lx2160ardb revC board

2021-04-21 Thread Ioana Ciornei
-by: Ioana Ciornei --- board/freescale/lx2160a/eth_lx2160ardb.c | 50 include/configs/lx2160ardb.h | 6 ++- 2 files changed, 55 insertions(+), 1 deletion(-) diff --git a/board/freescale/lx2160a/eth_lx2160ardb.c b/board/freescale/lx2160a/eth_lx2160ardb.c index

[PATCH 3/4] board: fsl: lx2160ardb: add dts fixup function for RevC

2021-04-21 Thread Ioana Ciornei
of the kernel DTS to properly match the actual PHY addresses. All this is encapsulated in the fdt_fixup_board_phy_revc() function which will be used in the next patch. Signed-off-by: Florin Chiculita Signed-off-by: Ioana Ciornei --- board/freescale/lx2160a/eth_lx2160ardb.c | 106

[PATCH 1/4] board: fsl: lx2160ardb: add api for obtaining board revision

2021-04-21 Thread Ioana Ciornei
From: Florin Chiculita Add new API for obtaining board revision and trigger the i2c node fixup with this new API. Signed-off-by: Florin Chiculita Signed-off-by: Ioana Ciornei --- board/freescale/lx2160a/lx2160a.c | 13 ++--- board/freescale/lx2160a/lx2160a.h | 4 2 files

[PATCH 0/4] board: fsl: lx2160ardb: add networking support for RevC

2021-04-21 Thread Ioana Ciornei
: fsl: lx2160ardb: add dts fixup function for RevC Ioana Ciornei (1): board: fsl: lx2160ardb: add dts fixup for RevC board/freescale/lx2160a/eth_lx2160ardb.c | 158 ++- board/freescale/lx2160a/lx2160a.c| 21 ++- board/freescale/lx2160a/lx2160a.h| 5 + include

[PATCH 4/4] board: fsl: lx2160ardb: add dts fixup for RevC

2021-04-21 Thread Ioana Ciornei
Use the newly fdt_fixup_board_phy_revc() function introduced to updated both kernel's DTS and u-boot's DTS in case we are running with DM_ETH. Signed-off-by: Ioana Ciornei Signed-off-by: Florin Chiculita --- board/freescale/lx2160a/eth_lx2160ardb.c | 2 +- board/freescale/lx2160a/lx2160a.c

Re: [PATCH] drivers: net: fsl-mc: add a command which dumps the MC log

2021-10-07 Thread Ioana Ciornei
On Fri, Oct 01, 2021 at 12:01:07PM +0300, Cosmin-Florin Aluchenesei wrote: > +static void mc_dump_log(void) > +{ > + struct mc_ccsr_registers __iomem *mc_ccsr_regs = MC_CCSR_BASE_ADDR; > + u64 high = in_le64(_ccsr_regs->reg_mcfbahr) & MC_FW_ADDR_MASK_HIGH; > + u64 low =

Re: [PATCH v2] drivers: net: fsl-mc: add a command which dumps the MC log

2021-10-07 Thread Ioana Ciornei
email client so that you can respond inline next time. > -Original Message- > From: Aluchenesei Cosmin-florin > Sent: Thursday, October 7, 2021 1:08 PM > To: joe.hershber...@ni.com; rfried@gmail.com; Priyanka Jain > > Cc: Ioana Ciornei ; u-boot@lists.denx.de; Aluc

Re: [PATCH] net: fsl_mdio: Fix busy flag polling register

2022-01-04 Thread Ioana Ciornei
On Sun, Jan 02, 2022 at 06:34:18PM +0100, Markus Koch wrote: > NXP's mEMAC reference manual, Chapter 6.5.5 "MDIO Ethernet Management > Interface usage", specifies to poll the BSY (0) bit in the CFG (we call > it CTL) register to wait until a transaction has finished, not bit 31 in > the data

Re: [PATCH 1/7] drivers: net: fsl-mc: remove useless assignment of variable

2023-01-12 Thread Ioana Ciornei
On Tue, Jan 10, 2023 at 07:04:00PM +0200, Ramon Fried wrote: > On Thu, Jan 5, 2023 at 5:03 PM Ioana Ciornei wrote: > > > > The cur_ptr variable is set to the start of the log buffer but then it's > > not used. Just remove the assignment altogether. > > >

[PATCH 0/7] drivers: net: fsl-mc: cleanup coding style

2023-01-05 Thread Ioana Ciornei
of the checkpatch warnings. Ioana Ciornei (7): drivers: net: fsl-mc: remove useless assignment of variable drivers: net: fsl-mc: remove an useless break statement drivers: net: fsl-mc: do not prefix decimal values with 0x drivers: net: fsl-mc: remove the initialisation of global variables

[PATCH 1/7] drivers: net: fsl-mc: remove useless assignment of variable

2023-01-05 Thread Ioana Ciornei
The cur_ptr variable is set to the start of the log buffer but then it's not used. Just remove the assignment altogether. Signed-off-by: Ioana Ciornei --- drivers/net/fsl-mc/mc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/fsl-mc/mc.c b/drivers/net/fsl-mc/mc.c index

[PATCH 2/7] drivers: net: fsl-mc: remove an useless break statement

2023-01-05 Thread Ioana Ciornei
The break statement is just after a goto statement, thus it will not get executed. Just remove it. Signed-off-by: Ioana Ciornei --- drivers/net/fsl-mc/mc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/fsl-mc/mc.c b/drivers/net/fsl-mc/mc.c index 66fcb48ebd55..180e57e42266

[PATCH 3/7] drivers: net: fsl-mc: do not prefix decimal values with 0x

2023-01-05 Thread Ioana Ciornei
The fsl-mc driver printed debug information which used the 0x prefix for decimal values. This only confuses anyone looking through the log. Because of this, just remove the prefix and use the "DPXY." notation which is the standard one for the DPAA2 objects. Signed-off-by: Ioa

[PATCH 7/7] drivers: net: fsl-mc: do not use multiple blank lines

2023-01-05 Thread Ioana Ciornei
Remove the instances in which we have multiple blank lines. Signed-off-by: Ioana Ciornei --- drivers/net/fsl-mc/mc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/fsl-mc/mc.c b/drivers/net/fsl-mc/mc.c index 531835fbd503..f78f070aec1c 100644 --- a/drivers/net/fsl-mc/mc.c +++ b

[PATCH 5/7] drivers: net: fsl-mc: remove explicit cast

2023-01-05 Thread Ioana Ciornei
Remove all the explicit casts from the void* returned by calloc. With this we also improve a bit the length of those lines and there is no need to split the assignment. Signed-off-by: Ioana Ciornei --- drivers/net/fsl-mc/mc.c | 13 + 1 file changed, 5 insertions(+), 8 deletions

  1   2   >