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)
committerStephen Boyd <sboyd@codeaurora.org>
Mon, 16 Nov 2015 19:07:06 +0000 (11:07 -0800)
commitee15faffef11309219aa87a24efc86f6dd13f7cb
treed3d10c171c4914f792d979e51a5fa4749ebeaa15
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
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