Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1416186imm; Tue, 3 Jul 2018 10:42:40 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJDG6pJ8RQMCwPOf+V5G3Zt2vTf2bk+3pWAKIqjQQEfK61kTaC145KF7uoqvK5998o+EoiH X-Received: by 2002:a63:3444:: with SMTP id b65-v6mr26178616pga.396.1530639760888; Tue, 03 Jul 2018 10:42:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530639760; cv=none; d=google.com; s=arc-20160816; b=j2Q+26fnG4jEwppXXgtFWXymR9cqiC6RsvKV35DZ5sHPqE/9hrajlzpYXEG4fyi5+q tQoRbD15ZvpTvqT3n2tDy/H0pdYQQNykd9WHhPHihI17lYCpirPDluoPyPqekeNa2p0o 0dZrudU+HjIE6YIgqSz2zfSDA7Pfa3rIyTQjvN4Aobqb6EfY7bGC88qCCu8A93ofiFUK aylYmAqGqnIJVUe24jLadyq7anzXJ8UptT8QeMFxUZRtMcoy0dOMiEByJYD0tRf2Qk97 0/yoaF8z6xBfwUpkIrY4dSuDrSkYexzV1Qn04E1o54EsHLewUctBem24lHIcZCT/Pyf/ 3Zzw== 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=kJEOx6+v+KNUdClGiyxZp7NEKY0BBxaw8d11yOEkpiU=; b=I4TmO9pO/hvBd+fzTwtNH2SFHahOxF8KUDWXoSt6p3d5b9EImd2AQj2IVYyx1fy8J8 kcxMRIp9e6EPKMtSgEMByUnzt8QU3zSjX6SgykUdRQhu1exJDv+fl7nwmhelc9dwcFaV EBm2VJKSVcs7T8Uuo0m3jzx+qtyeho+QL8rG3s58SZyj22dZ41dR2pTWWEwOkFi/URgL 3mJLNpP7GNAZL+M244J48b/etV9aTGw7PJn5n8XaNnS0YNJW8QdV0vZTWFvteM0UmJeO rbIEebL5iWhLLJBfC4CORO632L6CtF7hLor3eGZfZmfFy/Ey9sw8oX8R0EeDNV33t3R/ l7DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TaG8B+Bb; 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 g26-v6si1472796pgl.49.2018.07.03.10.42.25; Tue, 03 Jul 2018 10:42:40 -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=TaG8B+Bb; 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 S934297AbeGCRlD (ORCPT + 99 others); Tue, 3 Jul 2018 13:41:03 -0400 Received: from mail-ua0-f193.google.com ([209.85.217.193]:41881 "EHLO mail-ua0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934004AbeGCRlB (ORCPT ); Tue, 3 Jul 2018 13:41:01 -0400 Received: by mail-ua0-f193.google.com with SMTP id t14-v6so1768897uao.8; Tue, 03 Jul 2018 10:41:01 -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=kJEOx6+v+KNUdClGiyxZp7NEKY0BBxaw8d11yOEkpiU=; b=TaG8B+BbtszM77C0Y9LzgD5Yz1SX8ICXNrLQoQ7kLMgDAVWAV3VX+rf3Vuc+8qYRb1 tXbilJxkSS10gILoe6td1o9qdKxrT9TmYNxSiovSZ+jUBfp8Ulxfq8MDk3hWf7Y5VQ+H cm8hP+C+WkysD06Q13CuEqlddh5ukRSEbavK5vMrHn033UnGn87NfgAX146ksH6Wfha1 cigr1VQwzeKoUhR+JVkVYdbn+a5s5wXJBz8hmzR+q02ewuPFNASbBmlntn+A56rfcTC0 2V7Cxbn623Bu/umbMWxzqXiuT20EbgxkaMPzZC9i4HpIJgYMw0ggvzcAsA6XtWUrbAfu BBHg== 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=kJEOx6+v+KNUdClGiyxZp7NEKY0BBxaw8d11yOEkpiU=; b=sZkTs1ngf78fysqVjAGsT+N7vGeQOQZr8liaBgAUeagSUdcdZSMPfPOLLt4DBnb9XV rSPUODGTuaD7dfazFpZm/YSDtdIQ0XLt0fGmlvn+TmPE9IQoQQKVorCm8+YC6UcewuTH SKH42XXnqcTJ06qHR8SHjA0pimKEhmlKdNivnwqegjKteQegSlQ001m0s7aQEewtxPGT aDbiwYvfLJPVze+8DK2wn2fmLFqgmiKYkX/mPEUAPusF2B3+F2TnQXXt9QO3k/GGCfwf 0L2hqbIP9qA8ofMDfiMFa2y1PSfFjkozn/GypbbRLG8/yV0HUUeWj+PoQGiK4BObM8Rm WhXA== X-Gm-Message-State: APt69E2+G5zEAA6pDFTTP1xIW4zbfq0dBxicXM+590hi3AQ3v/4G05z7 HRh5z2/yIo0MKYEyC4SSN2sDGrq0OZbENU68DIU= X-Received: by 2002:ab0:1446:: with SMTP id c6-v6mr19156947uae.12.1530639660841; Tue, 03 Jul 2018 10:41:00 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a67:2149:0:0:0:0:0 with HTTP; Tue, 3 Jul 2018 10:41:00 -0700 (PDT) In-Reply-To: <1530609760-8919-1-git-send-email-srinath.mannam@broadcom.com> References: <1530609760-8919-1-git-send-email-srinath.mannam@broadcom.com> From: Andy Shevchenko Date: Tue, 3 Jul 2018 20:41:00 +0300 Message-ID: Subject: Re: [RFC PATCH] ACPI: bus: match of_device_id using acpi device To: Srinath Mannam Cc: "Rafael J. Wysocki" , Len Brown , Ray Jui , vladimir.olovyannikov@broadcom.com, vikram.prakash@broadcom.com, scott.branden@broadcom.com, 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 Tue, Jul 3, 2018 at 12:22 PM, 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. I don't see any usefulness of this function. Care to provide a real use case? -- With Best Regards, Andy Shevchenko