From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sudeep Holla Subject: Re: [RFC PATCH] ACPI: bus: match of_device_id using acpi device Date: Wed, 4 Jul 2018 11:53:49 +0100 Message-ID: <20180704105349.GA14665@e107155-lin> References: <1530609760-8919-1-git-send-email-srinath.mannam@broadcom.com> <8518137d-c859-657e-844f-51720f6ef8dd@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Nikolaus Voss Cc: Andy Shevchenko , Srinath Mannam , "Voss, Dr. Nikolaus" , "Rafael J. Wysocki" , Len Brown , Ray Jui , Vladimir Olovyannikov , Vikram Prakash , Scott Branden , ACPI Devel Maling List , Linux Kernel Mailing List , Sudeep Holla , nv@vosn.de List-Id: linux-acpi@vger.kernel.org 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. -- Regards, Sudeep