]> git.ipfire.org Git - thirdparty/u-boot.git/commit
mmc: sdhci-cadence: Use hardware version field for Cadence SDHCI controller
authorTanmay Kathpalia <tanmay.kathpalia@altera.com>
Wed, 3 Dec 2025 12:21:36 +0000 (04:21 -0800)
committerPeng Fan <peng.fan@nxp.com>
Thu, 11 Dec 2025 12:53:52 +0000 (20:53 +0800)
commit7d52b66b9b8e00815ef968c4ad0f2f704228fb69
treed94661f0d56a631fec436903970be312e75d56c9
parent90f43c7edc61634400c808110081f97e42b63bc6
mmc: sdhci-cadence: Use hardware version field for Cadence SDHCI controller

Replace device tree compatible string checks with hardware version field
detection to determine SDHCI controller capabilities. This approach is
more robust and aligns with standard SDHCI specification practices.
Controllers with SDHCI version 4.2 and above will automatically use the
enhanced PHY adjustment, and tuning v6-specific procedures.

Signed-off-by: Tanmay Kathpalia <tanmay.kathpalia@altera.com>
Reviewed-by: Balsundar Ponnusamy <balsundar.ponnusamy@altera.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/mmc/sdhci-cadence.c