]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: mtk-sd: Add stop_dly_sel and pop_en_cnt to platform data
authorAndy-ld Lu <andy-ld.lu@mediatek.com>
Fri, 11 Oct 2024 02:48:34 +0000 (10:48 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 25 Oct 2024 14:19:33 +0000 (16:19 +0200)
commit312607ba0803da56619031007ab8dfa2958a785f
treef5e0b387a100e62341b19b61d2dee4ecadc53f39
parent58927c9dc4abdd0ee19bedf151d70e271f85dad4
mmc: mtk-sd: Add stop_dly_sel and pop_en_cnt to platform data

There are modified register settings for STOP_DLY_SEL and POP_EN_CNT
from our next generation SoCs, due to the advanced chip manufacturing
process and the resulting changes in the internal signal timing.

Add two new fields to the compatibility structure to reflect the
modifications. For legacy SoCs, also add the original value of
'stop_dly_sel' to the platform data, for unified code setting.

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