Commit d8488915 authored by Jisheng Zhang's avatar Jisheng Zhang Committed by Luis Henriques

clk: berlin: bg2q: remove non-exist "smemc" gate clock

commit b71e8ecd upstream.

The "smemc" clock is removed on BG2Q SoCs. In fact, bit19 of clkenable
register is for nfc. Current code use bit19 for non-exist "smemc"
incorrectly, this prevents eMMC from working due to the sdhci's
"core" clk is still gated.
Signed-off-by: default avatarJisheng Zhang <jszhang@marvell.com>
Signed-off-by: default avatarMichael Turquette <mturquette@linaro.org>
Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
parent eb601e47
...@@ -285,7 +285,6 @@ static const struct berlin2_gate_data bg2q_gates[] __initconst = { ...@@ -285,7 +285,6 @@ static const struct berlin2_gate_data bg2q_gates[] __initconst = {
{ "pbridge", "perif", 15, CLK_IGNORE_UNUSED }, { "pbridge", "perif", 15, CLK_IGNORE_UNUSED },
{ "sdio", "perif", 16, CLK_IGNORE_UNUSED }, { "sdio", "perif", 16, CLK_IGNORE_UNUSED },
{ "nfc", "perif", 18 }, { "nfc", "perif", 18 },
{ "smemc", "perif", 19 },
{ "pcie", "perif", 22 }, { "pcie", "perif", 22 },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment