[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1485856168.2932.11.camel@pengutronix.de>
Date: Tue, 31 Jan 2017 10:49:28 +0100
From: Philipp Zabel <p.zabel@...gutronix.de>
To: Steve Longerbeam <slongerbeam@...il.com>
Cc: Russell King - ARM Linux <linux@...linux.org.uk>,
robh+dt@...nel.org, mark.rutland@....com, shawnguo@...nel.org,
kernel@...gutronix.de, fabio.estevam@....com, mchehab@...nel.org,
hverkuil@...all.nl, nick@...anahar.org, markus.heiser@...marIT.de,
laurent.pinchart+renesas@...asonboard.com, bparrot@...com,
geert@...ux-m68k.org, arnd@...db.de, sudipm.mukherjee@...il.com,
minghsiu.tsai@...iatek.com, tiffany.lin@...iatek.com,
jean-christophe.trotin@...com, horms+renesas@...ge.net.au,
niklas.soderlund+renesas@...natech.se, robert.jarzmik@...e.fr,
songjun.wu@...rochip.com, andrew-ct.chen@...iatek.com,
gregkh@...uxfoundation.org, devel@...verdev.osuosl.org,
devicetree@...r.kernel.org,
Steve Longerbeam <steve_longerbeam@...tor.com>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-media@...r.kernel.org
Subject: Re: [PATCH v3 00/24] i.MX Media Driver
On Mon, 2017-01-30 at 17:22 -0800, Steve Longerbeam wrote:
>
> On 01/30/2017 04:45 PM, Russell King - ARM Linux wrote:
> >
> > Hi,
> >
> > Trying this driver with an imx219 camera (which works with Philipp's
> > driver) results in not much happening... no /dev/media* node for it,
> > no subdevs, no nothing. No clues as to what's missing either. Only
> > messages from imx-media are from registering the various subdevs.
> >
> > [ 37.444877] imx-media: Registered subdev imx6-mipi-csi2
> > [ 37.444973] imx-media: Registered subdev imx219 0-0010
> > [ 38.868740] imx-media: Registered subdev ipu1_ic_prpenc
> > [ 38.869265] imx-media: Registered subdev ipu1_ic_prpvf
> > [ 38.869425] imx-media: Registered subdev ipu1_ic_pp0
> > [ 38.870086] imx-media: Registered subdev ipu1_ic_pp1
> > [ 38.871510] imx-media: Registered subdev ipu2_ic_prpenc
> > [ 38.871743] imx-media: Registered subdev ipu1_smfc0
> > [ 38.873043] imx-media: Registered subdev ipu1_smfc1
> > [ 38.873225] imx-media: Registered subdev ipu2_ic_prpvf
> > [ 38.875027] imx-media: Registered subdev ipu2_smfc0
> > [ 38.875320] imx-media: Registered subdev ipu2_ic_pp0
> > [ 38.877148] imx-media: Registered subdev ipu2_smfc1
> > [ 38.877436] imx-media: Registered subdev ipu2_ic_pp1
> > [ 38.932089] imx-media: Registered subdev camif0
> > [ 38.956538] imx-media: Registered subdev camif1
> > [ 38.959148] imx-media: Registered subdev camif2
> > [ 38.964353] imx-media: Registered subdev camif3
> > [ 206.502077] imx-media: Registered subdev ipu1_csi0
> > [ 206.503304] imx-media: Registered subdev ipu1_csi1
> > [ 206.503814] imx-media: Registered subdev ipu2_csi0
> > [ 206.504281] imx-media: Registered subdev ipu2_csi1
> >
> > I also get:
> >
> > [ 37.200072] imx6-mipi-csi2: data lanes: 2
> > [ 37.200077] imx6-mipi-csi2: flags: 0x00000200
> >
> > and from what I can see, all modules from drivers/staging/media/imx/ are
> > loaded (had to load imx-csi by hand because of the brokenness in the
> > drivers/gpu/ipu code attaching an device_node pointer after registering
> > the platform device, which changes what userspace sees in the modalias
> > file.)
> >
> > Any clues at what to look at?
>
> Hi Russell,
>
> I'm not familiar with IMX219, can you send me the source for the
> imx219 subdev? I don't see it in 4.10-rc1.
>
> I'm also having trouble finding a datasheet for it, but from what
> I've read, it has a MIPI CSI-2 interface. It should work fine as long
> as it presents a single source pad, registers asynchronously, and
> sets its entity function to MEDIA_ENT_F_CAM_SENSOR.
What about MEDIA_ENT_F_VID_IF_BRIDGE?
regards
Philipp
Powered by blists - more mailing lists