linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* 3.9 regression : CAM_XCLKA wrong frequency setting.
@ 2013-05-17  9:32 jean-philippe francois
  2013-05-17 11:20 ` jean-philippe francois
  0 siblings, 1 reply; 4+ messages in thread
From: jean-philippe francois @ 2013-05-17  9:32 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

Laurent, you are on the recipient list because the symptom is visible
throug your driver. I found the other name looking in the clock
related files. Please apologize if you are not concerned by this mail.

Symptom :
External clock CAM_XCLKA frequency is wrong with 3.9, it was ok until
3.6. Everything else is working fine, except the fps are higher, and
the image quality sucks because the input clock is out of spec.
Oscilloscope measured freq is around 30 MHz instead of the 24 MHz the
sensor is asking for.

Hardware :
dm3730, with 19.2 MHz crystal, running at OPP100

The register frequency settings seems to be ok, and they are the same
as in 3.6.11 :
CM_CLKSEL2_PLL : 0x04816807
        19, 2 * 360 / 8 = 864 MHz
         this value is already set when I look at it in u-boot

CM_CLKSEL_CAM : 0x5
        864 / 5 = 172,8 MHz
        this value is set through the clock framework by the omap3isp
driver code

ISP.TCTRL_CTRL : 0x7
        172,8 / 7 = 24,685... MHz
         this value is set by the omap3isp driver code

However, as stated before, the actual output frequency is NOT 24 MHz
but around 30.

If dpll4 frequency is wrong, what other clock would be affected ?
What can I do to debug this ?
Laurent, I believe you have a camera add-on board for the beagle xm,
could you test and report wether you can reproduce this bug ?

Attached is the boot log with 3.9, with some debugging messages activated.

Thank you for your help,
Regards,

Jean-Philippe Fran?ois
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3.9dmesg
Type: application/octet-stream
Size: 28444 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130517/4fd9064f/attachment-0001.obj>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-29 23:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-17  9:32 3.9 regression : CAM_XCLKA wrong frequency setting jean-philippe francois
2013-05-17 11:20 ` jean-philippe francois
2013-05-17 15:51   ` [PATCH] ARM : omap3 : fix wrong container_of in clock36xx.c Jean-Philippe Francois
2013-05-29 23:05     ` Mike Turquette

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).