]> git.ipfire.org Git - thirdparty/u-boot.git/commit
arm: dts: an7581: set r_smpl for MMC in U-Boot
authorRay Liu <ray.xy.liu@gmail.com>
Fri, 2 Jan 2026 13:25:00 +0000 (21:25 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 16 Jan 2026 15:53:57 +0000 (09:53 -0600)
commit7cb79f8d3d55aaadff5b131aaf29aa176828a57b
tree1f4d8a133435280fe5abde6db82ed31879a80a32
parent5665d1f4e7cfd6895417d199dd7db73500c5d36c
arm: dts: an7581: set r_smpl for MMC in U-Boot

When booting from SPI, the ROM code does not initialize the MMC
controller on AN7581. As a result, the first MMC initialization
is performed by U-Boot.

In this case, the r_smpl bit is left uninitialized, which may
cause incorrect sampling timing during early MMC access.

Set the r_smpl bit explicitly in the U-Boot device tree to ensure
reliable MMC initialization.

This change is limited to the U-Boot-specific device tree.
The Linux MMC driver already performs runtime delay detection
and does not require a fixed r_smpl setting.

Signed-off-by: Ray Liu <ray.xy.liu@gmail.com>
arch/arm/dts/an7581-u-boot.dtsi