HomeFreeBSD

mmc: switch mmc_helper to device_ api

Description

mmc: switch mmc_helper to device_ api

Add generic mmc_helper which uses newly introduced device_*_property
api. Thanks to this change the sd/mmc drivers will be capable
of parsing both DT and ACPI description.

Ensure backward compatibility for all mmc_fdt_helper users.

Reviewed by: manu, mw
Sponsored by: Semihalf
Differential revision: https://reviews.freebsd.org/D31598

Details

Provenance
bag_semihalf.comAuthored on Aug 2 2021, 2:27 PM
mwCommitted on Sep 20 2021, 3:18 PM
Reviewer
manu
Differential Revision
D31598: mmc_helper: add mmc_helper and rename mmc_fdt_helper to mmc_helper
Parents
rG3f9a00e3b577: device: add device_get_property and device_has_property
Branches
Unknown
Tags
Unknown