mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Add a struct mci_cmd::busy_timeout member
@ 2024-11-06 15:25 Sebastien Bourdelin
  2024-11-06 15:25 ` [PATCH v2 1/4] mci: add a busy_timeout member to the struct mci_cmd Sebastien Bourdelin
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Sebastien Bourdelin @ 2024-11-06 15:25 UTC (permalink / raw)
  To: barebox; +Cc: a.fatoum, sebastien.bourdelin, oss-contrib

From: Sebastien Bourdelin <sebastien.bourdelin@rtone.fr>

This patch series introduces the busy_timeout member as part of the
struct mci_cmd and fix the SDHCI timeout value for the BCM2711 SoC.

It comes as a first step to [1] and allow sdhci drivers to define their
timeout value.

[1] https://github.com/barebox/barebox/blob/master/drivers/mci/mci-core.c#L2109

Sebastien Bourdelin (4):
  mci: add a busy_timeout member to the struct mci_cmd
  mci: zeroed all structs mci_cmd instances
  mci: sdhci: use the busy_timeout value in the sdhci_wait_idle
    functions
  mci: bcm2835: set timeout value to 100ms

 arch/arm/mach-socfpga/arria10-xload-emmc.c |  2 +-
 drivers/mci/dwcmshc-sdhci.c                |  2 +-
 drivers/mci/imx-esdhc-pbl.c                |  4 +--
 drivers/mci/mci-bcm2835.c                  |  4 +++
 drivers/mci/mci-core.c                     | 34 +++++++++++-----------
 drivers/mci/sdhci.c                        | 14 +++++++--
 drivers/mci/sdhci.h                        |  2 ++
 drivers/mci/stm32_sdmmc2.c                 |  2 +-
 include/mci.h                              |  1 +
 9 files changed, 41 insertions(+), 24 deletions(-)

-- 
2.46.2




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-11-06 15:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-06 15:25 [PATCH v2 0/4] Add a struct mci_cmd::busy_timeout member Sebastien Bourdelin
2024-11-06 15:25 ` [PATCH v2 1/4] mci: add a busy_timeout member to the struct mci_cmd Sebastien Bourdelin
2024-11-06 15:25 ` [PATCH v2 2/4] mci: zeroed all structs mci_cmd instances Sebastien Bourdelin
2024-11-06 15:25 ` [PATCH v2 3/4] mci: sdhci: use the busy_timeout value in the sdhci_wait_idle functions Sebastien Bourdelin
2024-11-06 15:25 ` [PATCH v2 4/4] mci: bcm2835: set timeout value to 100ms Sebastien Bourdelin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox