Re: [RFC PATCH] ACPI: bus: match of_device_id using acpi device

From: Sudeep Holla
Date: Wed Jul 04 2018 - 06:54:05 EST

On Wed, Jul 04, 2018 at 12:17:20PM +0200, Nikolaus Voss wrote:
> On Wed, 4 Jul 2018, Sudeep Holla wrote:
> >


> >+1 on NACK for this and anything else that abuse PRP0001 as a short cut
> >approach.
> This is no abuse but exactly what PRP0001 is meant for. The basic idea of
> PRP0001 is to reuse DT "compatible" strings in ACPI namespace, see
> Documentation/acpi/enumeration.txt. Reusing also means getting access to the
> of_device_id.

Sorry for not being descriptive. It has been discussed a lot in past and
I assume someone would had gone through them, so gave no information in
my response.

> Allocating an ACPI id for an already existing DT driver is redundant, isn't it?

I think Andy had provided the summary and the intentions. Rafael has also
confirmed, I have nothing else to add.