Page MenuHomeFreeBSD

sdhci_fsl_fdt: Add support for T2080 eSDHC controller
ClosedPublic

Authored by jhibbits on Mon, Aug 3, 11:33 PM.
Tags
None
Referenced Files
F168125375: D58630.id183348.diff
Wed, Aug 26, 12:11 PM
Unknown Object (File)
Mon, Aug 24, 8:56 PM
Unknown Object (File)
Sat, Aug 22, 11:25 AM
Unknown Object (File)
Thu, Aug 20, 11:08 PM
Unknown Object (File)
Tue, Aug 18, 12:02 PM
Unknown Object (File)
Fri, Aug 14, 8:54 PM
Unknown Object (File)
Thu, Aug 13, 8:49 AM
Unknown Object (File)
Wed, Aug 12, 11:48 PM
Subscribers
None

Details

Summary

Migrate all PowerPC QorIQ to the sdhci_fsl_fdt SDHC driver. There are a
few differences that need to be accounted for:

  • On PowerPC device trees, the clock-frequency property defines the clock rate, not a clocks reference property.
  • On some older SoCs (32-bit only?) the BURST fields of the WML register are reserved, and must be 0x10, so add a FSL quirk (errata field) to account for this.
  • The PowerPC eSDHC controllers must have the DMA SNOOP bit set for DMA to work properly and avoid corruption.

As part of this, make the fallback "fsl,esdhc" compat data work for
PowerPC. If these fallbacks are not compatible with ARM SoCs, newer
compat strings could be added for those, but the conservative catch-all
should work for most SoCs, though perhaps less optimal.

Assisted-by: Claude Code (Opus 4.7(1M))

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhibbits created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Fri, Aug 21, 2:27 AM
This revision was automatically updated to reflect the committed changes.