HomeFreeBSD

arm: allwinner: aw_mmc: Use the mmc_fdt_helper

Description

arm: allwinner: aw_mmc: Use the mmc_fdt_helper

The fdt properties are now parsed via the help of mmc_fdt_helper functions.
This also adds card detection.
Note that on some boards (like the Pine64) card detection is broken due to
a missing resistor on the cd pin.

MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D23268

Details

Provenance
manuAuthored on
Differential Revision
D23268: aw_mmc: Add support to card detection
Parents
rS359924: Those functions are here to help fdt mmc controller drivers to parse
Branches
Unknown
Tags
Unknown