]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt6795-xperia-m5: Fix mmc0 latch-ck value
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 24 Jul 2025 08:38:56 +0000 (10:38 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 12 Sep 2025 14:07:58 +0000 (16:07 +0200)
Change the latch-ck value from 0x14 to 4: as only bits [0-3] are
actually used, the final value that gets written to the register
field for DAT_LATCH_CK_SEL is just 0x4.

This also fixes dtbs_check warnings.

Fixes: 5a65dcccf483 ("arm64: dts: mediatek: mt6795-xperia-m5: Add eMMC, MicroSD slot, SDIO")
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20250724083914.61351-21-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts

index 91de920c2245713967fe83f11fa52405a181f5bb..03cc48321a3f48adee16024d73d0e529ecba3c38 100644 (file)
 
 &mmc0 {
        /* eMMC controller */
-       mediatek,latch-ck = <0x14>; /* hs400 */
+       mediatek,latch-ck = <4>; /* hs400 */
        mediatek,hs200-cmd-int-delay = <1>;
        mediatek,hs400-cmd-int-delay = <1>;
        mediatek,hs400-ds-dly3 = <0x1a>;