[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <231c710f-5a16-29bb-020c-644d88063f53@st.com>
Date: Tue, 26 Mar 2019 12:32:11 +0000
From: Mickael GUENE <mickael.guene@...com>
To: Sakari Ailus <sakari.ailus@...ux.intel.com>
CC: "linux-media@...r.kernel.org" <linux-media@...r.kernel.org>,
"Hugues FRUCHET" <hugues.fruchet@...com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Arnd Bergmann <arnd@...db.de>,
Matt Ranostay <matt.ranostay@...sulko.com>,
Akinobu Mita <akinobu.mita@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"David S. Miller" <davem@...emloft.net>,
"Ben Kao" <ben.kao@...el.com>,
Nicolas Ferre <nicolas.ferre@...rochip.com>,
"Todor Tomov" <todor.tomov@...aro.org>,
Rui Miguel Silva <rui.silva@...aro.org>,
"Greg Kroah-Hartman" <gregkh@...uxfoundation.org>,
Hans Verkuil <hverkuil@...all.nl>,
Ricardo Ribalda Delgado <ricardo@...alda.com>,
"Jacopo Mondi" <jacopo+renesas@...ndi.org>,
Tianshu Qiu <tian.shu.qiu@...el.com>,
Bingbu Cao <bingbu.cao@...el.com>
Subject: Re: [PATCH v2 2/2] media:st-mipid02: MIPID02 CSI-2 to PARALLEL bridge
driver
Hi Sakari,
On 3/26/19 12:34, Sakari Ailus wrote:
> 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.
>
Ok. I will drop mipid02_get_link_freq_from_rx_ep and mipid02_get_link_freq_from_cid_link_freq
and only use V4L2_CID_PIXEL_RATE to compute link speed.
Powered by blists - more mailing lists