From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753177AbdATQgt (ORCPT ); Fri, 20 Jan 2017 11:36:49 -0500 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:38747 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752789AbdATQgG (ORCPT ); Fri, 20 Jan 2017 11:36:06 -0500 Message-ID: <1484929911.2897.70.camel@pengutronix.de> Subject: Re: [PATCH v3 00/24] i.MX Media Driver From: Philipp Zabel To: Hans Verkuil Cc: Steve Longerbeam , robh+dt@kernel.org, mark.rutland@arm.com, shawnguo@kernel.org, kernel@pengutronix.de, fabio.estevam@nxp.com, linux@armlinux.org.uk, mchehab@kernel.org, nick@shmanahar.org, markus.heiser@darmarIT.de, laurent.pinchart+renesas@ideasonboard.com, bparrot@ti.com, geert@linux-m68k.org, arnd@arndb.de, sudipm.mukherjee@gmail.com, minghsiu.tsai@mediatek.com, tiffany.lin@mediatek.com, jean-christophe.trotin@st.com, horms+renesas@verge.net.au, niklas.soderlund+renesas@ragnatech.se, robert.jarzmik@free.fr, songjun.wu@microchip.com, andrew-ct.chen@mediatek.com, gregkh@linuxfoundation.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, devel@driverdev.osuosl.org, Steve Longerbeam Date: Fri, 20 Jan 2017 17:31:51 +0100 In-Reply-To: References: <1483755102-24785-1-git-send-email-steve_longerbeam@mentor.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Hans, On Fri, 2017-01-20 at 14:52 +0100, Hans Verkuil wrote: > Hi Steve, Philipp, > > On 01/07/2017 03:11 AM, Steve Longerbeam wrote: > > In version 3: > > > > Changes suggested by Rob Herring : > > > > - prepended FIM node properties with vendor prefix "fsl,". > > > > - make mipi csi-2 receiver compatible string SoC specific: > > "fsl,imx6-mipi-csi2" instead of "fsl,imx-mipi-csi2". > > > > - redundant "_clk" removed from mipi csi-2 receiver clock-names property. > > > > - removed board-specific info from the media driver binding doc. These > > were all related to sensor bindings, which already are (adv7180) > > or will be (ov564x) covered in separate binding docs. All reference > > board info not related to DT bindings has been moved to > > Documentation/media/v4l-drivers/imx.rst. > > > > - removed "_mipi" from the OV5640 compatible string. > > > > Changes suggested by Vladimir Zapolskiy : > > > > Mostly cosmetic/non-functional changes which I won't list here, except > > for the following: > > > > - spin_lock_irqsave() changed to spin_lock() in a couple interrupt handlers. > > > > - fixed some unnecessary of_node_put()'s in for_each_child_of_node() loops. > > > > - check/handle return code from required reg property of CSI port nodes. > > > > - check/handle return code from clk_prepare_enable(). > > > > Changes suggested by Fabio Estevam : > > > > - switch to VGEN3 Analog Vdd supply assuming rev. C SabreSD boards. > > > > - finally got around to passing valid IOMUX pin config values to the > > pin groups. > > > > Other changes: > > > > - removed the FIM properties that overrided the v4l2 FIM control defaults > > values. This was left-over from a requirement of a customer and is not > > necessary here. > > > > - The FIM must be explicitly enabled in the fim child node under the CSI > > port nodes, using the status property. If not enabled, FIM v4l2 controls > > will not appear in the video capture driver. > > > > - brought in additional media types patch from Philipp Zabel. Use new > > MEDIA_ENT_F_VID_IF_BRIDGE in mipi csi-2 receiver subdev. > > > > - brought in latest platform generic video multiplexer subdevice driver > > from Philipp Zabel (squashed with patch that uses new MEDIA_ENT_F_MUX). > > > > - removed imx-media-of.h, moved those prototypes into imx-media.h. > > Based on the discussion on the mailinglist it seems everyone agrees that this > is the preferred driver, correct? No. I have some major reservations against the custom mem2mem framework embedded in Steve's driver. I think it is a misuse of the media entity links (which should describe hardware connections) for something that should be done at the vb2 level (letting one device's capture EOF interrupt trigger the next device's m2m device_run without going through userspace). Steve and I disagree on that point, so we'd appreciate if we could get some more eyes on the above issue. regards Philipp