[PATCH v2 0/2] net: add support for HiSilicon Fast Ethernet Controller driver

Yang Xiwen via B4 Relay devnull+forbidden405.outlook.com at kernel.org
Sun Aug 13 19:47:30 CEST 2023


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 at 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 at outlook.com>



More information about the U-Boot mailing list