From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH v3 21/24] tools/(lib)xl: Add partial device tree support for ARM Date: Mon, 23 Feb 2015 11:31:12 +0000 Message-ID: <1424691072.27930.29.camel@citrix.com> References: <1421159133-31526-1-git-send-email-julien.grall@linaro.org> <1421159133-31526-22-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YPrEi-00069b-VW for xen-devel@lists.xenproject.org; Mon, 23 Feb 2015 11:31:41 +0000 In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: Wei Liu , Ian Jackson , Julien Grall , tim@xen.org, stefano.stabellini@citrix.com, xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Thu, 2015-01-29 at 11:03 +0000, Stefano Stabellini wrote: > On Tue, 13 Jan 2015, Julien Grall wrote: > > Let the user to pass additional nodes to the guest device tree. For this > > purpose, everything in the node /passthrough from the partial device tree will > > be copied into the guest device tree. > > > > The node /aliases will be also copied to allow the user to define aliases > > which can be used by the guest kernel. > > > > A simple partial device tree will look like: > > > > /dts-v1/; > > > > / { > > #address-cells = <2>; > > #size-cells = <2>; > > > > passthrough { > > compatible = "simple-bus"; > > ranges; > > #address-cells = <2>; > > #size-cells = <2>; > > > > /* List of your nodes */ > > } > > }; > > It would be nice to have an example of this under tools/examples. docs/misc/arm-passthrough.{markdown,txt,something} might be better...