]> git.baikalelectronics.ru Git - uboot.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)
commit574e99faff95dfa4995b2dc76d475fe3485c5ac5
tree32eef7f485e029fb88b366091ab0ad68aaf883b6
parent7a254b74887ca7853786dc4444d911ef53e68f18
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: 561ed12f3dd5 ("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