From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-in-03.arcor-online.net (mail-in-03.arcor-online.net [151.189.21.43]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.arcor.de", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 15FC9DDE49 for ; Thu, 15 Feb 2007 11:17:36 +1100 (EST) In-Reply-To: <1171489360.20192.184.camel@localhost.localdomain> References: <20070213060904.GA6214@localhost.localdomain> <20070213061026.5837FDDDE9@ozlabs.org> <9696D7A991D0824DBA8DFAC74A9C5FA302A1B705@az33exm25.fsl.freescale.net> <1171470754.4003.101.camel@zod.rchland.ibm.com> <6206de08b7f12175bebe669291c66334@kernel.crashing.org> <9696D7A991D0824DBA8DFAC74A9C5FA302A1B86F@az33exm25.fsl.freescale.net> <9df9bf3adf511f4c1a7945e022fdd447@kernel.crashing.org> <9696D7A991D0824DBA8DFAC74A9C5FA302A1B8EF@az33exm25.fsl.freescale.net> <1171489360.20192.184.camel@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <122a66d49480520cf87cd748bbfc50bb@kernel.crashing.org> From: Segher Boessenkool Subject: Re: [PATCH 15/16] Add device tree for Ebony Date: Thu, 15 Feb 2007 01:17:30 +0100 To: Benjamin Herrenschmidt Cc: linuxppc-dev@ozlabs.org, Yoder Stuart-B08248 , David Gibson List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > The device type specifies the programming model of the node for OF, > that > is the set of words the driver will provide to OF. So that's something > we don't necessarily care much about for non-OF implementation but > still > we should avoid going too far from that model either (after all, > somebody can very well want to use a real OF on a board with a SoC). Exactly. The "separate device tree" imitates a real OF, so you will lose much of its value if you start to deviate from how real OF works. > The device type is also used by the kernel in some areas. For example, > the spec specifies that PCI host controllers and P2P bridges have a > device-type of "pci" and the kernel relies heavily on that. Same for > ISA. It thus makes sense to continue that practice with other bus > types. Yep, for peripheral busses the kernel's needs are quite the same as the firmware's needs so it makes sense that both use device_type. Segher