mbox series

[v1,0/2] Add driver support for ESWIN eic7700 SoC sdhci controller

Message ID 20250516091259.774-1-dongxuyang@eswincomputing.com
Headers show
Series Add driver support for ESWIN eic7700 SoC sdhci controller | expand

Message

dongxuyang@eswincomputing.com May 16, 2025, 9:12 a.m. UTC
From: Xuyang Dong <dongxuyang@eswincomputing.com>

	Add support for the sdhci-emmc and sdhci-sdio functionality in the Linux
	kernel. The driver provides basic functionality of emmc and sdio for the eic7700
	series chips, which are part of the	Eswin SoC family.

	Features:
	 Implement support for the ESWIN eic7700 SoC sdhci-emmc controller and
	 sdhci-sdio controller. Integrate with the Linux sdhci subsystem for consistency and
	 scalability.

	Supported chips:
	 ESWIN eic7700 series SoC.

	Test:
	 Test this patch on the Sifive HiFive Premier P550 (which uses the EIC7700 SoC),
	 including emmc and sdio peripherals. Perform read, write and erase tests on emmc.
	 Read and write tests after mounting the file system. Verification of kernel support
	 for emmc device. So this verifies that sdhci driver patch is working properly.

Xuyang Dong (2):
  dt-bindings: sdhci: eswin: Documentation for eic7700 SoC
  sdhci: eswin: Add eic7700 sdhci driver

 .../bindings/mmc/eswin,sdhci-eic7700.yaml     |  131 ++
 drivers/mmc/host/Kconfig                      |   47 +
 drivers/mmc/host/Makefile                     |    4 +-
 drivers/mmc/host/sdhci-eic7700.c              |  353 ++++++
 drivers/mmc/host/sdhci-eic7700.h              |  237 ++++
 drivers/mmc/host/sdhci-of-eic7700-sdio.c      |  991 ++++++++++++++++
 drivers/mmc/host/sdhci-of-eic7700.c           | 1053 +++++++++++++++++
 7 files changed, 2816 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/mmc/eswin,sdhci-eic7700.yaml
 create mode 100644 drivers/mmc/host/sdhci-eic7700.c
 create mode 100644 drivers/mmc/host/sdhci-eic7700.h
 create mode 100644 drivers/mmc/host/sdhci-of-eic7700-sdio.c
 create mode 100644 drivers/mmc/host/sdhci-of-eic7700.c

--
2.17.1