[PATCH v1 3/9] clk: qcom: Introduce parent_map tables

2015-03-18 Thread Georgi Djakov
Define a parent_map struct to describe the relations between PLL source index and register configuration value. Add a qcom_find_src_index() function for finding the index of a clock matching the specific PLL configuration Signed-off-by: Georgi Djakov --- drivers/clk/qcom/clk-rcg.h | 11

[PATCH v1 3/9] clk: qcom: Introduce parent_map tables

2015-03-18 Thread Georgi Djakov
Define a parent_map struct to describe the relations between PLL source index and register configuration value. Add a qcom_find_src_index() function for finding the index of a clock matching the specific PLL configuration Signed-off-by: Georgi Djakov georgi.dja...@linaro.org ---