Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp643129ybh; Tue, 10 Mar 2020 05:44:18 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsH4IzcOfwkiYhkibTrTwpIJh9cdSXkHTBr8OqPGjLRsHmFqzl6e7v2wv+SpL1ieywonP3c X-Received: by 2002:a05:6808:43:: with SMTP id v3mr994090oic.59.1583844258310; Tue, 10 Mar 2020 05:44:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583844258; cv=none; d=google.com; s=arc-20160816; b=AQry6jIbc4HCkUNamMHXqMDUSqkpQb6KoPMSLAu376fElCx2GVJv1NPHsKoZki2TbQ F//IIXnxsbHQ3oO/hfIu24wKcsqd/snWT+lzwX+nM4UsGwBK/24W7d4oxTh+C36/ywXk FNsupR6PzpVuXkOqcYcxpCpOdIaKP5ZsJ2/ThC5+DZ4W7q88KtWyTXz/t6R/o5pJn0jg qrXr91SxsJ8JnMcHUjAuGSkw3nXlyELYPZ11InuOd+Y3RkvXvaVfIfMH0dGyGEZDU1UI 69RUzmtf+qc1sUx7g+21fxTL7QiZy9QRpRuMMERiy9Sr26SYzhv28o+XyImZwomz6P0o Ps/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Vhki6g05e7sFTeT7eEUEYBnIT6Uboxz/UswMxlCkp5Q=; b=gOqYw6QeZJWkcCFAVaGJV7WWk6xTLdEKgLhfcM/qBWhR8eJvRJeM1hi/XZhHeltOWv 2KhdwrmpDDHuGKugF9oEjGQI5eA1Ug08wOwd9jK7vkXemmRmMYHlhEcesf3nWdGSU27U 8DAscuoe2+rF/8qBc4AwZyxOr+kmBDBYB8+tXnBdd2bV5TolDRxuHCE9yJ/jD1CCOz9Q B8Ojq+5//IPYM5UlEZAPlW10L3xFnD6p0Gp1DXUgxwgV/vEkCoHlrGaDNuPk+FRUFgC2 akor0UVYxn6dIvfCtU6O0b2fPbPmK36EiGtp/26pxwPw7dtob0Njp+D8NnLV/81Z4e91 f2KA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s14si5017005otp.243.2020.03.10.05.44.05; Tue, 10 Mar 2020 05:44:18 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727514AbgCJMnJ (ORCPT + 99 others); Tue, 10 Mar 2020 08:43:09 -0400 Received: from mga05.intel.com ([192.55.52.43]:62686 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727496AbgCJMnG (ORCPT ); Tue, 10 Mar 2020 08:43:06 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Mar 2020 05:43:05 -0700 X-IronPort-AV: E=Sophos;i="5.70,537,1574150400"; d="scan'208";a="235924495" Received: from paasikivi.fi.intel.com ([10.237.72.42]) by fmsmga008-auth.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Mar 2020 05:43:03 -0700 Received: by paasikivi.fi.intel.com (Postfix, from userid 1000) id BEA8F209DF; Tue, 10 Mar 2020 14:43:01 +0200 (EET) Date: Tue, 10 Mar 2020 14:43:01 +0200 From: Sakari Ailus To: "Lad, Prabhakar" Cc: Mauro Carvalho Chehab , Fabio Estevam , linux-media , LKML , Lad Prabhakar , Jacopo Mondi Subject: Re: [PATCH] media: i2c: ov5645: Add virtual_channel module parameter Message-ID: <20200310124301.GD5379@paasikivi.fi.intel.com> References: <20200228164126.17517-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20200305114314.GP5379@paasikivi.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 10, 2020 at 11:17:10AM +0000, Lad, Prabhakar wrote: > Hi Sakari, > > On Fri, Mar 6, 2020 at 10:18 AM Lad, Prabhakar > wrote: > > > > Hi Sakari, > > > > On Thu, Mar 5, 2020 at 11:43 AM Sakari Ailus > > wrote: > > > > > > Hi Prabhakar, > > > > > > On Fri, Feb 28, 2020 at 04:41:26PM +0000, Lad Prabhakar wrote: > > > > OV5645 can operate in virtual channel 0-3 in CSI2 interfaces, this patch > > > > adds support for module parameter virtual_channel to select the required > > > > channel. By default OV5645 operates in virtual channel 0. > > > > > > What's your use case for different virtual channels? > > > > > Just ability to switch to different virtual channel, based on ov5640 > > driver. The rcar-csi2 > > has capability to capture from multiple channels so that we can > > capture simultaneously > > from two sensors. > > > Any thoughts on how this could be handled ? A module parameter to support sending the pixel data on virtual channels is certainly a hack. You couldn't support the same kind of sensors with different virtual channel configuration in a deterministic way nor the receiver would have an ability to verify the hardware is properly configured. The multiplexed streams patchset (subject "[PATCH v3 00/31] v4l: add support for multiplexed streams" on LMML) adds support for CSI-2 virtual channels and data types. It's been a while since a version of that was posted though. Jacopo, what are your plans regarding that set? -- Kind regards, Sakari Ailus