U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND v2 0/2] net: add support for HiSilicon Fast Ethernet Controller driver
@ 2023-08-22 17:03 Yang Xiwen via B4 Relay
  2023-08-22 17:03 ` [PATCH RESEND v2 1/2] net: add hifemac Ethernet driver for HiSilicon platform Yang Xiwen via B4 Relay
  2023-08-22 17:03 ` [PATCH RESEND v2 2/2] net: add hifemac_mdio MDIO bus " Yang Xiwen via B4 Relay
  0 siblings, 2 replies; 5+ messages in thread
From: Yang Xiwen via B4 Relay @ 2023-08-22 17:03 UTC (permalink / raw)
  To: Joe Hershberger, Ramon Fried
  Cc: Yisen Zhuang, Salil Mehta, David Yang, u-boot, Yang Xiwen

This core is found on many HiSilicon chips. This patchset adds support
for it and the integrated MDIO bus.

The driver code comes from linux kernel driver, downstream u-boot driver
and the datasheet. It's already tested on a Hi3798MV200 based STB.

Note that currently this driver can't be used for Hi3798MV200 since the
clock driver is missing. I will implement and submit the clock driver
and the framework in a later patchset.

Signed-off-by: Yang Xiwen <forbidden405@outlook.com>
---
Changes in v2:
- hisi_femac: clear previous irq before sending
- Link to v1: https://lore.kernel.org/r/20230725-wip-hisi_femac-trunk-v1-0-88469a170310@outlook.com

---
Yang Xiwen (2):
      net: add hifemac Ethernet driver for HiSilicon platform
      net: add hifemac_mdio MDIO bus driver for HiSilicon platform

 drivers/net/Kconfig        |  17 ++
 drivers/net/Makefile       |   2 +
 drivers/net/hifemac.c      | 481 +++++++++++++++++++++++++++++++++++++++++++++
 drivers/net/hifemac_mdio.c | 116 +++++++++++
 4 files changed, 616 insertions(+)
---
base-commit: 580eb31199be8a822e62f20965854a242f895d03
change-id: 20230724-wip-hisi_femac-trunk-1f57f0986f0c

Best regards,
-- 
Yang Xiwen <forbidden405@outlook.com>


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

end of thread, other threads:[~2023-11-06 16:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-22 17:03 [PATCH RESEND v2 0/2] net: add support for HiSilicon Fast Ethernet Controller driver Yang Xiwen via B4 Relay
2023-08-22 17:03 ` [PATCH RESEND v2 1/2] net: add hifemac Ethernet driver for HiSilicon platform Yang Xiwen via B4 Relay
2023-11-06 16:33   ` Tom Rini
2023-08-22 17:03 ` [PATCH RESEND v2 2/2] net: add hifemac_mdio MDIO bus " Yang Xiwen via B4 Relay
2023-11-06 16:33   ` Tom Rini

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