]> git.baikalelectronics.ru Git - kernel.git/commit
clk: qcom: gcc-sdm660: Replace usage of parent_names
authorBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 25 Aug 2021 20:45:17 +0000 (13:45 -0700)
committerStephen Boyd <sboyd@kernel.org>
Thu, 26 Aug 2021 18:51:11 +0000 (11:51 -0700)
commitd7f80751a9c1be20cdb6e360c5b8f8743be142cc
treeca1632112929fe864051d6a204195dc0f2c397fb
parentd9bf86d70d8959ae144a3981a24023b82d275168
clk: qcom: gcc-sdm660: Replace usage of parent_names

Using parent_data and parent_hws, instead of parent_names, does protect
against some cases of incompletely defined clock trees. While it turns
out that the bug being chased this time was totally unrelated, this
patch converts the SDM660 GCC driver to avoid such issues.

The "xo" fixed_factor clock is unused within the gcc driver, but
referenced from the DSI PHY. So it's left in place until the DSI driver
is updated.

Tested-by: Marijn Suijten <marijn.suijten@somainline.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210825204517.1278130-1-bjorn.andersson@linaro.org
[sboyd@kernel.org: Reduce diff by moving enum and tables back to
original position in previous patch]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/gcc-sdm660.c