]> git.proxmox.com Git - mirror_ubuntu-artful-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>
Fri, 13 Apr 2018 14:00:16 +0000 (16:00 +0200)
commit49c97c35c36ab7017d0956d6db11f0ed7daf27ad
tree9f9da2bff56c197924f0907b167e03c7015cea9f
parent0d14c1fe4c36cb86bc2e2027375f420d91e1f937
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