]> 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>
Sun, 20 Apr 2025 08:15:15 +0000 (10:15 +0200)
commitfe74885e3609ce74bc314992b7606249ed2acec9
treefe18492d67bd4ba752741a0c26e95d298b689989
parent6d32a30fa1b5795053676de566f11568e8c1467c
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