Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755851Ab0K3LVH (ORCPT ); Tue, 30 Nov 2010 06:21:07 -0500 Received: from www.tglx.de ([62.245.132.106]:56434 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755754Ab0K3LVE (ORCPT ); Tue, 30 Nov 2010 06:21:04 -0500 Message-ID: <4CF4DE00.4030105@linutronix.de> Date: Tue, 30 Nov 2010 12:20:32 +0100 From: Sebastian Andrzej Siewior User-Agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100329) MIME-Version: 1.0 To: Benjamin Herrenschmidt CC: Alan Cox , Mitch Bradley , Scott Wood , sodaville@linutronix.de, x86@kernel.org, devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 03/11] x86/dtb: Add a device tree for CE4100 References: <1290706801-7323-1-git-send-email-bigeasy@linutronix.de> <1290706801-7323-4-git-send-email-bigeasy@linutronix.de> <1290808645.32570.158.camel@pasglop> <20101128160449.GC30784@www.tglx.de> <1290984809.32570.208.camel@pasglop> <20101129130720.7d060e1c@udp111988uds.am.freescale.net> <1291061128.32570.298.camel@pasglop> <4CF40DF4.9060204@firmworks.com> <1291063470.32570.312.camel@pasglop> <20101129234735.4ce3a933@lxorguk.ukuu.org.uk> <1291085411.32570.320.camel@pasglop> In-Reply-To: <1291085411.32570.320.camel@pasglop> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1108 Lines: 30 Benjamin Herrenschmidt wrote: > On Mon, 2010-11-29 at 23:47 +0000, Alan Cox wrote: >> That may not be wise. Your real bus heirarchy may not be architecturally >> defined on some systems so you can't incorporate it into code, nor is it >> necessarily a heirarchy - eg some of the Geodes. > > Ok, so I'd suggest doing something like: > > - pci is below the corresponding atom node > - isa is a child of pci > > The later is a useful representation even if it doesn't correspond to > reality. From an address representation perspective, ISA can be > considered somewhat as a substractive decoding child of PCI (again even > if that's not 100% true), which simplifies the representation in the > device-tree a bit, and allows to still have things like VGA devices on > the PCI segment that decode IO ports in the ISA range. okay. > Cheers, > Ben. Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/