HomeFreeBSD

allwinner: mmc: Multiple improvement

Description

allwinner: mmc: Multiple improvement

  • Add a per compatible configuration struct
  • Not all SoC uses the same size for DMA transfert, add this into the configuration data
  • Use new timing mode for some SoC (A64 mmc)
  • Auto calibrate clock for A64 mmc/emmc
  • A64 mmc controller need masking of data0
  • Add support for vmmc/vqmmc regulator
  • Add more capabilities, r/w speed is better for eMMC
  • MMC_CAP_SIGNALING_180 gives weird result so do not enable it for now.
  • Add new register documented in H3/A64 user manual

Tested-On: Pine64-LTS (A64), eMMC still doesn't work
Tested-On: A64-Olinuxino (A64), sd and eMMC are working
Tested-On: NanoPi Neo Plus2 (H5), sd and eMMC are working
Tested-On: OrangePi PC2 (H5), sd only (no eMMC)
Tested-On: OrangePi One (H3), sd only (no eMMC)
Tested-On: BananaPi M2 (A31s), sd only (no eMMC)

Details

Provenance
manuAuthored on
Parents
rS327978: Free Fedor Uporov from mentorship.
Branches
Unknown
Tags
Unknown