]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (9937): cx18: Use a consistent crystal value for computing all PLL parameters
authorAndy Walls <awalls@radix.net>
Sun, 21 Dec 2008 02:48:57 +0000 (23:48 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:39:24 +0000 (09:39 -0200)
commit09ffc68a1b24ff8124d603a1fc381832ff7c7be3
tree346221769914f99581eff5cdb5afe068acacd77b
parent2b7f1c0c1107126264a5a161b3900e39aaf78ee1
V4L/DVB (9937): cx18: Use a consistent crystal value for computing all PLL parameters

Use a consistent crystal value of 28.636360 MHz for computing all PLL
parameters so clocks don't have relative error due to assumed crystal
value mismatches.  Also aimed to have all PLLs run their VOCs at close to
400 MHz to minimze the error of these PLLs as frequency synthesizers. Also
set the VDCLK and AIMCLK PLLs to sane values before the APU and CPU firmware
are loaded.  Also fixed I2S Master clock dividers.

Many thanks to Mike Bradley and Jeff Campbell for reporting this problem and
suggesting the solution, researching and experimenting, and performing
extensive testing to support their suggested solution.

Reported-by: Jeff Campbell <jac1dlists@gmail.com>
Reported-by: Mike Bradley <mike.bradley@incanetworks.com>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx18/cx18-av-audio.c
drivers/media/video/cx18/cx18-av-core.c
drivers/media/video/cx18/cx18-firmware.c