Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754252AbdLDNpH (ORCPT ); Mon, 4 Dec 2017 08:45:07 -0500 Received: from lb1-smtp-cloud8.xs4all.net ([194.109.24.21]:56865 "EHLO lb1-smtp-cloud8.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754051AbdLDNpD (ORCPT ); Mon, 4 Dec 2017 08:45:03 -0500 Subject: Re: [PATCH 0/9] media: imx: Add better OF graph support To: Steve Longerbeam , Philipp Zabel , Mauro Carvalho Chehab , Greg Kroah-Hartman Cc: linux-media@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Russell King , Steve Longerbeam References: <1509223009-6392-1-git-send-email-steve_longerbeam@mentor.com> From: Hans Verkuil Message-ID: Date: Mon, 4 Dec 2017 14:44:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1509223009-6392-1-git-send-email-steve_longerbeam@mentor.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfFTLwE6HAV4AybjhAGPGnAGwkiotmLQI0ejdkx3R297OOLFahoqs2NNhzjpmdNYBOvG0qnyA2lA8RJ9Ua8ArWaubA9hRouEpEkUN1Q1bM1MIPY/Htuxn yDI2QyILG3/3/pFiz2vkUtqc87c96+bvWIGzRESP0WlKR0Bd9svkRwWD6YQqTDLzKVqFXgnzfqJfAxFql87cYaMCQg7T0HBKulZieJcyHN5J8S7heVkH8Bps y4QPy8KO9BbgnjaXOPh6hw8RXtl4OqWhS+WJwENeO0Yz41po38lu7DqC/X9EGFyP5C9BNsqn7Vt697hUiqr43+m0dd8ZPfXppg0xoEKzkAJzUj3v7Ju+0he1 Svm/LSmu6Ddsp5hIPgj/Wc7aOIWuf4tDH+ki77fLjuA5VX8cB35LzeC6NDlbY/SWXBFcnh9Fumjl+Os48ePSXR0FapDSPg== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3013 Lines: 69 Hi Steve, On 10/28/2017 10:36 PM, Steve Longerbeam wrote: > This is a set of patches that improve support for more complex OF > graphs. Currently the imx-media driver only supports a single device > with a single port connected directly to either the CSI muxes or the > MIPI CSI-2 receiver input ports. There can't be a multi-port device in > between. This patch set removes those limitations. > > For an example taken from automotive, a camera sensor or decoder could > be literally a remote device accessible over a FPD-III link, via TI > DS90Ux9xx deserializer/serializer pairs. This patch set would support > such OF graphs. > > There are still some assumptions and restrictions, regarding the equivalence > of device-tree ports, port parents, and endpoints to media pads, entities, > and links that have been enumerated in the TODO file. Before I merge this patch series I wanted to know if Sakari's async work that has now been merged (see https://www.spinics.net/lists/linux-media/msg124082.html) affects this patch series. It still applies cleanly, but I wondered if the subnotifier improvements would simplify this driver. Of course, any such simplification can also be done after this series has been applied, but I don't know what your thoughts are on this. Regards, Hans > This patch set supersedes the following patches submitted earlier: > > "[PATCH v2] media: staging/imx: do not return error in link_notify for unknown sources" > "[PATCH RFC] media: staging/imx: fix complete handler" > > Tested by: Steve Longerbeam > on SabreLite with the OV5640 > > Tested-by: Philipp Zabel > on Nitrogen6X with the TC358743. > > Tested-by: Russell King > with the IMX219 > > > Steve Longerbeam (9): > media: staging/imx: get CSI bus type from nearest upstream entity > media: staging/imx: remove static media link arrays > media: staging/imx: of: allow for recursing downstream > media: staging/imx: remove devname string from imx_media_subdev > media: staging/imx: pass fwnode handle to find/add async subdev > media: staging/imx: remove static subdev arrays > media: staging/imx: convert static vdev lists to list_head > media: staging/imx: reorder function prototypes > media: staging/imx: update TODO > > drivers/staging/media/imx/TODO | 63 +++- > drivers/staging/media/imx/imx-ic-prp.c | 4 +- > drivers/staging/media/imx/imx-media-capture.c | 2 + > drivers/staging/media/imx/imx-media-csi.c | 187 +++++----- > drivers/staging/media/imx/imx-media-dev.c | 400 ++++++++++------------ > drivers/staging/media/imx/imx-media-internal-sd.c | 253 +++++++------- > drivers/staging/media/imx/imx-media-of.c | 278 ++++++++------- > drivers/staging/media/imx/imx-media-utils.c | 122 +++---- > drivers/staging/media/imx/imx-media.h | 187 ++++------ > 9 files changed, 722 insertions(+), 774 deletions(-) >