]> git.baikalelectronics.ru Git - 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)
committerStephen Boyd <sboyd@codeaurora.org>
Mon, 16 Nov 2015 19:07:06 +0000 (11:07 -0800)
commit7bb79c5006eafea08342117813817c6a10a6edc7
treed3d10c171c4914f792d979e51a5fa4749ebeaa15
parent2715d332e6151136472842d51b2ec873c0652275
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