Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1129932imm; Tue, 3 Jul 2018 06:07:13 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdW+0+zBYBiVO1Umai/aY+DDpviXcfrrxM8CFcb+bScxNv2wucwruO3opjBguyHSoW2Jaig X-Received: by 2002:a62:152:: with SMTP id 79-v6mr26820446pfb.74.1530623233738; Tue, 03 Jul 2018 06:07:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530623233; cv=none; d=google.com; s=arc-20160816; b=Xmi0dNVMRLIbvCRV/ZlP2SjIg3sUrolvn6pfRt7gbFE4Z80j1gM7KSiJBBR7wUlht1 cj++7zW5JRUQ3tpOl20jNfjwY5EjWWX1pAjONLbfVvbVzTqAQvOFRyACPM8XYjC/6/kK i9aWarcbAFEMjwB9PfMXNvlIIua0yoq5l9C2T4HXnZZEfgslbAg8cYk/NI/RVjcFYqe/ awsmw+y7HfPK7R18c0TXuTHqobnAMG98c0a5T/vSTMXo5AI/5S7Sx7kggCu7JUPnmrdI DU4thBXymyy6f11tEo8PwDqDASwUnq4ScWe/KPLgjxPWeLmzY5gQUkfAi7puZtgjcLnZ ZAVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=PBN9a5rJFK+O8z8tVONf8wyy0mpj7eTqgROy1L7spKM=; b=Vjv0TfSfsZJCZU4zDTA/Eos8ZLpaRI2p0LY8cvW7Qr7f2kXnbgzyIbTkjlyzt1TNGr pJmEhXSMEVpxFe2vsrxEAn37jDRMzE8JD5K3TbXf3s8E9vDJIpGLmUMr4ezoayWRSXQl rmNhxvE6UAbd8zDN9kqaw620BfimcZnI9SGO9h156/aM/QzemHUP6ZsV1uVYFcNo3y2z RqumL++WvjS6YUXYrsxlE0nEdQqAdAhctq638t1OKCI2Byf3Bjy0akPvbpHOV6W0Lihb ZrZocvjZQAKcupyF7i9TSt+tQpHNMsps0wroqoyTHM0rVjdpU9mYwl2+D6RcPyZeiJ2r +J4g== 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 g92-v6si1104503plg.0.2018.07.03.06.06.58; Tue, 03 Jul 2018 06:07:13 -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 S1753272AbeGCNGL (ORCPT + 99 others); Tue, 3 Jul 2018 09:06:11 -0400 Received: from foss.arm.com ([217.140.101.70]:48888 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752686AbeGCNGJ (ORCPT ); Tue, 3 Jul 2018 09:06:09 -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 6B3BE80D; Tue, 3 Jul 2018 06:06:09 -0700 (PDT) Received: from e107155-lin (unknown [10.1.210.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7D9B73F5BA; Tue, 3 Jul 2018 06:06:07 -0700 (PDT) Date: Tue, 3 Jul 2018 14:06:01 +0100 From: Sudeep Holla To: Srinath Mannam Cc: rafael@kernel.org, lenb@kernel.org, andy.shevchenko@gmail.com, ray.jui@broadcom.com, vladimir.olovyannikov@broadcom.com, vikram.prakash@broadcom.com, scott.branden@broadcom.com, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Sudeep Holla Subject: Re: [RFC PATCH] ACPI: bus: match of_device_id using acpi device Message-ID: <20180703130601.GA1010@e107155-lin> References: <1530609760-8919-1-git-send-email-srinath.mannam@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1530609760-8919-1-git-send-email-srinath.mannam@broadcom.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 03, 2018 at 02:52:40PM +0530, Srinath Mannam wrote: > This patch provides a function, to get of_device_id after > matching with ACPI device _DSD object compatible property > in the case driver does not contain acpi_device_id list > and driver probe called for ACPI device ID PRP0001 with > compatible property match with of_device_id compatible. > So, IIUC you are adding this to get of_device_id and then fetch data ptr from it. Can we see the user in some driver ? -- Regards, Sudeep