From: Vladimir Vassilev <vladimir@logicom-bg.com>
To: linux-omap-open-source@linux.omap.com
Subject: Issues with camera interface on OMAP 5912.
Date: Fri, 14 Jul 2006 09:21:47 +0300 [thread overview]
Message-ID: <44B737FB.8070604@logicom-bg.com> (raw)
Hello,
We are trying to get the camera interface on OMAP 5912 (OSK) running
(using 2.6.16-omap1 kernel). The following reasons for this not to work
were discovered (in chronological order):
1. The call to clk_enable(clk_get(0, "armper_ck")); inside
omap16xx_cam_init returned 0 which later on caused division by zero
exception. After investigating this we noticed the clock "armper_ck"
used is not declared anywhere. grep returns nothing except a few other
references to it, but no declaration ( there is no reference in
linux-2.6.16-omap1/arch/arm/mach-omap1/clock.h).
2. The camera interface register block is not at 0x0xFFFB6800 as in the
16xx version (H2), but either on 0x2007D800 or 0x3007D800 as in 17xx
(H3) this is being set wrong for OSK and the production silicon version
of the chip (Actually the C revision of the 5912 had 0xFFFB6800
specified as the address and this has changed in the D revision which is
the production version.). However just changing the address results in a
memory access violation and a crash as soon as the register is accessed.
This is fixed after a ioremap is called. Finally we managed to get the
external clock generation out.
I wonder if someone else has already done this and has a working patch.
Otherwise we hope to get any help available and provide such patch to
the community after we cleanup our fixes.
Regards,
Vladimir
reply other threads:[~2006-07-14 6:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44B737FB.8070604@logicom-bg.com \
--to=vladimir@logicom-bg.com \
--cc=linux-omap-open-source@linux.omap.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox