clk: qcom: gcc-msm8974: use parent_hws/_data instead of parent_names
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sun, 4 Dec 2022 12:45:02 +0000 (14:45 +0200)
committerBjorn Andersson <andersson@kernel.org>
Tue, 6 Dec 2022 18:26:57 +0000 (12:26 -0600)
commitff81be97120b6bb79f1239a184bb0c851d7ed9a7
treef1828dcb871e1b1e6b6f35934d9e5ff862eee835
parentf2b4f1490e82dec9881565b2f92467c5b6f4636d
clk: qcom: gcc-msm8974: 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 "xo" to
"xo_board" to follow the example of other platforms. This switches the
clocks to use DT-provided "xo_board" clock instead of manually
registered "xo" clock and allows us to drop qcom_cc_register_board_clk()
call from the driver at some point.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221204124508.1415713-6-dmitry.baryshkov@linaro.org
drivers/clk/qcom/gcc-msm8974.c