Commit a42964ce authored by Dmitry Baryshkov's avatar Dmitry Baryshkov

drm/msm/hdmi: switch hdmi_pll_8960 to use parent_data

Replace parent_names usage with parent_data. Note, that this makes the
PLL default to board's `pxo_board' clock rather than just `pxo' clock,
as we are on a way to deprecate the global cxo/pxo clocks.
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/519210/
Link: https://lore.kernel.org/r/20230119132219.2479775-4-dmitry.baryshkov@linaro.orgSigned-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
parent c5c92b2a
...@@ -406,14 +406,14 @@ static const struct clk_ops hdmi_pll_ops = { ...@@ -406,14 +406,14 @@ static const struct clk_ops hdmi_pll_ops = {
.set_rate = hdmi_pll_set_rate, .set_rate = hdmi_pll_set_rate,
}; };
static const char * const hdmi_pll_parents[] = { static const struct clk_parent_data hdmi_pll_parents[] = {
"pxo", { .fw_name = "pxo", .name = "pxo_board" },
}; };
static struct clk_init_data pll_init = { static struct clk_init_data pll_init = {
.name = "hdmi_pll", .name = "hdmi_pll",
.ops = &hdmi_pll_ops, .ops = &hdmi_pll_ops,
.parent_names = hdmi_pll_parents, .parent_data = hdmi_pll_parents,
.num_parents = ARRAY_SIZE(hdmi_pll_parents), .num_parents = ARRAY_SIZE(hdmi_pll_parents),
.flags = CLK_IGNORE_UNUSED, .flags = CLK_IGNORE_UNUSED,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment