]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: sunxi: Fix mmc clocks for DM_MMC
authorJagan Teki <jagan@amarulasolutions.com>
Wed, 9 Jan 2019 11:28:39 +0000 (16:58 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 10 Jan 2019 09:15:15 +0000 (14:45 +0530)
commite8f37f4203983f75cadd857c9c7e6d6477bf3e54
tree32eef7f485e029fb88b366091ab0ad68aaf883b6
parent54707a942009fae083dd78b58ff057127ba0e900
mmc: sunxi: Fix mmc clocks for DM_MMC

Existing clock configure code has been followed based on the
legacy MMC dt node definitions and it cannot work with recent
dts(i) sync from Linux.

So, add clock configure code for Allwinner platforms which support
DM_MMC and eventually this will drop once CLK support is in Mainline.

Fixes: 3c92cca3cda0 ("ARM: dts: sun4i: Update A10 dts(i) files from Linux-v4.18-rc3")
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Tested-by: Priit Laes <plaes@plaes.org> # Gemei G9 A10 Tablet
Tested-by: Marek Kraus <gamelasterv2@gmail.com> # A10-OLinuXino-Lime
drivers/mmc/sunxi_mmc.c