clk: qcom: gcc-mdm9615: use parent_hws/_data instead of parent_names
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 12 May 2023 21:17:24 +0000 (00:17 +0300)
committerBjorn Andersson <andersson@kernel.org>
Mon, 31 Jul 2023 21:25:17 +0000 (14:25 -0700)
commitc01c9ed3aba90e509ecffd5f99987e93898af460
treeef9281eef142c41b62744abe8e27442ad5a3cadd
parent1583694bb4eaf186f17131dbc1b83d6057d2749b
clk: qcom: gcc-mdm9615: use parent_hws/_data instead of parent_names

Convert the clock driver to specify parent data rather than parent
names, to actually bind using 'clock-names' specified in the DTS rather
than global clock names. Use parent_hws where possible to refer parent
clocks directly, skipping the lookup.

Note, the system names for xo clocks were changed from "cxo" to
"cxo_board" to follow the example of other platforms. This switches the
clocks to use DT-provided "cxo_board" clock instead of manually
registered "cxo" clock and allows us to drop the cxo clock.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230512211727.3445575-8-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/gcc-mdm9615.c