[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210406104802.20898-1-nsaenz@kernel.org>
Date: Tue, 6 Apr 2021 12:47:59 +0200
From: Nicolas Saenz Julienne <nsaenz@...nel.org>
To: linux-arm-kernel@...ts.infradead.org, linux-mmc@...r.kernel.org,
devicetree@...r.kernel.org, bcm-kernel-feedback-list@...adcom.com,
linux-rpi-kernel@...ts.infradead.org,
Ray Jui <ray.jui@...adcom.com>,
Scott Branden <scott.branden@...adcom.com>,
Saenz Julienne <nsaenz@...nel.org>,
Ulf Hansson <ulf.hansson@...aro.org>,
Stefan Wahren <wahrenst@....net>,
Matthias Brugger <mbrugger@...e.com>
Cc: f.fainelli@...il.com, phil@...pberrypi.com,
tim.gover@...pberrypi.com, adrian.hunter@...el.com,
sbranden@...adcom.com, alcooperx@...il.com, nsaenzjulienne@...e.de,
linux-kernel@...r.kernel.org, robh@...nel.org,
stefan.wahren@...e.com
Subject: [PATCH 0/3] BCM2711 sdhci-iproc improvements
This is a follow-up series to "BCM2711's sdhci-iproc CMD timeouts"[1],
but since much most of the patches changed I decided to start counting
patch revisions from scratch.
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.
As an extra to this I also include a small fix, and convert the
controller's bindings to yaml.
Regards,
Nicolas
[1] https://lore.kernel.org/linux-mmc/20210322185816.27582-1-nsaenz@kernel.org/
---
Nicolas Saenz Julienne (3):
dt-bindings: mmc: iproc-sdhci: Convert to json-schema
mmc: sdhci-iproc: Cap min clock frequency on BCM2711
mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711
.../bindings/mmc/brcm,iproc-sdhci.yaml | 63 +++++++++++++++++++
.../bindings/mmc/brcm,sdhci-iproc.txt | 37 -----------
drivers/mmc/host/sdhci-iproc.c | 21 ++++++-
3 files changed, 83 insertions(+), 38 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mmc/brcm,iproc-sdhci.yaml
delete mode 100644 Documentation/devicetree/bindings/mmc/brcm,sdhci-iproc.txt
--
2.30.2
Powered by blists - more mailing lists