From: Thomas Preston Subject: Re: [PATCH] Documentation: acpi: Add an example for PRP0001 Date: Mon, 25 Mar 2019 14:42:09 +0000 Message-ID: References: <20190322134705.27994-1-thomas.preston@codethink.co.uk> <20190325115118.GP9224@smile.fi.intel.com> <20190325130413.GT9224@smile.fi.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20190325130413.GT9224@smile.fi.intel.com> Content-Language: en-GB Sender: linux-kernel-owner@vger.kernel.org To: Andy Shevchenko , "Rafael J. Wysocki" Cc: Mika Westerberg , "Rafael J. Wysocki" , Len Brown , ACPI Devel Maling List , Linux Kernel Mailing List List-Id: linux-acpi@vger.kernel.org Hi, Thanks for looking at this. On 25/03/2019 13:04, Andy Shevchenko wrote: > On Mon, Mar 25, 2019 at 01:51:18PM +0200, Andy Shevchenko wrote: >> On Mon, Mar 25, 2019 at 10:31:13AM +0100, Rafael J. Wysocki wrote: >>> On Fri, Mar 22, 2019 at 2:47 PM Thomas Preston >>> wrote: >>>> >>>> Add an example for the magic PRP0001 device ID which allows matching >>>> ACPI devices against drivers using OF Device Tree compatible property. >>>> It wasn't clear to me that PRP0001 could be used in _CID. >>> >>> Mika, Andy, can you have a look at this, please? >> >> Good to me, >> Reviewed-by: Andy Shevchenko >> >> Though one thing I would like to add (not directly related to the patch >> per se), i.e. it would be nice to keep such examples under meta-acpi [1] >> umbrella as a database for such excerpts. >> >> Thomas, can you do that? >> >> [1]: https://github.com/westeri/meta-acpi I will :) >> >>>> + Name (_HID, "TITMP75") /* _HID will appear in sysfs */ > > Sorry for not noticing earlier. > > Is this an official ID for the chip? We discourage people to invent ACPI IDs on > their own. > > The device is a TI tmp75b temperature sensor [0]. The HID is completely made up, I'm afraid. It doesn't exist in the registry. [0] http://www.ti.com/lit/ds/symlink/tmp75b.pdf