Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp6979361imm; Tue, 24 Jul 2018 06:31:43 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfdwu2mwQyjoElqy8PM3QrJLSt7wySZJGTOuV0N/m+HaNGsxVs3i/b/SsYGBah5dzaNEJCL X-Received: by 2002:a63:ac57:: with SMTP id z23-v6mr15856761pgn.74.1532439103088; Tue, 24 Jul 2018 06:31:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532439103; cv=none; d=google.com; s=arc-20160816; b=ccQCIEbIfJqAR1frUVsWYbv1muq6TT0ARxEG1/0LIyxtYSM1w4Ho/CwrR+BjFa2KLT ioOZZit1Bg6DK8WpSNaqaeZYmaWForc+1huOAe5Nc3IbV1keIrr/83dHg/iH2juoxhyb uleQ0iObQ70hsIA3DaBgQFIdfU7B0nJzmdfzuRidq/DnMih1z9qu4xIyVhC9s3GX6saV N9N0qWOfJrrwSds9RVJV54qlgtQw2gfJ91iCHCl0PcpKgL/44Drogz1RNUmPy0TDoHJ4 /oD+94JyuYXlpMvwh35qdbhLv1SNhj5QV1UCfAB0oE82/jWhbw9bgLITxmnMk8yrWZL9 xP+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=BDLxnPpXfIwBEAegK9ZUv3XgoNlaY6uff9POFoR/Nrk=; b=HQM63beGcl1irXlOgF+/mevD/x60rgPGCcrzvqfA+99Vv5ry5y45ubehcGtl2jj/u5 USkQIO3CoybwmS0rQSbikuwSPg/JkM1Z79c0iMhVVZKJqNKxdDsuBxVfK7jzEcOjTaa2 WWTuPEsA6JNPOCXRvAy6tbnS2Walod0Pta6WsLmahbEgD+GvtRDHrWIZs4Me+o/CJGqV CQaDv9UyzMfW7ZftK+R00EVrYfse1GP/PD5L7lzxfeuABJ84VqW+ozVHvhK1Rp15+6n/ ol7n/XcPnD4jCRhcwQyNCQYx0fWNTN7Cyx4cACwTsSoTMg/zFwslN3ofCI08uUyg4ZgA P/xg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n9-v6si10426779pff.370.2018.07.24.06.31.28; Tue, 24 Jul 2018 06:31:43 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728260AbeGXOhE (ORCPT + 99 others); Tue, 24 Jul 2018 10:37:04 -0400 Received: from mail.steuer-voss.de ([85.183.69.95]:41684 "EHLO mail.steuer-voss.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726656AbeGXOhD (ORCPT ); Tue, 24 Jul 2018 10:37:03 -0400 X-Virus-Scanned: Debian amavisd-new at mail.steuer-voss.de Received: by mail.steuer-voss.de (Postfix, from userid 1000) id 85564466ED; Tue, 24 Jul 2018 15:30:26 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.steuer-voss.de (Postfix) with ESMTP id 6A08C466E6; Tue, 24 Jul 2018 15:30:26 +0200 (CEST) Date: Tue, 24 Jul 2018 15:30:26 +0200 (CEST) From: Nikolaus Voss X-X-Sender: nv@fox.voss.local To: Andy Shevchenko cc: "Rafael J. Wysocki" , Len Brown , Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Lorenzo Bianconi , Linus Walleij , Xiongfeng Wang , ACPI Devel Maling List , Linux Kernel Mailing List , Sudeep Holla , Ray Jui , Vladimir Olovyannikov , Vikram Prakash , Scott Branden , Srinath Mannam , "Voss, Nikolaus" Subject: Re: [PATCH v2] ACPI: bus.c: Let acpi_device_get_match_data() return DT compatibility data In-Reply-To: Message-ID: References: <950e8d0caf9f5f55df07eba8a11b2fa8cba9f9e1.1530708691.git.nikolaus.voss@loewensteinmedical.de> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 4 Jul 2018, Andy Shevchenko wrote: > On Tue, Jul 3, 2018 at 9:09 AM, Nikolaus Voss wrote: >> When using ACPI with ACPI_DT_NAMESPACE_HID/ PRP0001 HID and referring to >> of_device_id table "compatible" strings in DSD, a pointer to the >> corresponding DT table entry should be returned instead of a null >> pointer. An acpi_device_id match still takes precedence. >> > > Reviewed-by: Andy Shevchenko > > with a caveat that this is only an improvement for a _temporary_ > PRP0001 users like I2C or SPI slave devices. > Please, don't consider this change as a valid point to (ab)use PRP0001 > in a cases where devices are not "hotpluggable". Will add the caveat and resend. Andy, thanks for reviewing! Niko