Skip to content

BCM2711's sdhci-iproc CMD timeouts

Nicolas Saenz Julienne linux-arm-kernel linux-devicetree linux-mmc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dt-bindings: mmc: iproc-sdhci: Convert to json-schemaDocumentation/devicetree/bindings/mmc/brcm,iproc-sdhci.yaml Documentation/devicetree/bindings/mmc/brcm,sdhci-iproc.txt+58 -378 replies
2/4dt-bindings: mmc: iproc-sdhci: Add clock-frequency supportDocumentation/devicetree/bindings/mmc/brcm,iproc-sdhci.yaml+6 -01 reply
3/4mmc: sdhci-iproc: Set clock frequency as per DTdrivers/mmc/host/sdhci-iproc.c+10 -00 replies
4/4ARM: dts: Fix-up EMMC2 controller's frequencyarch/arm/boot/dts/bcm2711-rpi-4-b.dts+6 -013 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/4
2/4R-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] BCM2711's sdhci-iproc CMD timeouts

This series tries to address rather odd behavior from BCM2711's integration of sdhci-iproc (Raspberry Pi 4's SoC). The controller will timeout on SDHCI CMDs under the following conditions:

- No SD card plugged in (the card polling thread is running, CD irq disabled).
- BCM2711's VPU clock configured at 500MHz or more, lower clocks are OK.

There is no specific command that will time out, it seems random.

I found out that by bumping the controller's frequency to 150MHz the issue disapears. So let's do that.

Regards,
Nicolas

---

Nicolas Saenz Julienne (4):
dt-bindings: mmc: iproc-sdhci: Convert to json-schema
dt-bindings: mmc: iproc-sdhci: Add clock-frequency support
mmc: sdhci-iproc: Set clock frequency as per DT
ARM: dts: Fix-up EMMC2 controller's frequency

 .../bindings/mmc/brcm,iproc-sdhci.yaml        | 64 +++++++++++++++++++
 .../bindings/mmc/brcm,sdhci-iproc.txt         | 37 -----------
 arch/arm/boot/dts/bcm2711-rpi-4-b.dts         |  6 ++
 drivers/mmc/host/sdhci-iproc.c                | 10 +++
 4 files changed, 80 insertions(+), 37 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mmc/brcm,iproc-sdhci.yaml
 delete mode 100644 Documentation/devicetree/bindings/mmc/brcm,sdhci-iproc.txt
Signature · 1 line
2.30.2