Hi,
Does the bit field of the following registers need to be set?
Table 11-45. PLL_CONFIGURATION 2
DPLL_VIDEO1 _MAIN _ L 3
RESERVED bit 1-3
It seems that the linux code changes depending on the frequency.
linux\drivers\gpu\drm\omapdrm\dss\pll.c
int dss_pll_write_config_type_b(struct dss_pll *pll,
const struct dss_pll_clock_info *cinfo)
{
...
/* PLL_SELFREQDCO */
if (cinfo->clkdco > hw->clkdco_low)
l = FLD_MOD(l, 0x4, 3, 1);
else
l = FLD_MOD(l, 0x2, 3, 1);
writel_relaxed(l, base + PLL_CONFIGURATION2);
.....
}
Best Regards,
Shigehiro Tsuda