summaryrefslogtreecommitdiff
path: root/include/mmc.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-04-23 08:57:13 -0600
committerTom Rini <trini@konsulko.com>2025-04-23 08:57:13 -0600
commit873bca77a3dd4f6ba69c244bb1aaecb82679271f (patch)
tree17e549cdbb96981aa13192b38c3cef05eaea1fec /include/mmc.h
parent5d4a6995bb4311203a024200a402508fdf5d7dfb (diff)
parent2a8e7ea4f948e3de7033b297fd827fe082cd63da (diff)
Merge tag 'mmc-2025-04-23' of https://source.denx.de/u-boot/custodians/u-boot-mmc
- Introducing back send_init_stream for omap_hsmmc to perform the 74 clocks cycle sequence - Move scmi regulator subnode hack to scmi_regulator - Typo fix
Diffstat (limited to 'include/mmc.h')
-rw-r--r--include/mmc.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/mmc.h b/include/mmc.h
index 52cacfd0eab..eead666ae44 100644
--- a/include/mmc.h
+++ b/include/mmc.h
@@ -494,6 +494,14 @@ struct dm_mmc_ops {
int (*set_ios)(struct udevice *dev);
/**
+ * send_init_stream() - send the initialization stream: 74 clock cycles
+ * This is used after power up before sending the first command
+ *
+ * @dev: Device to update
+ */
+ void (*send_init_stream)(struct udevice *dev);
+
+ /**
* get_cd() - See whether a card is present
*
* @dev: Device to check
@@ -572,6 +580,7 @@ struct dm_mmc_ops {
/* Transition functions for compatibility */
int mmc_set_ios(struct mmc *mmc);
+void mmc_send_init_stream(struct mmc *mmc);
int mmc_getcd(struct mmc *mmc);
int mmc_getwp(struct mmc *mmc);
int mmc_execute_tuning(struct mmc *mmc, uint opcode);