Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1615960imu; Sat, 8 Dec 2018 03:50:34 -0800 (PST) X-Google-Smtp-Source: AFSGD/U/h+Em3XvByJKH1jUSUHHQXgi5cUK3t3h8IJuuqqoe7LWy2uJewjt4jw2uYDMyXnRcr8pQ X-Received: by 2002:a17:902:9045:: with SMTP id w5mr5240191plz.32.1544269834335; Sat, 08 Dec 2018 03:50:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544269834; cv=none; d=google.com; s=arc-20160816; b=lG5cxqy4Hr9kW/YYwx96a0L6ECL2W7p3LLgM2rqMNmCOS2SPFthN6NrsawpYnInCFU PCzxZ2rHDZVTf6NAlS507zVnRrlT+lsxMz2yjIJx1QPEbPNwanpNg86ah2i834mVIyCN ovbxdtsKMfYDAJOSkzNTwPl7xtQ6nzwXjUJ5YRo3VqVBHUsd3uqbYaxt4feoBnwRd3jT dq9HJuQbTLol5ZFED4KZOIhpF1Dn3cHeO4GjcZJ3fC/Uh/uAwAdDqqBhQ+iDAb5qpoO6 lV90FQLePEnG9F2Iv9t/Y9Z4kdC2EEggpPzHe2hQCqAQZYdizFsfe+JDiDblw3Mrtd0o U30w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=W9CCf7dNTH1Y7U6PTjl/HQiX3qRW6tBNDCqQCqqnZ6M=; b=jF32y1+2r1MKtbeVQtTHlMl1UO+KIfc86ppy4nBp6lLuEJ5olfK/u5oZvOdlJV3lBI d7uvcjmmIcN5qfzyJQWn2/KnclItXIizbP18z2FEEVz/Pu6+htfKTQ+g8pprUOdsC4qv Tj4FG/fh6OHP7EbyyrYA2XOm6+dOxhIj5IabsW5Oyb1y2il5GmEh1Ev6GbQGfZ9CbLrf NjwhjG44jRuCp6K2H48UnXdiWmUbr2S0cAiox0SqINpC6CDwvkmHV7W0tKhsNjvCNHQG aDvr/JrbE5H1rEbnDJbak5mLaDIWAGQvXK1hJO+l4vqEudR8EeR+RUGoka8+DQ/XsHG5 xRpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=R7bI+o23; 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 r197si5895984pfc.116.2018.12.08.03.50.17; Sat, 08 Dec 2018 03:50:34 -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; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=R7bI+o23; 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 S1726183AbeLHLsh (ORCPT + 99 others); Sat, 8 Dec 2018 06:48:37 -0500 Received: from mail-wr1-f48.google.com ([209.85.221.48]:44784 "EHLO mail-wr1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726112AbeLHLsg (ORCPT ); Sat, 8 Dec 2018 06:48:36 -0500 Received: by mail-wr1-f48.google.com with SMTP id z5so6090011wrt.11 for ; Sat, 08 Dec 2018 03:48:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=W9CCf7dNTH1Y7U6PTjl/HQiX3qRW6tBNDCqQCqqnZ6M=; b=R7bI+o233jDIv7GjodP+mDjcLtGs6xl1Scy5lx+FK2eZbtjeFYRzubJT7l/rGN5qJy i/NMyiwLDeyExa13zngtc+0SCGlWv13Tyx30nl52WhSU4mesMKNtYnjmmune9vfJe23q VuPnENUVqozY3ePPso3BqQxTc9X3+8AImz9Ys= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=W9CCf7dNTH1Y7U6PTjl/HQiX3qRW6tBNDCqQCqqnZ6M=; b=PeVTTXLHg33jaD+T9oXCLpTRnM0dFloB3ntyvDhkv18o3pECQ5kYzuqiGqKLB5rc7P Q3tZkxiME7qxDJtVaouwIe3ckuK+Fh0P43FMYgP6tdR3bAK9rMYaaggfScKb6qQr1MgZ U7o2+z9NBF87s79s1UixLwCZqjoAgk6t/UvD/S7qy+OZAxntIiSAGB+qUnHo4GbLKudW kIhI+y3dpyotpU3+CWLfIaGisiyvbUrsCupFUJINV/sYj/+lOux2uBiHB3RBNtz6O1Cn 1b0odyU7/+OBqQZt4igdC2DYGngQHytJF8m9DdYdS6REOozfwTFQVYucBN+mLAhMjA8n FOkg== X-Gm-Message-State: AA+aEWY0uiXkf/oMeYecLfxqNEoLzD2JF2lpjpnfWXEpASn3TK/Riuko Rq0GwW7uZ5Qx5WpA3vP7MAeaA9zsKlB+nljVOJ3f7A== X-Received: by 2002:adf:9422:: with SMTP id 31mr4734372wrq.106.1544269714648; Sat, 08 Dec 2018 03:48:34 -0800 (PST) MIME-Version: 1.0 References: <850c2502-217c-a9f0-b433-0cd26d0419fd@xs4all.nl> In-Reply-To: <850c2502-217c-a9f0-b433-0cd26d0419fd@xs4all.nl> From: Michael Nazzareno Trimarchi Date: Sat, 8 Dec 2018 12:48:23 +0100 Message-ID: Subject: Re: Configure video PAL decoder into media pipeline To: hverkuil@xs4all.nl Cc: Jagan Teki , mchehab@kernel.org, linux-media@vger.kernel.org, LKML , Lars-Peter Clausen , Philipp Zabel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi On Fri, Dec 7, 2018 at 1:11 PM Hans Verkuil wrote: > > 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? > For now does not matter. I have registere the TUNER that support it but seems that media-ctl is not suppose to work with the MEDIA_ENT_F_TUNER Is this correct? > > > > 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. > Ok I have created a draft patch to add the adv some new endpoint but is sufficient to declare tuner type in media control? Michael > > > > 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. > > > -- | Michael Nazzareno Trimarchi Amarula Solutions BV | | COO - Founder Cruquiuskade 47 | | +31(0)851119172 Amsterdam 1018 AM NL | | [`as] http://www.amarulasolutions.com |