Hi John - just saw your post. I think you're looking at a wrong document,
as for A20, the register setting 100 for bits 22:20 is YUV422 16bit - it's
written in the A20 User Manual on page 371. The problem is in fact this
very vague information in the User Manual - it's almost useless. This is
why I'm asking for help from someone who maybe knows the kernel a bit more
- for instance, I'm not even sure which DMA is used for transfers from CSI
to memory, because I have to figure it out from the driver.
I'm also not sure where to search for the driver or more help. This group
seems most professional of all by far - I have tried to contact Allwinner,
but to no avail so far. As for sunxi kernel and drivers, I only know of the
Git branch, but noone there has touched CSI driver for 8 months. Although I
did always look in the 3.4 branch, maybe I should check out mainline...
Anyway, I'll search for the actual solution myself and if I find it post
back - If anyone can speed me up, I'll be most grateful.
On Saturday, March 15, 2014 12:01:41 AM UTC+1, Jon Smirl wrote:
>
> I haven't tried any of this...
>
> Look like you would set the input format...
>
> 22:20 R/W 3 INPUT_FMT
> Input data format
> 000: RAW stream
> 001: reserved
> 010: CCIR656(one channel)
> 011: YUV422
> 100: YUV444({R, B, G} or {Pr, Pb, Y})
>
> When the input format is set YUV444
> 1100: field planar YUV 444
> 1101: field planar YUV 422 UV combined
> 1110: frame planar YUV 444
> 1111: frame planar YUV 422 UV combined
>
> The the output format is always 24b, right?
>
> You're going to have to read the user manual. I don't believe anyone
> has played with this before. But it looks like the hardware supports
> it.
>
> Also - the CSI driver in the sunxi tree is quite old. First thing I'd
> do is update it using the most recent Allwinner CSI driver we can
> locate. You might even get lucky and the newer Allwinner drivers could
> support 16b.
>
>
> On Fri, Mar 14, 2014 at 3:57 PM, Martin Collins
> <[email protected]<javascript:>>
> wrote:
> > On 2014-03-14 10:42, Ivan Kozic wrote:
> >>
> >> If someone knows something, please share - if I had some more
> >> documentation, I would have probably already made the whole thing work,
> >
> > I don't know anything, but by chance I was looking here today:
> > http://dl.linux-sunxi.org/A10/
> > My impression was that there is an 8 bit channel and a 24 bit channel.
> > So perhaps it won't do 16 bits?
> >
> > Martin
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "linux-sunxi" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected] <javascript:>.
> > For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Jon Smirl
> [email protected] <javascript:>
>
--
You received this message because you are subscribed to the Google Groups
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.