Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4172696img; Tue, 26 Mar 2019 04:35:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqy73NKYiFuWRq/R9JAY6OSgMiYJWPe7mldfgIlmoTesXAMbvlo/rnmlrFwdxovyntx7o5/u X-Received: by 2002:a17:902:e48f:: with SMTP id cj15mr28772396plb.256.1553600134897; Tue, 26 Mar 2019 04:35:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553600134; cv=none; d=google.com; s=arc-20160816; b=Qfv1O5cLdQp1QUwO9lc0e7EZCOOejMdD4BcdIsiIcdlkFhBX2CTD/6Y0FUgWviIB8+ wiTeD2xggQ5D8RZOXQrpxHKcDmcE6Ezstmw0w1vlxOyLo2Wzspc9VLlJUjB6CdrUAC35 eXW0v2fVRj/KgnxIMS6ZrjtsqS0uekmDg9f/5fBo6kEZ5U7ShmR09Kvkj4lxnHsJiadK osIlBncbh8rVwm7IWsvYiKhawbhvRiURhtpwGJHUNbAUhfvmkvtELxXCpejLfEulZlDb l2t2bYVYDJhwvplz3Y4NocPlcZxzr0DJzQ2OOe1HtmkG1rO9HH4Jwl5bNeuw57TUc9m1 loGg== 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=nFGim9O2olw8v3HVOQHRXA4aaR0/itt2n+qLph8wBtk=; b=HSv70lHHdOWwraEyEyIgQHIQ6af+H5+6DFEMvvGYFLHWR1Q3T8/6NrCzLxrvzi32CX uuB393iGZ9ZCXds2FQLh5fS3PbIx+zASNZ927gbUe7mye4s4zha97LFGJmcwBMq2jOwr ykXnZYouIO7mHorLMiUcs8pq6yHOia/kw7bh5lQm8poN72/el4j51kkWzzQ+NsE628BT A0qiOH/j6yA5kmpRsbtaUfVAUICnb2r2ubtRIiQgq06K1qcYl+h13srEGMTOSkn5o2IS d580+CgRhPzRiGKHN1o8wc6+HPgTvjqbo2i+Utk3XMLwOPXh4DA93MBIx2vuV22PSdUb KODg== 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 a72si15716500pfj.216.2019.03.26.04.35.19; Tue, 26 Mar 2019 04:35:34 -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 S1729623AbfCZLen (ORCPT + 99 others); Tue, 26 Mar 2019 07:34:43 -0400 Received: from mga14.intel.com ([192.55.52.115]:13769 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726175AbfCZLen (ORCPT ); Tue, 26 Mar 2019 07:34:43 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Mar 2019 04:34:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,271,1549958400"; d="scan'208";a="158489539" Received: from paasikivi.fi.intel.com ([10.237.72.42]) by fmsmga001.fm.intel.com with ESMTP; 26 Mar 2019 04:34:38 -0700 Received: by paasikivi.fi.intel.com (Postfix, from userid 1000) id E7567207E2; Tue, 26 Mar 2019 13:34:37 +0200 (EET) Date: Tue, 26 Mar 2019 13:34:37 +0200 From: Sakari Ailus To: Mickael GUENE Cc: "linux-media@vger.kernel.org" , Hugues FRUCHET , Mauro Carvalho Chehab , Arnd Bergmann , Matt Ranostay , Akinobu Mita , "linux-kernel@vger.kernel.org" , "David S. Miller" , Ben Kao , Nicolas Ferre , Todor Tomov , Rui Miguel Silva , Greg Kroah-Hartman , Hans Verkuil , Ricardo Ribalda Delgado , Jacopo Mondi , Tianshu Qiu , Bingbu Cao Subject: Re: [PATCH v2 2/2] media:st-mipid02: MIPID02 CSI-2 to PARALLEL bridge driver Message-ID: <20190326113437.bpebmfs7mipsg24y@paasikivi.fi.intel.com> References: <1552373045-134493-1-git-send-email-mickael.guene@st.com> <1553500510-153260-1-git-send-email-mickael.guene@st.com> <1553500510-153260-3-git-send-email-mickael.guene@st.com> <20190325114430.zot5tbiczqrhpskl@kekkonen.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mickael, On Mon, Mar 25, 2019 at 12:22:17PM +0000, Mickael GUENE wrote: ... > >> + /* register it for later use */ > >> + bridge->rx = ep; > >> + bridge->rx.link_frequencies = ep.nr_of_link_frequencies == 1 ? > >> + &bridge->link_frequency : NULL; > > > > I think you need to simply ignore the link frequencies here. The > > transmitting device can tell the frequency based on its configuration > > (based on the link frequencies). You seem to have implemented that already. > > > Idea of this was to allow some support for sensor that doesn't implement > V4L2_CID_PIXEL_RATE. Do you think it's useless ? Sensor drivers need to be amended with support for that control. -- Sakari Ailus sakari.ailus@linux.intel.com