]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mmc: dw_mmc: add a quirk for accessing 64-bit FIFOs in two halves
authorKaustabh Chakraborty <kauschluss@disroot.org>
Tue, 18 Feb 2025 18:47:48 +0000 (00:17 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2025 08:45:13 +0000 (10:45 +0200)
commit0932950d3a3f7a2fabd2af5352774b43bae522c2
treebbbb2fd1fd7365bd24264ab221cd71fd4de93c0a
parent035c6e60074f7b5dccc90bfb64816bc82cde7239
mmc: dw_mmc: add a quirk for accessing 64-bit FIFOs in two halves

[ Upstream commit 57c0902f8bec51add5a1eb908d8b876592725d81 ]

In certain DW MMC implementations (such as in some Exynos7870
controllers), 64-bit read/write is not allowed from a 64-bit FIFO.
Add a quirk which facilitates accessing the 64-bit FIFO registers in two
32-bit halves.

Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Link: https://lore.kernel.org/r/20250219-exynos7870-mmc-v2-2-b4255a3e39ed@disroot.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mmc/host/dw_mmc.c
drivers/mmc/host/dw_mmc.h