Messages in this thread | | | From | Georgi Djakov <> | Subject | [PATCH v3 0/3] clk: qcom: Introduce parent_map tables | Date | Fri, 20 Mar 2015 18:30:23 +0200 |
| |
This patchset introduces the parent_map index tables, which solve the issue discussed here [1]. While doing this, fix also some of the code around (patches 1 and 2).
[1] https://lkml.org/lkml/2015/3/5/682
Patchset based on clk-next.
Changes since v2: * Iterate over number of parents instad of using NULL terminated entries. * Moved call to qcom_find_src_index() at the top.
Changes since v1: * Squash the last patches to make this bisectable.
Georgi Djakov (3): clk: qcom: Fix clk_get_parent function return value clk: qcom: Do some error handling in configure_bank() clk: qcom: Introduce parent_map tables
drivers/clk/qcom/clk-rcg.c | 99 +++++++++++++++-------- drivers/clk/qcom/clk-rcg.h | 14 +++- drivers/clk/qcom/clk-rcg2.c | 19 +++-- drivers/clk/qcom/common.c | 12 +++ drivers/clk/qcom/common.h | 4 + drivers/clk/qcom/gcc-apq8084.c | 62 ++++++++------- drivers/clk/qcom/gcc-ipq806x.c | 46 ++++++----- drivers/clk/qcom/gcc-msm8660.c | 22 ++--- drivers/clk/qcom/gcc-msm8960.c | 32 ++++---- drivers/clk/qcom/gcc-msm8974.c | 30 +++---- drivers/clk/qcom/lcc-ipq806x.c | 12 +-- drivers/clk/qcom/lcc-msm8960.c | 12 +-- drivers/clk/qcom/mmcc-apq8084.c | 168 ++++++++++++++++++++------------------- drivers/clk/qcom/mmcc-msm8960.c | 49 ++++++------ drivers/clk/qcom/mmcc-msm8974.c | 134 ++++++++++++++++--------------- 15 files changed, 401 insertions(+), 314 deletions(-)
| |