lkml.org 
[lkml]   [2022]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v5 7/8] media: i2c: add DS90UB913 driver
Hi Tomi,

On Wed, Dec 14, 2022 at 08:36:47AM +0200, Tomi Valkeinen wrote:
> On 14/12/2022 08:29, Tomi Valkeinen wrote:
>
> >> wondering if the struct device of the DS90UB913 could be passed instead
> >> of the port, to avoid passing the port throught
> >> ds90ub9xx_platform_data.
> >
> > Interesting thought. That would limit the number of remote i2c busses to
> > one, though. Not a problem for FPD-Link, but I wonder if that's assuming
> > too much for the future users. Then again, this is an in-kernel API so
> > we could extend it later if needed. So I'll try this out and see if I
> > hit any issues.
>
> Right, so the issue with this one would be that it would prevent a
> single device uses. E.g. a single chip which acts as an ATR (similar to
> i2c-mux chips), i.e. it contains both the main and the remote i2c busses.

I don't think I understand this, sorry.

--
Regards,

Laurent Pinchart

\
 
 \ /
  Last update: 2023-03-26 23:21    [W:0.209 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site