Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI

2016-12-06 Thread Dmitry Torokhov
On Tue, Nov 01, 2016 at 01:14:16PM +0700, Phong Vo wrote: > >From: Mika Westerberg <mika.westerb...@linux.intel.com> > >Subject: Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when > using DT ids through ACPI > >Date: Monday 13th June 2016 09:26:55 UTC (5 months

Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI

2016-12-06 Thread Dmitry Torokhov
On Tue, Nov 01, 2016 at 01:14:16PM +0700, Phong Vo wrote: > >From: Mika Westerberg > >Subject: Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when > using DT ids through ACPI > >Date: Monday 13th June 2016 09:26:55 UTC (5 months ago) > > > >On Fri,

Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI

2016-11-01 Thread Phong Vo
>From: Mika Westerberg <mika.westerb...@linux.intel.com> >Subject: Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI >Date: Monday 13th June 2016 09:26:55 UTC (5 months ago) > >On Fri, Jun 10, 2016 at 06:57:36PM +0300, Crestez Dan Leonard wr

Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI

2016-11-01 Thread Phong Vo
>From: Mika Westerberg >Subject: Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI >Date: Monday 13th June 2016 09:26:55 UTC (5 months ago) > >On Fri, Jun 10, 2016 at 06:57:36PM +0300, Crestez Dan Leonard wrote: >> On 06/10/2016 09:32 AM,

Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI

2016-06-13 Thread Mika Westerberg
On Fri, Jun 10, 2016 at 06:57:36PM +0300, Crestez Dan Leonard wrote: > On 06/10/2016 09:32 AM, Mika Westerberg wrote: > > On Thu, Jun 09, 2016 at 04:06:03PM +0300, Crestez Dan Leonard wrote: > >> When devices are instatiated through devicetree the i2c_client->name is > >> set to the compatible

Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI

2016-06-13 Thread Mika Westerberg
On Fri, Jun 10, 2016 at 06:57:36PM +0300, Crestez Dan Leonard wrote: > On 06/10/2016 09:32 AM, Mika Westerberg wrote: > > On Thu, Jun 09, 2016 at 04:06:03PM +0300, Crestez Dan Leonard wrote: > >> When devices are instatiated through devicetree the i2c_client->name is > >> set to the compatible

Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI

2016-06-10 Thread Crestez Dan Leonard
On 06/10/2016 09:32 AM, Mika Westerberg wrote: > On Thu, Jun 09, 2016 at 04:06:03PM +0300, Crestez Dan Leonard wrote: >> When devices are instatiated through devicetree the i2c_client->name is >> set to the compatible string with company name stripped out. This is >> then matched to the

Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI

2016-06-10 Thread Crestez Dan Leonard
On 06/10/2016 09:32 AM, Mika Westerberg wrote: > On Thu, Jun 09, 2016 at 04:06:03PM +0300, Crestez Dan Leonard wrote: >> When devices are instatiated through devicetree the i2c_client->name is >> set to the compatible string with company name stripped out. This is >> then matched to the

Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI

2016-06-10 Thread Wolfram Sang
> Looking at that series it seems that the intention is to eventually > remove the i2c_device_id argument from probe completely? That would > cause a lot of code churn. It would also require every driver that needs > to differentiate between models to pretty much duplicate the matching > logic

Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI

2016-06-10 Thread Wolfram Sang
> Looking at that series it seems that the intention is to eventually > remove the i2c_device_id argument from probe completely? That would > cause a lot of code churn. It would also require every driver that needs > to differentiate between models to pretty much duplicate the matching > logic

Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI

2016-06-10 Thread Crestez Dan Leonard
On 06/10/2016 10:04 AM, Wolfram Sang wrote: > On Thu, Jun 09, 2016 at 04:06:03PM +0300, Crestez Dan Leonard wrote: >> When devices are instatiated through devicetree the i2c_client->name is >> set to the compatible string with company name stripped out. This is >> then matched to the i2c_device_id

Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI

2016-06-10 Thread Crestez Dan Leonard
On 06/10/2016 10:04 AM, Wolfram Sang wrote: > On Thu, Jun 09, 2016 at 04:06:03PM +0300, Crestez Dan Leonard wrote: >> When devices are instatiated through devicetree the i2c_client->name is >> set to the compatible string with company name stripped out. This is >> then matched to the i2c_device_id

Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI

2016-06-10 Thread Wolfram Sang
On Thu, Jun 09, 2016 at 04:06:03PM +0300, Crestez Dan Leonard wrote: > When devices are instatiated through devicetree the i2c_client->name is > set to the compatible string with company name stripped out. This is > then matched to the i2c_device_id table to pass the device_id to the > probe

Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI

2016-06-10 Thread Wolfram Sang
On Thu, Jun 09, 2016 at 04:06:03PM +0300, Crestez Dan Leonard wrote: > When devices are instatiated through devicetree the i2c_client->name is > set to the compatible string with company name stripped out. This is > then matched to the i2c_device_id table to pass the device_id to the > probe

Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI

2016-06-10 Thread Mika Westerberg
On Thu, Jun 09, 2016 at 04:06:03PM +0300, Crestez Dan Leonard wrote: > When devices are instatiated through devicetree the i2c_client->name is > set to the compatible string with company name stripped out. This is > then matched to the i2c_device_id table to pass the device_id to the > probe

Re: [RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI

2016-06-10 Thread Mika Westerberg
On Thu, Jun 09, 2016 at 04:06:03PM +0300, Crestez Dan Leonard wrote: > When devices are instatiated through devicetree the i2c_client->name is > set to the compatible string with company name stripped out. This is > then matched to the i2c_device_id table to pass the device_id to the > probe

[RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI

2016-06-09 Thread Crestez Dan Leonard
When devices are instatiated through devicetree the i2c_client->name is set to the compatible string with company name stripped out. This is then matched to the i2c_device_id table to pass the device_id to the probe function. This id parameter is used by some device drivers to differentiate

[RFC v2 2/2] i2c: Pass i2c_device_id to probe func when using DT ids through ACPI

2016-06-09 Thread Crestez Dan Leonard
When devices are instatiated through devicetree the i2c_client->name is set to the compatible string with company name stripped out. This is then matched to the i2c_device_id table to pass the device_id to the probe function. This id parameter is used by some device drivers to differentiate