clk: qcom: mmcc-msm8974: use parent_hws/_data instead of parent_names
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sun, 4 Dec 2022 12:45:05 +0000 (14:45 +0200)
committerBjorn Andersson <andersson@kernel.org>
Tue, 6 Dec 2022 18:26:57 +0000 (12:26 -0600)
commita174d29a59ec9462d3e72fd00a9fd05054c4ab20
treebd86e66b3c75500e6970f933965ab5f2f7a88192
parent28c6c02527757a4b3c63b30d77f7e7d5c112c085
clk: qcom: mmcc-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-9-dmitry.baryshkov@linaro.org
drivers/clk/qcom/mmcc-msm8974.c