Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp474554imu; Fri, 7 Dec 2018 04:13:18 -0800 (PST) X-Google-Smtp-Source: AFSGD/W88fbv7aWWLrAXi1il3cc5z3God6Lg/4anUSs/nhOrIeHlGnJF+eZCFnmeUCVzaTvlzBHM X-Received: by 2002:a62:8c11:: with SMTP id m17mr2000976pfd.224.1544184798702; Fri, 07 Dec 2018 04:13:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544184798; cv=none; d=google.com; s=arc-20160816; b=Em96OD7i78484Lj8RZpv3LuleftB+MSnV8xU1aNUqWxiBDckrTFEgwkI+veRIgQYAZ Hl0xTK7hH1yySqgp+ziBQ4Z+Wwf3wz4wq7Bo80q/vxM6/qSJOc8hfZ/N+qrBuyZmlvm1 TdxOZ7joNOOUYml/avtphzmEKD6xComC5ZDKvvVimBT2ZgWB3z9LCZhbe7sRK/SV8eqY m73ZBrmQWLWNVzQkWYwiGInipRwfHvD5Gu67SJPv2Jx1tDh2ILxfn+2x/GokmoAd1vig J1uUybno8WRmeCGpm1kakeQPMoNp/K5Qmf3nS/TyLn+vA4tahOkUy2LYIMm/qhLsd4po Tf0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=5IQiYOYoeJXPaNyDPojLbp4LGKyk9OlgMsKGDKewvZg=; b=WLFinSsqfbBSBWX7XkRszcCVIEC1xnOhiZglPDQy+cFoQVgDJARuzgDp/I6ztCzJ2y VsMrF4dZEKoARsPk3bmaxZ5DSVxdvd3G+Lv7/KyCpqXCkmrNJcWHZPsH0Hi2zxaN5DMl YzWAsmCj/zDvwzJStW7u4bCF77dG9c1KyFUznNizZxXWt6cA/V28jRl1EYoNJA5vaxwI AobdNQk1vHdz31fc1VJryXcBvaJWbRbaNzqOHplp9AZ4SDhlcNgw+gIfFqYgSQ1dIp2T 0i+Pw4yufL0IbSWPSbboiZvxUVbM93h+W2zl0qy/pLTGdgVWRrEiVNQYXxBygQd8W+rx Z3Pw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bg9si2683441plb.317.2018.12.07.04.13.02; Fri, 07 Dec 2018 04:13:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726079AbeLGMLt (ORCPT + 99 others); Fri, 7 Dec 2018 07:11:49 -0500 Received: from lb1-smtp-cloud7.xs4all.net ([194.109.24.24]:51534 "EHLO lb1-smtp-cloud7.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726013AbeLGMLt (ORCPT ); Fri, 7 Dec 2018 07:11:49 -0500 Received: from [192.168.2.10] ([212.251.195.8]) by smtp-cloud7.xs4all.net with ESMTPA id VEyjg6LbQgJOKVEymgYj6U; Fri, 07 Dec 2018 13:11:47 +0100 Subject: Re: Configure video PAL decoder into media pipeline To: Jagan Teki , Mauro Carvalho Chehab , linux-media , linux-kernel , Lars-Peter Clausen , Philipp Zabel Cc: Michael Trimarchi References: From: Hans Verkuil Message-ID: <850c2502-217c-a9f0-b433-0cd26d0419fd@xs4all.nl> Date: Fri, 7 Dec 2018 13:11:33 +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: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfA2bJyv5rEdDc8irmuQ2ddDc/ibVOStJHLxHFIEfP/heacszTD6o/6anUZeXw64EUQ/Wy/qnkS5jFPjyUFoJgk0QhmqrbJcfdF4cZqXHq+QMllBWbFe1 gLr1VtV56YaqBYNlLfkAPcFbo2blnA1Iv/hEzIFk/JWPiuHq5D+bl+M4D2MY3rOwHAv9yXsbx3/ysmXq6peE+0DuXMTA0TSGMLb0rkCJ59TCukHHRxYoFfdG PEs1DongWUwaU0zzwDo8fTimeodg/+HNJx0MFr73oFod/WF4n9NnWs6VnQ9groeMgGX6NbmeAyXgk9aYuT6aWu8hpzTk3sbSUPJgwIpSHswIT5VjEZ3L+/w6 FqHc2l+66NfLRXxhOaOr7AvoWnfEGQcKMRfQkFf/eZj5ePr5FHk= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/07/2018 12:51 PM, Jagan Teki wrote: > Hi, > > We have some unconventional setup for parallel CSI design where analog > input data is converted into to digital composite using PAL decoder > and it feed to adv7180, camera sensor. > > Analog input => Video PAL Decoder => ADV7180 => IPU-CSI0 Just PAL? No NTSC support? > > The PAL decoder is I2C based, tda9885 chip. We setup it up via dt > bindings and the chip is > detected fine. > > But we need to know, is this to be part of media control subdev > pipeline? so-that we can configure pads, links like what we do on > conventional pipeline or it should not to be part of media pipeline? Yes, I would say it should be part of the pipeline. > > Please advise for best possible way to fit this into the design. > > Another observation is since the IPU has more than one sink, source > pads, we source or sink the other components on the pipeline but look > like the same thing seems not possible with adv7180 since if has only > one pad. If it has only one pad sourcing to adv7180 from tda9885 seems > not possible, If I'm not mistaken. Correct, in all cases where the adv7180 is used it is directly connected to the video input connector on a board. So to support this the adv7180 driver should be modified to add an input pad so you can connect the decoder. It will be needed at some point anyway once we add support for connector entities. Regards, Hans > > I tried to look for similar design in mainline, but I couldn't find > it. is there any design similar to this in mainline? > > Please let us know if anyone has any suggestions on this. > > Jagan. >