Re: [PATCH v5 03/12] ACPI: Allow drivers to match using Device Tree compatible property

2014-10-20 Thread Rafael J. Wysocki
On Monday, October 20, 2014 04:05:01 PM Grant Likely wrote: > On Fri, 17 Oct 2014 14:05:59 +0200 > , "Rafael J. Wysocki" > wrote: > > From: Mika Westerberg > > > > We have lots of existing Device Tree enabled drivers and allocating > > separate _HID for each is not feasible. Instead we

Re: [PATCH v5 03/12] ACPI: Allow drivers to match using Device Tree compatible property

2014-10-20 Thread Grant Likely
On Fri, 17 Oct 2014 14:05:59 +0200 , "Rafael J. Wysocki" wrote: > From: Mika Westerberg > > We have lots of existing Device Tree enabled drivers and allocating > separate _HID for each is not feasible. Instead we allocate special _HID > "PRP0001" that means that the match should be done using

Re: [PATCH v5 03/12] ACPI: Allow drivers to match using Device Tree compatible property

2014-10-20 Thread Grant Likely
On Fri, 17 Oct 2014 14:05:59 +0200 , Rafael J. Wysocki r...@rjwysocki.net wrote: From: Mika Westerberg mika.westerb...@linux.intel.com We have lots of existing Device Tree enabled drivers and allocating separate _HID for each is not feasible. Instead we allocate special _HID PRP0001 that

Re: [PATCH v5 03/12] ACPI: Allow drivers to match using Device Tree compatible property

2014-10-20 Thread Rafael J. Wysocki
On Monday, October 20, 2014 04:05:01 PM Grant Likely wrote: On Fri, 17 Oct 2014 14:05:59 +0200 , Rafael J. Wysocki r...@rjwysocki.net wrote: From: Mika Westerberg mika.westerb...@linux.intel.com We have lots of existing Device Tree enabled drivers and allocating separate _HID for each

[PATCH v5 03/12] ACPI: Allow drivers to match using Device Tree compatible property

2014-10-17 Thread Rafael J. Wysocki
From: Mika Westerberg We have lots of existing Device Tree enabled drivers and allocating separate _HID for each is not feasible. Instead we allocate special _HID "PRP0001" that means that the match should be done using Device Tree compatible property using driver's .of_match_table instead if

[PATCH v5 03/12] ACPI: Allow drivers to match using Device Tree compatible property

2014-10-17 Thread Rafael J. Wysocki
From: Mika Westerberg mika.westerb...@linux.intel.com We have lots of existing Device Tree enabled drivers and allocating separate _HID for each is not feasible. Instead we allocate special _HID PRP0001 that means that the match should be done using Device Tree compatible property using driver's