Re: activate DMA of QCI (PXA320)

Judith Baumgarten <[email protected]>
Newsgroups gmane.linux.ports.arm.general
Message-ID <[email protected]>
Hi Aric,

yeah, you're right. The driver was just written for PXA270.
It took a lot of work, but now it works more or less for RAW image  
capturing. I hadn't the time to get it also working for colored  
capturing.
Due to the fact, that the QCI of PXA320 has 4 dedicated DMA Channels,  
you have first to change all DMA related register addresses (change  
DCSR to CIDCSR for example). See  
http://www.marvell.com/files/products/cellular/application/PXA3xx_DM_Vol_III.pdf for more information about the addresses. In Addition you have to discover the changes in status registers to get it to  
work.
Which Kernel do you use? I actually use 2.6.28.7 so the base of my  
code isn't really up to date.

Judith

Aric D. Blumer schrieb:
> Hi, Judith.
>
> I'm just wondering if you ever got this working.  I have a platform with
> a PXA320 and an OV3640 I need to get working.  It doesn't look like the
> drivers/media/video/pxa_camera.c code in mainline knows anything about
> the PXA3xx family.
>
> Thanks,
> Aric.
>
>
>
>> From: Judith Baumgarten <[email protected]>
>> Date: Mon, Jul 13, 2009 at 4:47 AM
>> Subject: activate DMA of PXA320s Quick Capture Interface
>> To: [email protected]
>>
>>
>> Hi,
>>
>> I try to use the QCI of PXA320, but can't start the DMA. Coming from a
>> PXA270, where I used the pxa-camera driver, my intension was to change
>> this, to get it to work with PXA320. I changed the register addresses
>> (hopefully correct) and adapted the DMA descriptors,but since there is
>> no DMA enable bit or something equal, I don't know how to go on.
>>
>> Does somebody know how to get it to work?
>>
>> Thanks
>> Judith
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>>
>>
>> -------------------------------------------------------------------
>> List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
>> FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
>> Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php
>>
>>
>
>


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.