<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/mmc/mtk-sd.c, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/mmc/mtk-sd.c?h=main</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/mmc/mtk-sd.c?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2026-04-28T15:45:07Z</updated>
<entry>
<title>mmc: mtk-sd: fix msdc cmd ready check</title>
<updated>2026-04-28T15:45:07Z</updated>
<author>
<name>ht.lin</name>
<email>ht.lin@mediatek.com</email>
</author>
<published>2026-04-21T14:24:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8436dd6b0e7e529fda238edf762076fa436bdfda'/>
<id>urn:sha1:8436dd6b0e7e529fda238edf762076fa436bdfda</id>
<content type='text'>
Correct the check condition in msdc_cmd_is_ready() for MSDC_PS_DAT0
polling. Without this change, it may not be able to detect if the SD
controller is busy correctly for issuing the command.

Fixes: d24b69395949 ("mmc: mtk-sd: add SD/MMC host controller driver for MT7623 SoC")
Signed-off-by: ht.lin &lt;ht.lin@mediatek.com&gt;
Reviewed-by: Julien Stephan &lt;jstephan@baylibre.com&gt;
Tested-by: Julien Stephan &lt;jstephan@baylibre.com&gt;
Link: https://patch.msgid.link/20260421-mmc-mtk-sd-fixes-v1-3-5b840c546af2@baylibre.com
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</content>
</entry>
<entry>
<title>mmc: mtk-sd: enable async_fifo_crcsts on mt8189</title>
<updated>2026-04-28T15:45:07Z</updated>
<author>
<name>David Lechner</name>
<email>dlechner@baylibre.com</email>
</author>
<published>2026-04-21T14:24:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=93f67d893b32606cfb723b82be783a013c16fc0c'/>
<id>urn:sha1:93f67d893b32606cfb723b82be783a013c16fc0c</id>
<content type='text'>
Enable the async_fifo_crcsts option for mediatek,mt8189-mmc compatible.

Without this option, writing will fail in HS200 mode.

Fixes: b3d16267b509 ("mmc: mtk-sd: add mediatek,mt8189-mmc compatible")
Reviewed-by: Julien Stephan &lt;jstephan@baylibre.com&gt;
Tested-by: Julien Stephan &lt;jstephan@baylibre.com&gt;
Link: https://patch.msgid.link/20260421-mmc-mtk-sd-fixes-v1-2-5b840c546af2@baylibre.com
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</content>
</entry>
<entry>
<title>mmc: mtk-sd: enable DMA on mediatek,mt8189-mmc</title>
<updated>2026-04-28T15:45:07Z</updated>
<author>
<name>David Lechner</name>
<email>dlechner@baylibre.com</email>
</author>
<published>2026-04-21T14:24:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=336602a2f912fd19eb717083306e54804bc92e79'/>
<id>urn:sha1:336602a2f912fd19eb717083306e54804bc92e79</id>
<content type='text'>
Enable DMA on mediatek,mt8189-mmc compatible. The issue that was
preventing DMA from working correctly was fixed by the
get_effective_memsize() implementation in commit a7c682565b4b ("arm:
mediatek: add support of MT8189 SoC family").

Reviewed-by: Julien Stephan &lt;jstephan@baylibre.com&gt;
Tested-by: Julien Stephan &lt;jstephan@baylibre.com&gt;
Link: https://patch.msgid.link/20260421-mmc-mtk-sd-fixes-v1-1-5b840c546af2@baylibre.com
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
</content>
</entry>
<entry>
<title>mmc: mtk-sd: add mediatek,mt8189-mmc compatible</title>
<updated>2026-02-26T03:15:44Z</updated>
<author>
<name>David Lechner</name>
<email>dlechner@baylibre.com</email>
</author>
<published>2026-02-06T20:50:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b3d16267b5095746888927478a0973fa810a0826'/>
<id>urn:sha1:b3d16267b5095746888927478a0973fa810a0826</id>
<content type='text'>
Add support for MediaTek MT8189 MMC controller.

According to [1], this is similar to, but not quite the same as
mediatek,mt8196-mmc.

Link: https://lore.kernel.org/linux-mediatek/20251203-mt8189-add-mmc-support-v1-1-f5ce43212fe9@collabora.com/ [1]
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>mmc: mediatek: add DMA mode support</title>
<updated>2026-02-03T14:10:14Z</updated>
<author>
<name>ht.lin</name>
<email>ht.lin@mediatek.com</email>
</author>
<published>2026-01-21T22:36:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9652f2591d52804ffd9e88faecfe0ba246d6c317'/>
<id>urn:sha1:9652f2591d52804ffd9e88faecfe0ba246d6c317</id>
<content type='text'>
Implement DMA support in the MediaTek MMC driver to enhance data
transfer speed.

- Define DMA control and configuration registers
- Implement functions for starting, stopping, and completing DMA
  transfers
- Modify data transfer logic to utilize DMA when enabled
- Ensure proper cache management during DMA operations

Signed-off-by: Wenbin Mei &lt;wenbin.mei@mediatek.com&gt;
Signed-off-by: ht.lin &lt;ht.lin@mediatek.com&gt;
Signed-off-by: Julien Masson &lt;jmasson@baylibre.com&gt;
Signed-off-by: Macpaul Lin &lt;macpaul.lin@mediatek.com&gt;
Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>mmc: mtk-sd: fix misaligned brace</title>
<updated>2026-02-03T14:10:14Z</updated>
<author>
<name>David Lechner</name>
<email>dlechner@baylibre.com</email>
</author>
<published>2026-01-21T22:36:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=aa38b1781078e312ee0eacfe20fc1914d7b1f0e7'/>
<id>urn:sha1:aa38b1781078e312ee0eacfe20fc1914d7b1f0e7</id>
<content type='text'>
Indent a brace for proper code style.

Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
Reviewed-by: Macpaul Lin &lt;macpaul.lin@mediatek.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>mmc: mtk-sd: use GENMASK and FIELD macros</title>
<updated>2026-02-03T14:10:13Z</updated>
<author>
<name>David Lechner</name>
<email>dlechner@baylibre.com</email>
</author>
<published>2026-01-21T22:36:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fe62fd3b8b7cf0fb9915ec33eb4794624c38303a'/>
<id>urn:sha1:fe62fd3b8b7cf0fb9915ec33eb4794624c38303a</id>
<content type='text'>
Replace separate mask and shift definitions with GENMASK and FIELD_*
macros for better readability and maintainability.

All macros ending in _M have the suffix dropped. The value remains the
same but is now generated with GENMASK. All macros ending in _S are
removed and their uses replaced with FIELD_PREP and FIELD_GET macros.

Signed-off-by: David Lechner &lt;dlechner@baylibre.com&gt;
Reviewed-by: Macpaul Lin &lt;macpaul.lin@mediatek.com&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>mmc: mediatek: add support for MediaTek MT7987 SoCs</title>
<updated>2025-01-30T20:35:14Z</updated>
<author>
<name>Weijie Gao</name>
<email>weijie.gao@mediatek.com</email>
</author>
<published>2025-01-23T08:54:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e5d20906f7a62c431b4ccf3cd5eaa49254853960'/>
<id>urn:sha1:e5d20906f7a62c431b4ccf3cd5eaa49254853960</id>
<content type='text'>
This patch adds eMMC/SD support for MT7987 SoC

Signed-off-by: Weijie Gao &lt;weijie.gao@mediatek.com&gt;
</content>
</entry>
<entry>
<title>drivers: mmc: Remove duplicate newlines</title>
<updated>2024-07-22T16:53:05Z</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut+renesas@mailbox.org</email>
</author>
<published>2024-07-20T12:40:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8582ca9c1d8b88f2398c1aa7209669f33f56563a'/>
<id>urn:sha1:8582ca9c1d8b88f2398c1aa7209669f33f56563a</id>
<content type='text'>
Drop all duplicate newlines. No functional change.

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@mailbox.org&gt;
</content>
</entry>
<entry>
<title>mmc: mediatek: add support for upstream linux clock and property</title>
<updated>2024-07-08T17:45:50Z</updated>
<author>
<name>Christian Marangi</name>
<email>ansuelsmth@gmail.com</email>
</author>
<published>2024-06-24T21:03:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=98686fa2f572a2ff695d4f7cced9bf9a9af303e8'/>
<id>urn:sha1:98686fa2f572a2ff695d4f7cced9bf9a9af303e8</id>
<content type='text'>
Add support for upstream linux clock and map U-Boot property to the one
use in upstream linux where supported.

Also add handling for the use_internal_cd that on upstream is hardcoded
enabled on mt7620.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
</feed>
