Add 'phy_ref_clkfreq' field to 'struct mipi_dsi_info'
to save the reference clock frequency configed in dtb
file for mipi phy pll.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
int disp_id;
char *lcd_panel;
int irq;
+ uint32_t phy_ref_clkfreq;
#ifdef CONFIG_FB_IMX64
struct clk *core_clk;
struct clk *phy_ref_clk;
dev_err(&pdev->dev, "invalid phy reference clock rate\n");
return -EINVAL;
}
+ minfo->phy_ref_clkfreq = phy_ref_clkfreq;
ret = clk_set_rate(minfo->phy_ref_clk, phy_ref_clkfreq);
if (ret < 0) {