mmc: mtk-sd: Add support for MT8196
authorAndy-ld Lu <andy-ld.lu@mediatek.com>
Fri, 11 Oct 2024 02:48:35 +0000 (10:48 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 25 Oct 2024 14:19:41 +0000 (16:19 +0200)
commit24f6425be898f47f68a57c773ef6a9fa48d026e4
tree5c6a574a94b5f7a8e1bc8bd3e903cc163e56d8b3
parent312607ba0803da56619031007ab8dfa2958a785f
mmc: mtk-sd: Add support for MT8196

Mediatek SoC MT8196 features a new design for tx/rx path. The new tx
path incorporates register settings that are closely associated with
bus timing. And the difference between new rx path and older versions
is the usage of distinct register bits when setting the data sampling
edge as part of the tuning process.

Besides, the register settings for STOP_DLY_SEL and POP_EN_CNT are
different from previous SoCs.

For the changes mentioned in relation to the MT8196, the new compatible
string 'mediatek,mt8196-mmc' is introduced. This is to accommodate
different settings and workflows specific to the MT8196.

Signed-off-by: Andy-ld Lu <andy-ld.lu@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Message-ID: <20241011024906.8173-3-andy-ld.lu@mediatek.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mtk-sd.c