Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp450896imu; Fri, 7 Dec 2018 03:52:05 -0800 (PST) X-Google-Smtp-Source: AFSGD/UEM0GCaoRdXLDfxb8auiW1gXECUJFct6P6UCiGaoav308ZvqX3sh3aTDmEcKcJyfKf3V4y X-Received: by 2002:a63:6ecf:: with SMTP id j198mr1691822pgc.3.1544183525884; Fri, 07 Dec 2018 03:52:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544183525; cv=none; d=google.com; s=arc-20160816; b=nQp5C0S+OQlAdoBf8QOhbqVU66JhizI73t7Npn5zt6FyVkd3Q7MzMiCvBO7rp1a3JT VZwmCjWetQggKZsuqo80IVhTKdOvRGdaTLBiyaUliq8RqiZNgngTSVOiu9TakSGigD6M Sh1+f6nt3MthrdhGPcIsmvMkPUNhHMp2L4jawNlnAHyAgTbLmREX6klj61PxVCo81F9M 5O5ro40noG9szrIZp+k3vEK4fmDIBlaenhMY0kS7gzByCMNgzzdU+T/Hzr7OdrghTJFp vaJBT/XFT3sfAOr9GXdqkwtoeeyEpk6z4h8LMNEig9JlMfX3VvXspyvjLuJc64Ik7tIo fqMQ== 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 :mime-version:dkim-signature; bh=rZAIGP7O5fNoD9bmI40Nayj6bpWKGU7dUMFK30ASYDQ=; b=rxVMiXzD+wIXlWX8dpIQWKd7mFXGO6ajK4Haj6LK7RQRpTnC6eUdmfWcyIMbwwfNxU +/VpcM7wYfzA5lHdHQ40D0xE2KvPmPF4Eb3g1WJSic9oYLh/IJFrqqng4jIRLa87EMPp HM6M7Sa249YAIDin3+hxx0TzwwHcF3rF7rWp0+jV9wrggeMdeQhMtiOdh7FbaadVcLmY +gEGzed+YFsgU6YbO/nTp3m6QwUoE1eoA7GGnpLTofelEUNWlVDCwEjX27LYnPL7EsuM U0YYk18xS/9mTrMnzR9nOVjNbwFHhJRYy80kvf5qjhCMgz3ipalLMbppGskeOWEKhH1H HYZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=CvQhIsZ9; 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 z11si2966492pfg.107.2018.12.07.03.51.49; Fri, 07 Dec 2018 03:52:05 -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=CvQhIsZ9; 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 S1726043AbeLGLvN (ORCPT + 99 others); Fri, 7 Dec 2018 06:51:13 -0500 Received: from mail-it1-f182.google.com ([209.85.166.182]:39873 "EHLO mail-it1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725988AbeLGLvN (ORCPT ); Fri, 7 Dec 2018 06:51:13 -0500 Received: by mail-it1-f182.google.com with SMTP id a6so6590915itl.4 for ; Fri, 07 Dec 2018 03:51:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=rZAIGP7O5fNoD9bmI40Nayj6bpWKGU7dUMFK30ASYDQ=; b=CvQhIsZ9hkaXvZJi9Dv+jU4pmh1zIrA8WD+cBMxesGjAusQDjclxTKNnMbRDT0z4ty uKLdP8AgD+lWb25+L+ngkMD30MM99Mbs8aGxU2xvYBt2m/goiWToMZcYpGUKa29b0nSY PFIB+u4h12RlYCMNiypz/5bzE9ElapwMJUono= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=rZAIGP7O5fNoD9bmI40Nayj6bpWKGU7dUMFK30ASYDQ=; b=Ly4CYHlSGsGeBMV/GRDkq0nFUoFWoyv5N4lLhcCbsRO/8KD63m2uGChaHVs+GPC30G SitQsJpWryVqKc+eVa+LStndR4F/HDYbC75sdLFZ7mWjyJMEFRE5H/t2f1XOisca9x/1 bF6WAHvo8SZ5ZnWPOGjxHJqwgO7mfXPUKKztlmQew/AfqR0ZcQLaEF3HIpfgz2hiLJIw jcQfjEkQHeXPPzyQz8bgOKA+MIA4FJAFDpzYVcbPcc67HCEqTChGs4AhFu131s+4g9gf 4a4iOqVpvmVkxBuEg8uypqP+VwWMLDpOBZUQb1dXxpoViUGGVj4gD0MaBn2J9jPXz5oY 3n9A== X-Gm-Message-State: AA+aEWZKpID9CsyAJRkSMkYKWJ1tVkdcMAHHpdfk0uQ3a5nnPDGxfHKQ Ltrcjvapdxt49gEKzZk7Li0670MBZG+5w+ola5rsnQ== X-Received: by 2002:a24:4f07:: with SMTP id c7mr1792635itb.107.1544183471967; Fri, 07 Dec 2018 03:51:11 -0800 (PST) MIME-Version: 1.0 From: Jagan Teki Date: Fri, 7 Dec 2018 17:21:00 +0530 Message-ID: Subject: Configure video PAL decoder into media pipeline To: Mauro Carvalho Chehab , linux-media , linux-kernel , Lars-Peter Clausen , Philipp Zabel Cc: Michael Trimarchi 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, 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 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? 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. 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. -- Jagan Teki Senior Linux Kernel Engineer | Amarula Solutions U-Boot, Linux | Upstream Maintainer Hyderabad, India.