OMAPDSS: HDMI: Add M2 divider while calculating clkout
authorMythri P K <mythripk@ti.com>
Tue, 21 Feb 2012 06:40:58 +0000 (12:10 +0530)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 6 Mar 2012 12:08:10 +0000 (14:08 +0200)
commitdd2116a35aa9a5a7b71e1d21f30aec8927434d19
tree8ef49664dfd6eb538264abec6df545abd8d4738e
parent0ba86d7edea1f9f2d9497c31200910263e8b4128
OMAPDSS: HDMI: Add M2 divider while calculating clkout

While calculating regm and regmf value add using M2 divider in
the equation.
Formula for calculating:
Output clock on digital core domain:
CLKOUT = (M / (N+1))*CLKINP*(1/M2)
Internal oscillator output clock on internal LDO domain:
CLKDCOLDO = (M / (N+1))*CLKINP
The current code when allows variable M2 values as input
ignores using M2 divider values in calculation of regm and regmf.
so fix it by using M2 in calculation although the default value for
M2 is 1.

Signed-off-by: Mythri P K <mythripk@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/hdmi.c
This page took 0.025704 seconds and 5 git commands to generate.