Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3304037img; Mon, 25 Mar 2019 07:43:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqxDU50i9EtPAG2G6o7t04weZl1BD+E+rrv5CFB6hKR7HgPWalimmoBsvqcLnZHC6qB04dl7 X-Received: by 2002:a63:c204:: with SMTP id b4mr23402904pgd.335.1553524994204; Mon, 25 Mar 2019 07:43:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553524994; cv=none; d=google.com; s=arc-20160816; b=e2Oi1f9+Cvu/irtZWS/XW/uiSRJzvRKBFBlFu519BC4NtLjiA+LJCrYwnYZw26X4Wp +sR8r7PXyWdWHXEn9oDPzuhUCxnT5tfoQJVecvVIDpTacQ/1oQFz28QkvqGCevILnLAN iOo0BulQn7s35Ks+tBg4ltdDf8xlGDWwvFkkbPtKN2n3zWkHR6qXdTi/UT347AHPlS1d MondScGKtQCcThq0ot6qwQ9fR1u99vgX2PXDuQyG3RHmAfrLaojBmoNvI4HYRgA/++34 QwQ4ieB1S4h8EY0hoyCnjHsxjeDugU9dE3F2YV9Xunz35TBF0NO97sNstaKHNWGAXldM K7Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=UEjaXTmaFEyllpwB5+lmuncdiGUW3a21t2CKDC6lOWM=; b=egWWqojbbT04jUVuIrlk2omrND9TglcgtV1ZfQJkxJH5fKlgAUbPm2l4KrGDOMVc+l cnFiwrxi6b41toC5oIyd/I5Hs9LlbEr1xNwzMR0L61ujigE5PdbuoXhOYwywSHtVJY2q T2c28C6DrHacpY+O23wVfDrK/yX0GpHTDaRw74H+kWlHJYZTUGlcEgPGAfhm8fWgd4LH 9IUbNhGsjNICww3FJcZ3SMg2iGyji5p8ovNzmKMvzJk97oRk4Jf+tGrsbpGSuofI312a flVbOJZB2U8vpvLiI2HF0tLtL83W+ZZjjj2lUnQ+wDFe/Jm9w6LypFgamqx6Ilg/kxA/ QZYA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e125si13200840pgc.201.2019.03.25.07.42.58; Mon, 25 Mar 2019 07:43:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729072AbfCYOmN (ORCPT + 99 others); Mon, 25 Mar 2019 10:42:13 -0400 Received: from imap1.codethink.co.uk ([176.9.8.82]:33070 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725788AbfCYOmM (ORCPT ); Mon, 25 Mar 2019 10:42:12 -0400 Received: from [167.98.27.226] (helo=[10.35.5.150]) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1h8Qni-0004gR-Bm; Mon, 25 Mar 2019 14:42:10 +0000 Subject: Re: [PATCH] Documentation: acpi: Add an example for PRP0001 To: Andy Shevchenko , "Rafael J. Wysocki" Cc: Mika Westerberg , "Rafael J. Wysocki" , Len Brown , ACPI Devel Maling List , Linux Kernel Mailing List References: <20190322134705.27994-1-thomas.preston@codethink.co.uk> <20190325115118.GP9224@smile.fi.intel.com> <20190325130413.GT9224@smile.fi.intel.com> From: Thomas Preston Message-ID: Date: Mon, 25 Mar 2019 14:42:09 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190325130413.GT9224@smile.fi.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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