Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp602146imm; Wed, 4 Jul 2018 02:46:02 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdELU1N0RTBfK+enRPCYaZzBXhgm2afWm0iJWSXFSAUr/Fq/OKkrxemoxKn1wSHeV+LEz7B X-Received: by 2002:a62:a649:: with SMTP id t70-v6mr1423480pfe.149.1530697562906; Wed, 04 Jul 2018 02:46:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530697562; cv=none; d=google.com; s=arc-20160816; b=yKoZ1zlU4SD4Hi4jinwECYG6CtlVEuCUXqOEYgnAJqdLJ3qijGzjgmnLMocH2AN9xF k9ZqTRw6yApdZzgKlrjYhbd4S60waJ1JWEpPBO/gvTEafvBA2o8fDJWhEL0cGLCSOIrn HI+YZr7sgCFB4RkJG3di2RNbbCUxyz+i50osAvK8NAmPQLxJELSEhft/zlmdL2zZX/Rb h4gZE6nOv2cbI3ZJ8tLy9UZzY2BBvF25HVvlzl6w7wd0F0PNvix8pqly+JUTLDW0GnlE GqgF+MPv12sp+SQzzE7X2K8yl1KO/H90zmohAGLfrux65VpK4/I5lGISajpIDtaU7S2u Aohw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=dw9Q7H+ZIiCGgsTk4SExhIkP8qwNiLz0OUXUPL43YBE=; b=y1cWcveKTA/RAjkBxPCcCc/jU2cAszYTdRA+BuaUbDLoKfe6LZKI/sIhsvCB6681c1 KpjlAuSBCN2idIU1Fdm0ZjKcxqn5YdTKMRPHsAVLFJrQwrjQAoMwfOsaK6w53K/K9Ftx PNXX5k872K5vgZOIGvZcbo8xuUZ1EvFbRgM8mUgjjqTNWRdsb1HYaCMrGaT3wOKwzTrF 75AIDX7FV5naKPprt7apbKPZLML+3xmMByL2ASJjqDX/U9RgvP2wggmVV/yXZJY8GX2L Xfl7EM7ziJcNEMm8rDpod/LPIBmfgL6VCL9jL7zRVRrpoQIGoE7iWcwaSGkLjc4sIVNo uYkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=OTOfDRaa; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 78-v6si3321882pfb.204.2018.07.04.02.45.48; Wed, 04 Jul 2018 02:46:02 -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; dkim=pass header.i=@broadcom.com header.s=google header.b=OTOfDRaa; 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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933572AbeGDJoL (ORCPT + 99 others); Wed, 4 Jul 2018 05:44:11 -0400 Received: from mail-oi0-f67.google.com ([209.85.218.67]:40809 "EHLO mail-oi0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753279AbeGDJlZ (ORCPT ); Wed, 4 Jul 2018 05:41:25 -0400 Received: by mail-oi0-f67.google.com with SMTP id w126-v6so9561189oie.7 for ; Wed, 04 Jul 2018 02:41:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=dw9Q7H+ZIiCGgsTk4SExhIkP8qwNiLz0OUXUPL43YBE=; b=OTOfDRaaF65ryN2FC7AWuKOLhFaS7zAWrIj+pJF5g03y4382jJQ2DJHYMUJOZR9dIS Kf+bDm5In856+nznBJF0MCBIF+a+UVfaJxEcGML/BFFary5Y83wTM/AQwdSszbq8LCE1 0lDFSyLCY1ZTmhyfgvj6ltJvoN+BJ7aGIiyCM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=dw9Q7H+ZIiCGgsTk4SExhIkP8qwNiLz0OUXUPL43YBE=; b=POa3vqOteJlJmNpuavVmnWc3+WVVMWRLm6DYMGwS6C7N3seaOa3Mx6bpIhV51SmJgV nCuWIkoKltNSRV4i8XfjdgnRyQvKnXdlAWrQDObU0ZXbQ0KtvP/DswUJ8Pgob/spMUyj YkwD6985XHkejSzi4mxWPf9t+wv+/EyjLeTu5Yw8BNQODozRspj3grub0byDe+V8kxoR XlksyzFYdtIFm4K2suttqokT0hfroVo1YRKiD1E4TNATf/hkjEM+MsIKKUOTNtkDX+rJ Hr6E9i6fRC7qpi6/yNuZkvjIBDQCkphMCRJOh4XcanEySy/5G/PMpqDKZ12HETxObt2i qzGg== X-Gm-Message-State: APt69E0gsaPAHH8g3U2TuyWtXnizzYJq2W5ktLqE7VW4myIpyaaQTQzW io0/Ew3jUP8+d8xekjtVVTF72WOVcyOmmzbpoKTMNw== X-Received: by 2002:aca:42:: with SMTP id 63-v6mr1217504oia.154.1530697284387; Wed, 04 Jul 2018 02:41:24 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:51d2:0:0:0:0:0 with HTTP; Wed, 4 Jul 2018 02:41:23 -0700 (PDT) In-Reply-To: <8518137d-c859-657e-844f-51720f6ef8dd@arm.com> References: <1530609760-8919-1-git-send-email-srinath.mannam@broadcom.com> <8518137d-c859-657e-844f-51720f6ef8dd@arm.com> From: Srinath Mannam Date: Wed, 4 Jul 2018 15:11:23 +0530 Message-ID: Subject: Re: [RFC PATCH] ACPI: bus: match of_device_id using acpi device To: Sudeep Holla Cc: Andy Shevchenko , Nikolaus Voss , "Rafael J. Wysocki" , Len Brown , Ray Jui , Vladimir Olovyannikov , Vikram Prakash , Scott Branden , ACPI Devel Maling List , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sudeep, Andy, Thank you for all the valuable information and knowledge. Regards, Srinath. On Wed, Jul 4, 2018 at 3:08 PM, Sudeep Holla wrote: > > > 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