clk: qcom: Add simple regmap based muxes
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 20 Jan 2015 02:05:31 +0000 (18:05 -0800)
committerMichael Turquette <mturquette@linaro.org>
Tue, 27 Jan 2015 19:49:09 +0000 (11:49 -0800)
commitb3ee3eff57817ed5b4f6294b5a3407e4d9fc7014
treed7397c60b385e1f3bfbfa21cef5170fa910277e0
parent4116076e8cbfaacb5925c24a4d22e6b47a96eb42
clk: qcom: Add simple regmap based muxes

Add support for muxes that use regmap instead of readl/writel
directly. We don't support as many features as clk-mux.c, but
this is good enough to support getting and setting parents.
Adding a table based lookup can be added in the future if needed.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Tested-by: Kenneth Westfield <kwestfie@codeaurora.org>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
drivers/clk/qcom/Makefile
drivers/clk/qcom/clk-regmap-mux.c [new file with mode: 0644]
drivers/clk/qcom/clk-regmap-mux.h [new file with mode: 0644]