[PATCH 20/38] arm64: dts: mediatek: mt6795-xperia-m5: Fix mmc0 latch-ck value

Matthias Brugger matthias.bgg at gmail.com
Fri Sep 12 07:08:14 PDT 2025



On 24/07/2025 10:38, AngeloGioacchino Del Regno wrote:
> 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 at collabora.com>

Applied, thanks

> ---
>   arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts b/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts
> index 91de920c2245..03cc48321a3f 100644
> --- a/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts
> +++ b/arch/arm64/boot/dts/mediatek/mt6795-sony-xperia-m5.dts
> @@ -212,7 +212,7 @@ proximity at 48 {
>   
>   &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>;




More information about the Linux-mediatek mailing list