Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver

From: Michael Zoran
Date: Mon Mar 20 2017 - 12:08:12 EST


On Mon, 2017-03-20 at 12:33 -0300, Mauro Carvalho Chehab wrote:
> Em Mon, 20 Mar 2017 08:11:41 -0700
> Michael Zoran <mzoran@xxxxxxxxxxxx> escreveu:
>
> > On Mon, 2017-03-20 at 11:58 -0300, Mauro Carvalho Chehab wrote:
> > > Em Mon, 20 Mar 2017 04:08:21 -0700
> > > Michael Zoran <mzoran@xxxxxxxxxxxx> escreveu:
> > > ÂÂ
> > > > On Mon, 2017-03-20 at 07:58 -0300, Mauro Carvalho Chehab
> > > > wrote:ÂÂ
> > > > > Em Sun, 19 Mar 2017 22:11:07 -0300
> > > > > Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxxxxx> escreveu:
> > > > > ÂÂÂÂ
> > > > > > Em Sun, 19 Mar 2017 10:04:28 -0700
> > > > > > Michael Zoran <mzoran@xxxxxxxxxxxx> escreveu:
> > > > > > ÂÂÂÂ
> > > > > > > A working DT that I tried this morning with the current
> > > > > > > firmware
> > > > > > > is
> > > > > > > posted here:
> > > > > > > http://lists.infradead.org/pipermail/linux-rpi-kernel/201
> > > > > > > 7-Ma
> > > > > > > rch/
> > > > > > > 005924
> > > > > > > .html
> > > > > > >
> > > > > > > It even works with minecraft_pi!ÂÂÂÂÂÂ
> > > > >
> > > > > ÂÂÂÂ
> > > >
> > > > Hi, can you e-mail out your config.txt?ÂÂDo you have audio
> > > > enabled
> > > > in
> > > > config.txt?ÂÂ
> > >
> > > yes, I have this:
> > >
> > > $ cat config.txt |grep -i audio
> > > # uncomment to force a HDMI mode rather than DVI. This can make
> > > audio
> > > work in
> > > # Enable audio (loads snd_bcm2835)
> > > dtparam=audio=on
> > >
> > > Full config attached.
> > >
> > > Thanks,
> > > Mauro
> > > ÂÂ
> >
> > Are you using Eric Anholt's HDMI Audio driver that's included in
> > VC4?Â
> > That could well be incompatible with the firmware driver. Or are
> > you
> > using a half mode of VC4 for audio and VCHIQ for video?
>
> I'm using vanilla staging Kernel, from Greg's tree:
> https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.
> git/commit/?h=staging-
> next&id=7bc49cb9b9b8bad32536c4b6d1aff1824c1adc6c
>
> Plus the DWC2 fixup I wrote and DT changes you pointed
> (see enclosed).
>
> I can disable the audio overlay here, as I don't have anythingÂ
> connected to audio inputs/outputs.
>
> Regards,
> Mauro
>

Why is the vchiq node in the tree twice? For me to even respond anymore
you you going to have to include your entire dtb(whatever you are
using) run through dtc -I dtb -O dts. You are also going to have to
include your exact .config file you used for building, and exactly what
these DWC2 fixeups are.

You don't even state exactly what platform you are using, Is it even an
RPI of some kind.