From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTP id 4610FB02 for ; Tue, 6 May 2014 12:05:38 +0000 (UTC) Received: from v094114.home.net.pl (v094114.home.net.pl [79.96.170.134]) by smtp1.linuxfoundation.org (Postfix) with SMTP id 82E4220118 for ; Tue, 6 May 2014 12:05:37 +0000 (UTC) From: "Rafael J. Wysocki" To: Benjamin Herrenschmidt Date: Tue, 06 May 2014 14:22:15 +0200 Message-ID: <2059176.eyfmTsLPbt@vostro.rjw.lan> In-Reply-To: <1399279528.20388.37.camel@pasglop> References: <3007964.pJHjDrtZps@vostro.rjw.lan> <1399279528.20388.37.camel@pasglop> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Cc: Greg Kroah-Hartman , dvhart@dvhart.com, "Rafael J. Wysocki" , ksummit-discuss@lists.linuxfoundation.org Subject: Re: [Ksummit-discuss] [TECH TOPIC] Driver model/resources, ACPI, DT, etc (sigh) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Monday, May 05, 2014 06:45:28 PM Benjamin Herrenschmidt wrote: > On Sun, 2014-05-04 at 14:28 +0200, Rafael J. Wysocki wrote: > > In my opinion, device drivers should not be concerned about that > > really. > > The layers of code above them (bus types etc.) should, but not drivers > > themselves, because that makes it difficult to use the same driver > > for the same piece of hardware on two systems with different firmware > > interfaces. > > Only for standardized resource types, such as mmio ranges or interrupts. > > Anything else is absolutely in the domain of competence of the driver > and I would argue *only* in the domain of competence of the driver. But why can't we treat DT bindings as a standard? -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.