* [PATCH v12 0/2] Initial Allwinner V3s CSI Support [not found] <1540886988-27696-1-git-send-email-yong.deng@magewell.com> @ 2018-11-13 13:35 ` Maxime Ripard 2018-11-14 8:40 ` Yong 2018-11-14 10:54 ` Sakari Ailus 2018-12-26 10:29 ` [linux-sunxi] " Ondřej Jirman 2 siblings, 1 reply; 5+ messages in thread From: Maxime Ripard @ 2018-11-13 13:35 UTC (permalink / raw) To: linux-arm-kernel Hi Yong, On Tue, Oct 30, 2018 at 04:09:48PM +0800, Yong Deng wrote: > I can't make v4l2-compliance always happy. > The V3s CSI support many pixformats. But they are not always available. > It's dependent on the input bus format (MEDIA_BUS_FMT_*). > Example: > V4L2_PIX_FMT_SBGGR8: MEDIA_BUS_FMT_SBGGR8_1X8 > V4L2_PIX_FMT_YUYV: MEDIA_BUS_FMT_YUYV8_2X8 > But I can't get the subdev's format code before starting stream as the > subdev may change it. So I can't know which pixformats are available. > So I exports all the pixformats supported by SoC. > The result is the app (v4l2-compliance) is likely to fail on streamon. > > This patchset add initial support for Allwinner V3s CSI. > > Allwinner V3s SoC features a CSI module with parallel interface. > > This patchset implement a v4l2 framework driver and add a binding > documentation for it. I've tested this version today, and I needed this patch to make it work on top of v4.20: http://code.bulix.org/9o8fw5-503690?raw Once that patch applied, my tests were working as expected. If that make sense, could you resubmit a new version with these merged so that we can try to target 4.21? Thanks! Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 228 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20181113/4cf77f66/attachment.sig> ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v12 0/2] Initial Allwinner V3s CSI Support 2018-11-13 13:35 ` [PATCH v12 0/2] Initial Allwinner V3s CSI Support Maxime Ripard @ 2018-11-14 8:40 ` Yong 0 siblings, 0 replies; 5+ messages in thread From: Yong @ 2018-11-14 8:40 UTC (permalink / raw) To: linux-arm-kernel Hi Maxime, On Tue, 13 Nov 2018 14:35:18 +0100 Maxime Ripard <maxime.ripard@bootlin.com> wrote: > Hi Yong, > > On Tue, Oct 30, 2018 at 04:09:48PM +0800, Yong Deng wrote: > > I can't make v4l2-compliance always happy. > > The V3s CSI support many pixformats. But they are not always available. > > It's dependent on the input bus format (MEDIA_BUS_FMT_*). > > Example: > > V4L2_PIX_FMT_SBGGR8: MEDIA_BUS_FMT_SBGGR8_1X8 > > V4L2_PIX_FMT_YUYV: MEDIA_BUS_FMT_YUYV8_2X8 > > But I can't get the subdev's format code before starting stream as the > > subdev may change it. So I can't know which pixformats are available. > > So I exports all the pixformats supported by SoC. > > The result is the app (v4l2-compliance) is likely to fail on streamon. > > > > This patchset add initial support for Allwinner V3s CSI. > > > > Allwinner V3s SoC features a CSI module with parallel interface. > > > > This patchset implement a v4l2 framework driver and add a binding > > documentation for it. > > I've tested this version today, and I needed this patch to make it > work on top of v4.20: > http://code.bulix.org/9o8fw5-503690?raw > > Once that patch applied, my tests were working as expected. > > If that make sense, could you resubmit a new version with these merged > so that we can try to target 4.21? OK. I will check it. Thanks, Yong ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v12 0/2] Initial Allwinner V3s CSI Support [not found] <1540886988-27696-1-git-send-email-yong.deng@magewell.com> 2018-11-13 13:35 ` [PATCH v12 0/2] Initial Allwinner V3s CSI Support Maxime Ripard @ 2018-11-14 10:54 ` Sakari Ailus 2018-12-26 10:29 ` [linux-sunxi] " Ondřej Jirman 2 siblings, 0 replies; 5+ messages in thread From: Sakari Ailus @ 2018-11-14 10:54 UTC (permalink / raw) To: linux-arm-kernel On Tue, Oct 30, 2018 at 04:09:48PM +0800, Yong Deng wrote: > I can't make v4l2-compliance always happy. > The V3s CSI support many pixformats. But they are not always available. > It's dependent on the input bus format (MEDIA_BUS_FMT_*). > Example: > V4L2_PIX_FMT_SBGGR8: MEDIA_BUS_FMT_SBGGR8_1X8 > V4L2_PIX_FMT_YUYV: MEDIA_BUS_FMT_YUYV8_2X8 > But I can't get the subdev's format code before starting stream as the > subdev may change it. So I can't know which pixformats are available. > So I exports all the pixformats supported by SoC. > The result is the app (v4l2-compliance) is likely to fail on streamon. > > This patchset add initial support for Allwinner V3s CSI. > > Allwinner V3s SoC features a CSI module with parallel interface. > > This patchset implement a v4l2 framework driver and add a binding > documentation for it. Applied with this diff from Maxime: <URL:http://code.bulix.org/vf7b6g-504515?raw> The MAINTAINERS entry was also moved to the first patch. Thanks! -- Sakari Ailus e-mail: sakari.ailus at iki.fi ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-sunxi] [PATCH v12 0/2] Initial Allwinner V3s CSI Support [not found] <1540886988-27696-1-git-send-email-yong.deng@magewell.com> 2018-11-13 13:35 ` [PATCH v12 0/2] Initial Allwinner V3s CSI Support Maxime Ripard 2018-11-14 10:54 ` Sakari Ailus @ 2018-12-26 10:29 ` Ondřej Jirman 2018-12-26 10:38 ` Yong 2 siblings, 1 reply; 5+ messages in thread From: Ondřej Jirman @ 2018-12-26 10:29 UTC (permalink / raw) To: Yong Deng Cc: Mark Rutland, Neil Armstrong, Maxime Ripard, linux-sunxi, Laurent Pinchart, Chen-Yu Tsai, Hans Verkuil, Geert Uytterhoeven, linux-media, devicetree, Sakari Ailus, Arnd Bergmann, Rob Herring, Thomas Gleixner, Mauro Carvalho Chehab, linux-arm-kernel, Greg Kroah-Hartman, linux-kernel, Todor Tomov, Jacopo Mondi, Philipp Zabel, Andrew Morton, David S. Miller Hello, On Tue, Oct 30, 2018 at 04:09:48PM +0800, Yong Deng wrote: > I can't make v4l2-compliance always happy. > The V3s CSI support many pixformats. But they are not always available. > It's dependent on the input bus format (MEDIA_BUS_FMT_*). > Example: > V4L2_PIX_FMT_SBGGR8: MEDIA_BUS_FMT_SBGGR8_1X8 > V4L2_PIX_FMT_YUYV: MEDIA_BUS_FMT_YUYV8_2X8 > But I can't get the subdev's format code before starting stream as the > subdev may change it. So I can't know which pixformats are available. > So I exports all the pixformats supported by SoC. > The result is the app (v4l2-compliance) is likely to fail on streamon. > > This patchset add initial support for Allwinner V3s CSI. I've tested your patches on A83T and CSI works on that SoC too. I'll send DTS patches later. One thing I noticed is that, when you cat the regmap registers file in debugfs while streaming, the kernel locks up hard. I was not able to extract any logs. regards, Ondrej _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-sunxi] [PATCH v12 0/2] Initial Allwinner V3s CSI Support 2018-12-26 10:29 ` [linux-sunxi] " Ondřej Jirman @ 2018-12-26 10:38 ` Yong 0 siblings, 0 replies; 5+ messages in thread From: Yong @ 2018-12-26 10:38 UTC (permalink / raw) To: megous Cc: Mark Rutland, Neil Armstrong, Maxime Ripard, 'Ondřej Jirman' via linux-sunxi, Laurent Pinchart, Chen-Yu Tsai, Hans Verkuil, Geert Uytterhoeven, linux-media, devicetree, Sakari Ailus, Arnd Bergmann, Rob Herring, Thomas Gleixner, Mauro Carvalho Chehab, linux-arm-kernel, Greg Kroah-Hartman, linux-kernel, Todor Tomov, Jacopo Mondi, Philipp Zabel, Andrew Morton, David S. Miller Hi, On Wed, 26 Dec 2018 11:29:36 +0100 'Ondřej Jirman' via linux-sunxi <linux-sunxi@googlegroups.com> wrote: > Hello, > > On Tue, Oct 30, 2018 at 04:09:48PM +0800, Yong Deng wrote: > > I can't make v4l2-compliance always happy. > > The V3s CSI support many pixformats. But they are not always available. > > It's dependent on the input bus format (MEDIA_BUS_FMT_*). > > Example: > > V4L2_PIX_FMT_SBGGR8: MEDIA_BUS_FMT_SBGGR8_1X8 > > V4L2_PIX_FMT_YUYV: MEDIA_BUS_FMT_YUYV8_2X8 > > But I can't get the subdev's format code before starting stream as the > > subdev may change it. So I can't know which pixformats are available. > > So I exports all the pixformats supported by SoC. > > The result is the app (v4l2-compliance) is likely to fail on streamon. > > > > This patchset add initial support for Allwinner V3s CSI. > > I've tested your patches on A83T and CSI works on that SoC too. I'll send > DTS patches later. > > One thing I noticed is that, when you cat the regmap registers file in debugfs > while streaming, the kernel locks up hard. I was not able to extract any logs. May be some registers can't be read when streaming ? Like read-clear regs ? Or multi CPU core access regs at the same time may cause the bus lock up? Thanks, Yong _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-12-26 10:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1540886988-27696-1-git-send-email-yong.deng@magewell.com>
2018-11-13 13:35 ` [PATCH v12 0/2] Initial Allwinner V3s CSI Support Maxime Ripard
2018-11-14 8:40 ` Yong
2018-11-14 10:54 ` Sakari Ailus
2018-12-26 10:29 ` [linux-sunxi] " Ondřej Jirman
2018-12-26 10:38 ` Yong
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox