]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: meson: reset mmc clock on probe
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 5 Mar 2020 11:12:37 +0000 (12:12 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 6 Apr 2020 07:56:35 +0000 (09:56 +0200)
commitb3d69aa596599c7c940f7ad463c04b693589ff9a
tree5f484ddaee3f851539019d5d1a683457626cfc45
parent0392416fb1f2d8ff91ca6ec0471fc891445406e5
clk: meson: reset mmc clock on probe

On some SoCs, depending on the boot device, the MMC clock block may be
left in a weird state by the ROM code, in which no decent clock may be
provided. Reset the related register to make sure a sane MMC clock is
ready for the controller.

Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Anand Moon <linux.amoon@gmail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/clk/meson/axg.c
drivers/clk/meson/g12a.c
drivers/clk/meson/gxbb.c