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
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
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
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
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
--
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
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
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
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
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
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
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
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
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
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
@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
> 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
>
> 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 ;
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
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
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
-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
[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
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
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
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
> 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 ;
> 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
> 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
> >
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
> 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
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
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
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
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
) 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
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
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
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
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
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
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
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
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
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
> 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
> >
> 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
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
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
) 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
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
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
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
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
) 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
-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
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
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
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
> 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
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
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
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
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
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
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
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
> 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
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
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
> 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
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
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
-
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
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
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
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
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
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
, 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
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
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
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
-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
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
-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
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
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
: 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
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
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 =
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
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
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.
> >
>
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
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
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
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
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
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 - 100 of 158 matches
Mail list logo