The Agilex5 apperently has a cadence sdhci host controller in version 6. Add support for this version, reworking the original driver significantly.
Tested on Agilex5, sadly HS200-support is currently broken and doesn't work yet with this driver. Signed-off-by: Steffen Trumtrar <[email protected]> --- Steffen Trumtrar (5): mci: cadence: fix typo and actually build dts: include: reset: rst-mgr-s10: add SOFTPYH_RESET mci: sdhci: add sdhci_send_cmd mci: sdhci: add set_uhs_signaling callback mci: cadence: add support for version 6 drivers/mci/Kconfig | 2 +- drivers/mci/Makefile | 1 + drivers/mci/cadence-sdhci.c | 714 +++++++++++------------ drivers/mci/cadence-sdhci.h | 118 ++++ drivers/mci/cadence-sdhci6.c | 373 ++++++++++++ drivers/mci/sdhci.c | 137 ++++- drivers/mci/sdhci.h | 22 + dts/include/dt-bindings/reset/altr,rst-mgr-s10.h | 2 +- include/mci.h | 2 + 9 files changed, 979 insertions(+), 392 deletions(-) --- base-commit: d6f0974673c0e3da00f8d0789d6302a43f3e478d change-id: 20251215-v2025-11-0-topic-socfpga-agilex5-sdhci-8d7de91edc30 Best regards, -- Steffen Trumtrar <[email protected]>
