Re: [PATCH v3 03/10] phy: Add MIPI D-PHY configuration options

From: Maxime Ripard
Date: Wed Dec 19 2018 - 10:41:06 EST


On Mon, Dec 17, 2018 at 10:20:39PM +0200, sakari.ailus@xxxxxx wrote:
> Hi Maxime,
>
> On Mon, Dec 17, 2018 at 04:49:21PM +0100, Maxime Ripard wrote:
> > Hi Sakari,
> >
> > Thanks for your feedback.
> >
> > On Thu, Dec 13, 2018 at 10:49:28PM +0200, sakari.ailus@xxxxxx wrote:
> > > > + /**
> > > > + * @lanes:
> > > > + *
> > > > + * Number of active data lanes used for the transmissions.
> > >
> > > Could you add that these are the first "lanes" number of lanes from what
> > > are available?
> >
> > I'm not quite sure I understood this part though, what did you mean?
>
> A number of lanes are routed between the two devices on hardware, and this
> field is specifying how many of them are in use. In order for the bus to
> function, both ends need to be in agreement on which of these lanes are
> actually being used. The current practice I've seen without exceptions is
> that these are the first n lanes.

Ah, right, I get it now, thanks!
Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Attachment: signature.asc
Description: PGP signature