Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp598513imm; Wed, 4 Jul 2018 02:41:17 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcPuKr+MZgmDj5aFRfYqIF0Xk9LeeT1Yo9TM1vUEC6B+lPIfkJEekHq2K18Yy1CnyyWV8AJ X-Received: by 2002:a62:6cc7:: with SMTP id h190-v6mr1419022pfc.113.1530697276964; Wed, 04 Jul 2018 02:41:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530697276; cv=none; d=google.com; s=arc-20160816; b=FJ5TnXZQEyM7W2wSoYmkUGX6MEOijeyiVPA8WmgRFodmTFTq+Fbro4hlBlQ91WBV8R xPLCmSGjMzSCsD/vzfRyvIv2pCp+pVI3wExp47sJNQr5qQxkpAhiK4R9cHYiHuoLc6Nv 5YXoFvjtrAx4xlVwG38ivr0dOnKLp8tWDA/gWMoa6j+yqmzNFu6/+d/oihze7Vd7xRjf SKHhPrKWbDtTV2rnWIjrpAU1v/nc+Cgpt5rVIm3R44S1XL4m2n5IzFvYO2DOaKXXip/U +zs21wD4wvLL8HyEWriMO+XWGo5sq+W1qbXBaPtJIrSNYsZw9IfzahBQlD5+JScy4JCk 1sQw== 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:organization:from:references:to:subject:cc :arc-authentication-results; bh=GNGzyEniaGOOhCBIem+1W9tbBtT3llM8s8klTFVQxVc=; b=0H3L1p6RPQLE7z6FK8A08PvN7s25eU3qYdnF7g/sOn01Mz2dDS8+T/xu06A2l4yaO1 YIQxRZIoH/e7/YHR32bqQbEnEsnW8UDrKl/pvxfWkOZTFdPlyqgbvtyqmkGtJDxYhLlF Ctp+xfzgR3rM8x6JJeVvTucx4Ih8K1LWkSGpUOYUAbNpELIy9hI4j3wlAFcVQ2ilVZdP 0/NCGJAN7/7WMaHo84jxmOYtOifHhs7b/WuYGstPa4MY2Izz+MOx4BKRLMX3TPG11hn5 jIV4J9ak8yH8nETiJvSs/Zt06d3MBgGVbkRFN0JFltq4Xlx5wuETLsafFYc1HhWE0GYC wbYQ== 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 y187-v6si2857422pgd.459.2018.07.04.02.41.02; Wed, 04 Jul 2018 02:41:16 -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 S933299AbeGDJi7 (ORCPT + 99 others); Wed, 4 Jul 2018 05:38:59 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:34324 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932655AbeGDJio (ORCPT ); Wed, 4 Jul 2018 05:38:44 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 927FC80D; Wed, 4 Jul 2018 02:38:44 -0700 (PDT) Received: from [10.1.211.34] (e107155-lin.cambridge.arm.com [10.1.211.34]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E827C3F5AD; Wed, 4 Jul 2018 02:38:41 -0700 (PDT) Cc: Sudeep Holla , "Rafael J. Wysocki" , Len Brown , Ray Jui , Vladimir Olovyannikov , Vikram Prakash , Scott Branden , ACPI Devel Maling List , Linux Kernel Mailing List Subject: Re: [RFC PATCH] ACPI: bus: match of_device_id using acpi device To: Andy Shevchenko , Srinath Mannam , Nikolaus Voss References: <1530609760-8919-1-git-send-email-srinath.mannam@broadcom.com> From: Sudeep Holla Organization: ARM Message-ID: <8518137d-c859-657e-844f-51720f6ef8dd@arm.com> Date: Wed, 4 Jul 2018 10:38:33 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/07/18 10:32, Andy Shevchenko wrote: > On Wed, Jul 4, 2018 at 6:37 AM, Srinath Mannam > wrote: >> Hi Sudeep, Andy, >> >> Yes, This patch is to get of_device_id and then fetch data pointer. >> >> To add ACPI support in multiple drivers which are device-tree based >> and has list of of_device_ids, by using this function >> very minimal changes and can avoid acpi_device_id list in the driver. >> I will send driver changes where this function used to add ACPI >> support in following patches. >> >> Below are the changes added to add ACPI support in sdhci iproc driver >> using this function. > > So, did you get an ACPI ID for it? > That's how proper ACPI support should be done. > > P.S. What you are trying to do is being discussed with Nikolaus in [1]. > I have to NAK your approach in any case. Sorry. > +1 on NACK for this and anything else that abuse PRP0001 as a short cut approach. -- Regards, Sudeep