clk: qcom: add EBI2 clocks to the MSM8660 GCC
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 1 Jul 2016 15:54:01 +0000 (17:54 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 2 Jul 2016 01:12:45 +0000 (18:12 -0700)
commitcdbf85c1cedac57f0f6e46d6f3d97c5a332d6908
treee5e3b723984701869caa150eab9b2bb7dfc2de26
parente8e628fb3f47ec7a45f9a026561e88ec8884776c
clk: qcom: add EBI2 clocks to the MSM8660 GCC

This adds the EBI2 2X and EBI2 clocks to the MSM8660/APQ8060
GCC. This is necessary to enable clocking of the external bus
interface so that peripherals on it can be mounted. These two
clocks are simple gated branch clocks.

In the vendor tree clock-8x60, these clocks have some kind of
dependency, the EBI2 clock has .depends = &ebi2_2x_clk.c,
what this means is undocumented, it doesn't seem like there
is a parent/child relationship, so the solution I chose was to
just have the EBI2 driver get and enable both clocks.

Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/qcom/gcc-msm8660.c
This page took 0.024555 seconds and 5 git commands to generate.