Skip to content

Commit a42964c

Browse files
committed
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: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Patchwork: https://patchwork.freedesktop.org/patch/519210/ Link: https://lore.kernel.org/r/20230119132219.2479775-4-dmitry.baryshkov@linaro.org Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
1 parent c5c92b2 commit a42964c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/gpu/drm/msm/hdmi/hdmi_pll_8960.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -406,14 +406,14 @@ static const struct clk_ops hdmi_pll_ops = {
406406
.set_rate = hdmi_pll_set_rate,
407407
};
408408

409-
static const char * const hdmi_pll_parents[] = {
410-
"pxo",
409+
static const struct clk_parent_data hdmi_pll_parents[] = {
410+
{ .fw_name = "pxo", .name = "pxo_board" },
411411
};
412412

413413
static struct clk_init_data pll_init = {
414414
.name = "hdmi_pll",
415415
.ops = &hdmi_pll_ops,
416-
.parent_names = hdmi_pll_parents,
416+
.parent_data = hdmi_pll_parents,
417417
.num_parents = ARRAY_SIZE(hdmi_pll_parents),
418418
.flags = CLK_IGNORE_UNUSED,
419419
};

0 commit comments

Comments
 (0)