HomeFreeBSD

dwmmc: Add a detach method

Description

dwmmc: Add a detach method

This method will disable the regulators, clocks and assert the reset of
the module. It will also detach it's children (the mmc device) and release
it's resources.
While here enable the regulators on attach as we need them to power up
the sdcard or emmc.

MFC after: 1 month

Details

Provenance
manuAuthored on
Parents
rS355624: arm64: rk3328: Add the *clk_peri_niu clocks
Branches
Unknown
Tags
Unknown