Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp662146imm; Wed, 4 Jul 2018 03:54:53 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfoJI6gIuRIb5x8ZZlpFkE68W3GVrKOS3VmviI++AaRPIMbGKnhry2Wlch7cla74Sb9LpDF X-Received: by 2002:a63:b047:: with SMTP id z7-v6mr1453507pgo.335.1530701693506; Wed, 04 Jul 2018 03:54:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530701693; cv=none; d=google.com; s=arc-20160816; b=HTiB4XThvB4scq1RR96EQtif4lf/Yu7RjLIvdowpafYtIM6Q4e33UnPjuB/gO+oXdb 46RXfVbxLCb727Hkux8kaD4lRbG+zcAPOOLtIfxFcoLQ6mo0HyaVuxnlB3CX7q7dW3nF o5xMt2sMFC8MuBrBHcKzvL19YI2frrDHiUbd88SwE4MEYhldZZqnRq41GC8jgUXrr2nX PR0P9PPc5kc3jtRNLgASWPY48AFe13i1iLBH1qVPrtOL/jhaTTHAGhlek3qLjthjBZ9X RS98qn2ZNk3jGYcv/ZuHFmB1TwbedBiq10rbLHSo9oBkua6TIskbFZFbUFhHumBP5tdf er3Q== 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=SsQ02UeuOOheBrZb2vMmKXm5jdzGLGltYL7e06PmX6A=; b=ds5ITBPUj+YhaQawDg3cww/KmntCSyZXYDfJFUqA+czRrWj+z9xLEcM+Sp/D2WXayc xXlNEhlbOqBzDI80KXce8kTLjKRFhwDFYJoAgbJLtZasWkJnGPQ6sOvIj3sgPaDGCRCa wIlGMjBL6olg+cN7uhB5DSSQR5zCA5ubtcmPHNk9tIR2TCsiEsAteUQcZqxfoZXsrPhO 9TgqTk3NXUdsx4+xhE88/jQbPGJlBreh2R2hh5rVab9hTFHaPjga0kTLofuBAxyd9FKq LxlOMGpOF2rLyzuzcETM+n2mDXJb4cw4YE8S3JmNIKNraoWDxQfC4iXXrmzgCSB8EogW c5zg== 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 t10-v6si3386752pfk.228.2018.07.04.03.54.39; Wed, 04 Jul 2018 03:54:53 -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 S933698AbeGDKyA (ORCPT + 99 others); Wed, 4 Jul 2018 06:54:00 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:35468 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932864AbeGDKx7 (ORCPT ); Wed, 4 Jul 2018 06:53:59 -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 ABD8518A; Wed, 4 Jul 2018 03:53:58 -0700 (PDT) Received: from e107155-lin (e107155-lin.cambridge.arm.com [10.1.211.34]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 53C433F5AD; Wed, 4 Jul 2018 03:53:56 -0700 (PDT) Date: Wed, 4 Jul 2018 11:53:49 +0100 From: Sudeep Holla To: Nikolaus Voss Cc: Andy Shevchenko , Srinath Mannam , "Voss, Dr. Nikolaus" , "Rafael J. Wysocki" , Len Brown , Ray Jui , Vladimir Olovyannikov , Vikram Prakash , Scott Branden , ACPI Devel Maling List , Linux Kernel Mailing List , Sudeep Holla , nv@vosn.de Subject: Re: [RFC PATCH] ACPI: bus: match of_device_id using acpi device Message-ID: <20180704105349.GA14665@e107155-lin> References: <1530609760-8919-1-git-send-email-srinath.mannam@broadcom.com> <8518137d-c859-657e-844f-51720f6ef8dd@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Wed, Jul 04, 2018 at 12:17:20PM +0200, Nikolaus Voss wrote: > On Wed, 4 Jul 2018, Sudeep Holla wrote: > > [...] > >+1 on NACK for this and anything else that abuse PRP0001 as a short cut > >approach. > > This is no abuse but exactly what PRP0001 is meant for. The basic idea of > PRP0001 is to reuse DT "compatible" strings in ACPI namespace, see > Documentation/acpi/enumeration.txt. Reusing also means getting access to the > of_device_id. > Sorry for not being descriptive. It has been discussed a lot in past and I assume someone would had gone through them, so gave no information in my response. > Allocating an ACPI id for an already existing DT driver is redundant, isn't it? > I think Andy had provided the summary and the intentions. Rafael has also confirmed, I have nothing else to add. -- Regards, Sudeep