Re: [RFC,v2 3/6] media: dt-bindings: add DS90UB954-Q1 video deserializer

2019-09-10 Thread Luca Ceresoli
Hi Sakari, On 10/09/19 10:43, Sakari Ailus wrote: > Hi Luca, > > On Tue, Jul 23, 2019 at 10:37:20PM +0200, Luca Ceresoli wrote: > > ... > >> +Device node example >> +--- >> + >> + { >> +deser: deser@3d { >> +compatible = "ti,ds90ub954-q1"; >> +

Re: [RFC,v2 3/6] media: dt-bindings: add DS90UB954-Q1 video deserializer

2019-09-10 Thread Sakari Ailus
Hi Luca, On Tue, Jul 23, 2019 at 10:37:20PM +0200, Luca Ceresoli wrote: ... > +Device node example > +--- > + > + { > + deser: deser@3d { > + compatible = "ti,ds90ub954-q1"; > + reg-names = "main", "rxport0", "rxport1", "ser0", "ser1"; > +

Re: [RFC,v2 3/6] media: dt-bindings: add DS90UB954-Q1 video deserializer

2019-09-03 Thread Wolfram Sang
Hi Luca, > Now I got what you mean: the aliases in a pool are reserved to an ATR > and not available to another ATR. What about hoisting the pool one level > up in DT, to the adapter where the ATRs are connected? Frankly, it sounds error prone to keep them in sync. > As I understand it, we are

Re: [RFC,v2 3/6] media: dt-bindings: add DS90UB954-Q1 video deserializer

2019-09-03 Thread Luca Ceresoli
Hi Wolfram, On 03/09/19 11:34, Wolfram Sang wrote: > >> Not if you define enough addresses in the pool. E.g. the DS90UB954 >> hardware can have 8 aliases per port, so if you have (n_ports * 8) >> addresses in the pool the problem is solved. > > And then you plug-in somewhere another board with

Re: [RFC,v2 3/6] media: dt-bindings: add DS90UB954-Q1 video deserializer

2019-09-03 Thread Wolfram Sang
> Not if you define enough addresses in the pool. E.g. the DS90UB954 > hardware can have 8 aliases per port, so if you have (n_ports * 8) > addresses in the pool the problem is solved. And then you plug-in somewhere another board with another need for ATR and you are out of addresses. > > And

Re: [RFC,v2 3/6] media: dt-bindings: add DS90UB954-Q1 video deserializer

2019-09-03 Thread Luca Ceresoli
Hi Wolfram, On 02/09/19 22:48, Wolfram Sang wrote: > >> + - i2c-alias-pool: list of I2C addresses that are known to be available on >> the >> + "local" (SoC-to-deser) I2C bus; they will be picked at >> + runtime and used as aliases to reach remove I2C chips > >

Re: [RFC,v2 3/6] media: dt-bindings: add DS90UB954-Q1 video deserializer

2019-09-02 Thread Wolfram Sang
> + - i2c-alias-pool: list of I2C addresses that are known to be available on > the > + "local" (SoC-to-deser) I2C bus; they will be picked at > +runtime and used as aliases to reach remove I2C chips After some internal discussion, I have been kinda convinced

Re: [RFC,v2 3/6] media: dt-bindings: add DS90UB954-Q1 video deserializer

2019-08-21 Thread Luca Ceresoli
Hi Rob, On 20/08/19 17:44, Rob Herring wrote: + - i2c-alias-pool: list of I2C addresses that are known to be available on the + "local" (SoC-to-deser) I2C bus; they will be picked at + runtime and used as aliases to reach remove I2C chips >>>

Re: [RFC,v2 3/6] media: dt-bindings: add DS90UB954-Q1 video deserializer

2019-08-20 Thread Rob Herring
On Mon, Aug 19, 2019 at 5:41 PM Luca Ceresoli wrote: > > Hi Rob, > > thanks for your review. > > On 13/08/19 17:44, Rob Herring wrote: > > On Tue, Jul 23, 2019 at 10:37:20PM +0200, Luca Ceresoli wrote: > >> Describe the Texas Instruments DS90UB954-Q1, a 2-input video deserializer > >> with I2C

Re: [RFC,v2 3/6] media: dt-bindings: add DS90UB954-Q1 video deserializer

2019-08-19 Thread Luca Ceresoli
Hi Rob, thanks for your review. On 13/08/19 17:44, Rob Herring wrote: > On Tue, Jul 23, 2019 at 10:37:20PM +0200, Luca Ceresoli wrote: >> Describe the Texas Instruments DS90UB954-Q1, a 2-input video deserializer >> with I2C Address Translator and remote GPIOs. >> >> Signed-off-by: Luca Ceresoli

Re: [RFC,v2 3/6] media: dt-bindings: add DS90UB954-Q1 video deserializer

2019-08-13 Thread Rob Herring
On Tue, Jul 23, 2019 at 10:37:20PM +0200, Luca Ceresoli wrote: > Describe the Texas Instruments DS90UB954-Q1, a 2-input video deserializer > with I2C Address Translator and remote GPIOs. > > Signed-off-by: Luca Ceresoli > > --- > > Changes RFCv1 -> RFCv2: > > - add explicit aliases for the

[RFC,v2 3/6] media: dt-bindings: add DS90UB954-Q1 video deserializer

2019-07-23 Thread Luca Ceresoli
Describe the Texas Instruments DS90UB954-Q1, a 2-input video deserializer with I2C Address Translator and remote GPIOs. Signed-off-by: Luca Ceresoli --- Changes RFCv1 -> RFCv2: - add explicit aliases for the FPD-link RX ports (optional) - add proper remote GPIO description ---