mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v3 0/4] net: expand gianfar support to ls1021a
@ 2026-02-10 12:52 Renaud Barbier
  2026-02-10 12:52 ` [PATCH v3 1/4] net: gianfar: disable link information Renaud Barbier
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Renaud Barbier @ 2026-02-10 12:52 UTC (permalink / raw)
  To: barebox; +Cc: Renaud Barbier

This patch adds limited support for the Ethernet controller on the NXP
LS1021A:
    * Only one port has been tested i.e enet1.
    * The PHY negotiation has been limited to 100Mbits-FD.

In this version 3, remove code that was meant to make the difference
between the mdio register offset between PPC and ARM if retrieved from
the device tree. However, the PPC platform does not support DTBs and the
mdio offset is already taken into account into the mdio access functions.
Hence, the clean up.

Renaud Barbier (4):
  net: gianfar: disable link information
  gianfar: apply checkpatch recommendations
  net:gianfar: add device tree support
  ARM: ls1021a: initial Ethernet and mdio configuration

 arch/arm/boards/ls1021aiot/board.c       |  35 +++
 arch/arm/configs/layerscape_v7_defconfig |   7 +
 arch/arm/dts/fsl-ls1021a-iot.dts         |  16 ++
 arch/powerpc/include/asm/dma.h           |  34 +++
 drivers/net/Kconfig                      |   2 +-
 drivers/net/gianfar.c                    | 310 ++++++++++++++++++-----
 drivers/net/gianfar.h                    |  32 ++-
 7 files changed, 367 insertions(+), 69 deletions(-)

-- 
2.43.0




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-02-11  9:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-10 12:52 [PATCH v3 0/4] net: expand gianfar support to ls1021a Renaud Barbier
2026-02-10 12:52 ` [PATCH v3 1/4] net: gianfar: disable link information Renaud Barbier
2026-02-10 12:52 ` [PATCH v3 2/4] gianfar: apply checkpatch recommendations Renaud Barbier
2026-02-10 12:52 ` [PATCH v3 3/4] net:gianfar: add device tree support Renaud Barbier
2026-02-10 12:52 ` [PATCH v3 4/4] ARM: ls1021a: initial Ethernet and mdio configuration Renaud Barbier
2026-02-11  9:35 ` [PATCH v3 0/4] net: expand gianfar support to ls1021a Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox