Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp592559imm; Wed, 4 Jul 2018 02:33:19 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc+i70J9U390oHXQ/InmE32DaZIWVUXtGYS0hwAeb+EPsmVWV+jCRpwhl6DytMgcUzVhjIM X-Received: by 2002:a17:902:4c88:: with SMTP id b8-v6mr1300234ple.285.1530696799302; Wed, 04 Jul 2018 02:33:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530696799; cv=none; d=google.com; s=arc-20160816; b=RG0XG4vYhy4oGRiQrJGD16Phf7rjRVW5qwUztSqDrkLMSAQOqsS70MIUs4UP8/1GhE 5RXHzw4h/TnD1FDNUBESq21sgOaMOsTTAetz9kg4YqX9v6ZGq4gDgwiZ2eEBhvUBt/7a 10o9yVX146Q7jt5JZrwOF3j2uIrc7vuIlHU+O1cYH4miClsKSEOI2QmKA0aNoNu0Ep6z tmK2vsY4Vaztbd2vpYfzZtPqUEsmYvOiU7AXZ1fKpfiCv4m/vA2oa3Deza9y5rWF1lpv K17DIWmZsk7d0K0OqbM3ObraFmHMwpHaU0xG++IOyXZw4DJGVOHuNobD7t3pOtS/0Qun 2vZw== 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=JzIpZBExHc7xhw8lDA2ODGCg2Un3zA1EwFdebVQivQ0=; b=YyC4GeeiW3ulkKJu/SYfoDDCAlcCLLIDnQhtR8S39G7ZW01e70xpXSig/cgwD7XBUl nTRbXY7vdTiUQ0lDHIqRPHFvUpUKgkWTgMRRkX63DJ9U2Vb2UQcuR9WsiBcgNFALqE+A AKY3am9WiRaeF1p625VaLtUgp6QDHes3MmFHN0fiM7BIFqszHFsrrsBmeBGlgekOdD/W EetsOuzeYPWmtWz6nMGq/X9Do/JKV4uILdGKemU676aH3pR263IprYWNQD10RkanyBb6 7ueXpluvreA/ZyKPOc8sL0e1ZMBD3JpWwg+0MXJESWKv9+t6ofWUgXXzTRdKgUFpnwAn NyHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IyZmRJcK; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 33-v6si3059753plf.133.2018.07.04.02.33.04; Wed, 04 Jul 2018 02:33:19 -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=@gmail.com header.s=20161025 header.b=IyZmRJcK; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933269AbeGDJcY (ORCPT + 99 others); Wed, 4 Jul 2018 05:32:24 -0400 Received: from mail-vk0-f66.google.com ([209.85.213.66]:41941 "EHLO mail-vk0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932439AbeGDJcW (ORCPT ); Wed, 4 Jul 2018 05:32:22 -0400 Received: by mail-vk0-f66.google.com with SMTP id j11-v6so2733096vke.8; Wed, 04 Jul 2018 02:32:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=JzIpZBExHc7xhw8lDA2ODGCg2Un3zA1EwFdebVQivQ0=; b=IyZmRJcKH2yMyz/dQsz21kZts0QnZnVn2iPb+sXInqU52lfmGLb1b1OieZnSfPAFk6 D8QWTgUESt1r8xjLGKdA+91vwygs5d6rO1Jwr742o20HZ6iZkcdkEiM8UWaI3cDGOf3N aoenOs/XaOtAau05Ig6mcHNqVX/aaH0zlu/zFRxmubjpciT+J+QISnC0CnWbyF1sH5Jv N+24QEPrO2ElzwVHN9bAR0jEbSKOH3cTvOIPapQlB2puZqL5C68VSweL7W/hSLyQP81C cPWFM2eeeEzOPEDZeYtWzjLo2k7+najqv0liK/O/7KFlVoTne9/Uw+nRZ2F74v4jlKzD MnVQ== 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=JzIpZBExHc7xhw8lDA2ODGCg2Un3zA1EwFdebVQivQ0=; b=rQ6j4pDug7nDtEGZetsGqIVP6BMdPRoSSWZ1ks17+E6vRcql+2qLmugNHDPpU5vY0D OQhx5hSrIUPMshGJFil7oQ31LPqI4xgMtHcKdkjxOf1wxEXTZVj/MrM/9TfCYI0CSBm5 nreTwKME021CGVov4RoaZCCJnHdwyIEjyGddWh8dIa2JhjhjywDuHV4CcJF3gcLjW2Ib STzbGtp/1s4eWJmzbyIe6/e4YXRO0dxNlRRk36jwU9KsFQ7mLGfAKAjvli4AoefgL1Jd EVOIMx/5WTmjqM1A0JWuAVdNWQIXKlBE0hbMrCnlsLiKL61DfZOZsBngxfLfHKCm51r7 yHhw== X-Gm-Message-State: APt69E3Q1TDSubJDRhyLIoe6qNjGK8805ynEPQRCpk8IeWE1RSKp2Whw /JOJc4NU29d6NomDyuNA/H6zd50u0X/FO8094FGX2M2a7bo= X-Received: by 2002:a1f:8e0f:: with SMTP id q15-v6mr660781vkd.161.1530696741936; Wed, 04 Jul 2018 02:32:21 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a67:2149:0:0:0:0:0 with HTTP; Wed, 4 Jul 2018 02:32:21 -0700 (PDT) In-Reply-To: References: <1530609760-8919-1-git-send-email-srinath.mannam@broadcom.com> From: Andy Shevchenko Date: Wed, 4 Jul 2018 12:32:21 +0300 Message-ID: Subject: Re: [RFC PATCH] ACPI: bus: match of_device_id using acpi device To: Srinath Mannam , Nikolaus Voss Cc: Sudeep Holla , "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 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]: https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1724366.html (Unfortunately I don't see the original patch there by unknown reason) -- With Best Regards, Andy Shevchenko