mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Steffen Trumtrar <s.trumtrar@pengutronix.de>
To: barebox@lists.infradead.org, Sascha Hauer <s.hauer@pengutronix.de>
Cc: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Subject: [PATCH v2 0/6] mci: cadence: add v6 support
Date: Mon, 09 Mar 2026 13:04:32 +0100	[thread overview]
Message-ID: <20260309-v2025-11-0-topic-socfpga-agilex5-sdhci-v2-0-fcc1f327acf8@pengutronix.de> (raw)

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 <s.trumtrar@pengutronix.de>
---
- sdhci_send_cmd: fix return value
- mci_cmd: add mci_data
- mci_cmd: setup mci_data in mci_core
- mci_cmd: remove mci_data from callers
- mci_cmd: split in separate patch
- cadence_sdhci: remove old driver before adding new one
- Link to v1: https://lore.barebox.org/20251215-v2025-11-0-topic-socfpga-agilex5-sdhci-v1-0-11eea1b2ef41@pengutronix.de

---
Steffen Trumtrar (6):
      mci: add data segment to mci_cmd
      mci: sdhci: add sdhci_send_cmd
      mci: sdhci: add set_uhs_signaling callback
      mci: cadence: remove driver
      mci: cadence: add support for version 6
      ARM: socfpga-agilex5_defconfig: enable cadencen-sdhci

 arch/arm/configs/socfpga-agilex5_defconfig |  11 +-
 drivers/mci/Kconfig                        |   2 +-
 drivers/mci/Makefile                       |   1 +
 drivers/mci/am654-sdhci.c                  |   4 +-
 drivers/mci/arasan-sdhci.c                 |   4 +-
 drivers/mci/atmel-sdhci.c                  |   5 +-
 drivers/mci/atmel_mci.c                    |   5 +-
 drivers/mci/atmel_mci_pbl.c                |   5 +-
 drivers/mci/bcm2835-sdhost.c               |   4 +-
 drivers/mci/cadence-sdhci.c                | 713 +++++++++++++----------------
 drivers/mci/cadence-sdhci.h                | 118 +++++
 drivers/mci/cadence-sdhci6.c               | 373 +++++++++++++++
 drivers/mci/dove-sdhci.c                   |   4 +-
 drivers/mci/dw_mmc.c                       |   3 +-
 drivers/mci/dwcmshc-sdhci.c                |   5 +-
 drivers/mci/imx-esdhc.c                    |   5 +-
 drivers/mci/imx.c                          |   4 +-
 drivers/mci/mci-bcm2835.c                  |   5 +-
 drivers/mci/mci-core.c                     | 187 ++++----
 drivers/mci/mci_spi.c                      |   3 +-
 drivers/mci/mmci.c                         |   6 +-
 drivers/mci/mxs.c                          |   7 +-
 drivers/mci/omap_hsmmc.c                   |   5 +-
 drivers/mci/pxamci.c                       |   4 +-
 drivers/mci/rockchip-dwcmshc-sdhci.c       |   4 +-
 drivers/mci/sdhci.c                        | 139 +++++-
 drivers/mci/sdhci.h                        |  22 +
 drivers/mci/stm32_sdmmc2.c                 |   4 +-
 drivers/mci/sunxi-mmc.c                    |   4 +-
 drivers/mci/tegra-sdmmc.c                  |   4 +-
 include/mci.h                              |   6 +-
 31 files changed, 1126 insertions(+), 540 deletions(-)
---
base-commit: 8c9d58cef2c65434e719ccbd3799b23014cb779d
change-id: 20251215-v2025-11-0-topic-socfpga-agilex5-sdhci-8d7de91edc30

Best regards,
-- 
Steffen Trumtrar <s.trumtrar@pengutronix.de>




             reply	other threads:[~2026-03-09 12:05 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-09 12:04 Steffen Trumtrar [this message]
2026-03-09 12:04 ` [PATCH v2 1/6] mci: add data segment to mci_cmd Steffen Trumtrar
2026-03-09 12:04 ` [PATCH v2 2/6] mci: sdhci: add sdhci_send_cmd Steffen Trumtrar
2026-03-09 12:04 ` [PATCH v2 3/6] mci: sdhci: add set_uhs_signaling callback Steffen Trumtrar
2026-03-09 12:04 ` [PATCH v2 4/6] mci: cadence: remove driver Steffen Trumtrar
2026-03-09 12:04 ` [PATCH v2 5/6] mci: cadence: add support for version 6 Steffen Trumtrar
2026-03-09 12:04 ` [PATCH v2 6/6] ARM: socfpga-agilex5_defconfig: enable cadencen-sdhci Steffen Trumtrar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260309-v2025-11-0-topic-socfpga-agilex5-sdhci-v2-0-fcc1f327acf8@pengutronix.de \
    --to=s.trumtrar@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox