]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
clk: qcom: common: Add API to register board clocks backwards compatibly
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 27 Oct 2015 00:11:32 +0000 (17:11 -0700)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 14 Aug 2017 10:51:20 +0000 (12:51 +0200)
commitb82e77a739fde5df4edf768dea87ff61379de495
tree9819c8923b12d248f7a6298db5a9899c42364879
parent577c79a369eb78e66567dd319b2b72d50fc3bc01
clk: qcom: common: Add API to register board clocks backwards compatibly

We want to put the XO board clocks into the dt files, but we also
need to be backwards compatible with an older dtb. Add an API to
the common code to do this. This also makes a place for us to
handle the case when the RPM clock driver is enabled and we don't
want to register the fixed factor clock.

Cc: Georgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/qcom/common.c
drivers/clk/qcom/common.h