mmc: sunxi: Add DM clk and reset support
authorAndre Przywara <andre.przywara@arm.com>
Tue, 29 Jan 2019 15:54:13 +0000 (15:54 +0000)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 29 Jan 2019 18:14:03 +0000 (23:44 +0530)
commitc57572eb5aac7191026a069e8980a0faf01f2455
tree852ee574cde71038c236fb61d617139bad5356a4
parent3c8c7da6fcf37ee1da4a450735f6a74291d87a6e
mmc: sunxi: Add DM clk and reset support

Now that we have the gate clocks and the reset gates in our new
Allwinner clock driver, let's make use of them in the MMC driver, when
DM_MMC is defined.
We treat the reset device as optional now, as the older SoCs don't
implement it.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/mmc/sunxi_mmc.c