ARM: davinci: dm644x: fix out range signal for ED
authorLad, Prabhakar <prabhakar.lad@ti.com>
Wed, 3 Oct 2012 06:35:00 +0000 (12:05 +0530)
committerSekhar Nori <nsekhar@ti.com>
Mon, 19 Nov 2012 07:37:39 +0000 (13:07 +0530)
commite37212aa5df1937bc19c0d0982d216675020a7ca
tree4f597b5c4c2964f8485e257035b78d4f7f509274
parentf4a75d2eb7b1e2206094b901be09adb31ba63681
ARM: davinci: dm644x: fix out range signal for ED

Fix the video clock setting when custom timings are used with
pclock <= 27MHz. Existing video clock selection uses PLL2 mode
which results in a 54MHz clock whereas using the MXI mode results
in a 27MHz clock (which is the one actually desired).

This bug affects the Enhanced Definition (ED) support on DM644x.
Without this patch, out-range signals errors are were observed on
the TV when viewing ED. An out-of-range signal is often caused when
the field rate is above the rate that the television will handle.

Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Cc: Sekhar Nori <nsekhar@ti.com>
[nsekhar@ti.com: reword commit message based on on-list discussion]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/dm644x.c