Re: [PATCH] of/platform: Allow secondary compatible match in of_dev_lookup

2016-04-12 Thread Tony Lindgren
* Rob Herring [160412 08:57]: > On Thu, Apr 7, 2016 at 11:58 AM, Tony Lindgren wrote: > > * Rob Herring [160406 21:53]: > >> On Fri, Apr 1, 2016 at 4:40 PM, Tony Lindgren wrote: > >> > * Tony Lindgren

Re: [PATCH] of/platform: Allow secondary compatible match in of_dev_lookup

2016-04-12 Thread Tony Lindgren
* Rob Herring [160412 08:57]: > On Thu, Apr 7, 2016 at 11:58 AM, Tony Lindgren wrote: > > * Rob Herring [160406 21:53]: > >> On Fri, Apr 1, 2016 at 4:40 PM, Tony Lindgren wrote: > >> > * Tony Lindgren [160401 14:37]: > >> >> We currently try to match of_dev_auxdata based on compatible, > >>

Re: [PATCH] of/platform: Allow secondary compatible match in of_dev_lookup

2016-04-12 Thread Rob Herring
On Thu, Apr 7, 2016 at 11:58 AM, Tony Lindgren wrote: > * Rob Herring [160406 21:53]: >> On Fri, Apr 1, 2016 at 4:40 PM, Tony Lindgren wrote: >> > * Tony Lindgren [160401 14:37]: >> >> We currently try to match

Re: [PATCH] of/platform: Allow secondary compatible match in of_dev_lookup

2016-04-12 Thread Rob Herring
On Thu, Apr 7, 2016 at 11:58 AM, Tony Lindgren wrote: > * Rob Herring [160406 21:53]: >> On Fri, Apr 1, 2016 at 4:40 PM, Tony Lindgren wrote: >> > * Tony Lindgren [160401 14:37]: >> >> We currently try to match of_dev_auxdata based on compatible, >> >> IO address, and device name. But in some

Re: [PATCH] of/platform: Allow secondary compatible match in of_dev_lookup

2016-04-12 Thread Tony Lindgren
* Felipe Balbi [160407 04:19]: > Grygorii Strashko writes: > > Most probably this is required to pass some data from parent device to > > children when parent dev instantiate children from DT, at least I've > > experimented with > > this

Re: [PATCH] of/platform: Allow secondary compatible match in of_dev_lookup

2016-04-12 Thread Tony Lindgren
* Felipe Balbi [160407 04:19]: > Grygorii Strashko writes: > > Most probably this is required to pass some data from parent device to > > children when parent dev instantiate children from DT, at least I've > > experimented with > > this in mostly similar way (I've not added second pass and did

Re: [PATCH] of/platform: Allow secondary compatible match in of_dev_lookup

2016-04-07 Thread Tony Lindgren
* Rob Herring [160406 21:53]: > On Fri, Apr 1, 2016 at 4:40 PM, Tony Lindgren wrote: > > * Tony Lindgren [160401 14:37]: > >> We currently try to match of_dev_auxdata based on compatible, > >> IO address, and device name. But in some cases

Re: [PATCH] of/platform: Allow secondary compatible match in of_dev_lookup

2016-04-07 Thread Tony Lindgren
* Rob Herring [160406 21:53]: > On Fri, Apr 1, 2016 at 4:40 PM, Tony Lindgren wrote: > > * Tony Lindgren [160401 14:37]: > >> We currently try to match of_dev_auxdata based on compatible, > >> IO address, and device name. But in some cases we have multiple > >> instances of drivers that can use

Re: [PATCH] of/platform: Allow secondary compatible match in of_dev_lookup

2016-04-07 Thread Felipe Balbi
Hi, Grygorii Strashko writes: > On 04/07/2016 07:52 AM, Rob Herring wrote: >> On Fri, Apr 1, 2016 at 4:40 PM, Tony Lindgren wrote: >>> * Tony Lindgren [160401 14:37]: We currently try to match of_dev_auxdata based on

Re: [PATCH] of/platform: Allow secondary compatible match in of_dev_lookup

2016-04-07 Thread Felipe Balbi
Hi, Grygorii Strashko writes: > On 04/07/2016 07:52 AM, Rob Herring wrote: >> On Fri, Apr 1, 2016 at 4:40 PM, Tony Lindgren wrote: >>> * Tony Lindgren [160401 14:37]: We currently try to match of_dev_auxdata based on compatible, IO address, and device name. But in some cases we have

Re: [PATCH] of/platform: Allow secondary compatible match in of_dev_lookup

2016-04-07 Thread Grygorii Strashko
On 04/07/2016 07:52 AM, Rob Herring wrote: > On Fri, Apr 1, 2016 at 4:40 PM, Tony Lindgren wrote: >> * Tony Lindgren [160401 14:37]: >>> We currently try to match of_dev_auxdata based on compatible, >>> IO address, and device name. But in some cases we have

Re: [PATCH] of/platform: Allow secondary compatible match in of_dev_lookup

2016-04-07 Thread Grygorii Strashko
On 04/07/2016 07:52 AM, Rob Herring wrote: > On Fri, Apr 1, 2016 at 4:40 PM, Tony Lindgren wrote: >> * Tony Lindgren [160401 14:37]: >>> We currently try to match of_dev_auxdata based on compatible, >>> IO address, and device name. But in some cases we have multiple >>> instances of drivers that

Re: [PATCH] of/platform: Allow secondary compatible match in of_dev_lookup

2016-04-06 Thread Rob Herring
On Fri, Apr 1, 2016 at 4:40 PM, Tony Lindgren wrote: > * Tony Lindgren [160401 14:37]: >> We currently try to match of_dev_auxdata based on compatible, >> IO address, and device name. But in some cases we have multiple >> instances of drivers that can use the

Re: [PATCH] of/platform: Allow secondary compatible match in of_dev_lookup

2016-04-06 Thread Rob Herring
On Fri, Apr 1, 2016 at 4:40 PM, Tony Lindgren wrote: > * Tony Lindgren [160401 14:37]: >> We currently try to match of_dev_auxdata based on compatible, >> IO address, and device name. But in some cases we have multiple >> instances of drivers that can use the same auxdata. >> >> Let's add an

Re: [PATCH] of/platform: Allow secondary compatible match in of_dev_lookup

2016-04-01 Thread Tony Lindgren
* Tony Lindgren [160401 14:37]: > We currently try to match of_dev_auxdata based on compatible, > IO address, and device name. But in some cases we have multiple > instances of drivers that can use the same auxdata. > > Let's add an additional secondary lookup for generic

Re: [PATCH] of/platform: Allow secondary compatible match in of_dev_lookup

2016-04-01 Thread Tony Lindgren
* Tony Lindgren [160401 14:37]: > We currently try to match of_dev_auxdata based on compatible, > IO address, and device name. But in some cases we have multiple > instances of drivers that can use the same auxdata. > > Let's add an additional secondary lookup for generic compatible > match for

[PATCH] of/platform: Allow secondary compatible match in of_dev_lookup

2016-04-01 Thread Tony Lindgren
We currently try to match of_dev_auxdata based on compatible, IO address, and device name. But in some cases we have multiple instances of drivers that can use the same auxdata. Let's add an additional secondary lookup for generic compatible match for auxdata if no device specific match is found.

[PATCH] of/platform: Allow secondary compatible match in of_dev_lookup

2016-04-01 Thread Tony Lindgren
We currently try to match of_dev_auxdata based on compatible, IO address, and device name. But in some cases we have multiple instances of drivers that can use the same auxdata. Let's add an additional secondary lookup for generic compatible match for auxdata if no device specific match is found.