]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-xenon: Fix clock resource by adding an optional bus clock
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Mon, 2 Oct 2017 14:58:52 +0000 (16:58 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 4 Oct 2017 08:50:36 +0000 (10:50 +0200)
commitb6f40c51a70a63752e997b39352ad426a79618d1
tree87416834df3b15a64f7d7a9d7d53878cac7602cb
parent130c19ef8c3f48d87cc1790e3225076bf5e2f44d
mmc: sdhci-xenon: Fix clock resource by adding an optional bus clock

On Armada 7K/8K we need to explicitly enable the bus clock. The bus clock
is optional because not all the SoCs need them but at least for Armada
7K/8K it is actually mandatory.

The binding documentation is updating accordingly.

Without this patch the kernel hand during boot if the mvpp2.2 network
driver was not present in the kernel. Indeed the clock needed by the
xenon controller was set by the network driver.

Fixes: 7d5ecf5b9b85 ("mmc: sdhci-xenon: Add Marvell Xenon SDHC core
functionality)"
CC: Stable <stable@vger.kernel.org>
Tested-by: Zhoujie Wu <zjwu@marvell.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Documentation/devicetree/bindings/mmc/marvell,xenon-sdhci.txt
drivers/mmc/host/sdhci-xenon.c
drivers/mmc/host/sdhci-xenon.h