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

Rafael J. Wysocki
2014-10-20T21:58:53Z

On Monday, October 20, 2014 04:05:01 PM Grant Likely wrote:
> On Fri, 17 Oct 2014 14:05:59 +0200
> , "Rafael J. Wysocki" <rjw@rjwysocki.net>
> wrote:
> > From: Mika Westerberg <mika.westerberg@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 .of_match_table instead if the driver
> > is missing .acpi_match_table.
>
> (Not a critique of this patch, but merely a helpful comment; my previous
> ack remains intact) :-)
>
> It would be useful for the code to point at some document that describes
> the semantics of the PRP0001 binding.

Well, we need to create that document in the first place. :-)

I'd prefer to wait with that until the thing settles, however.

Rafael