From: Hiroshi Doyu Subject: Re: Tegra DRM device tree bindings Date: Tue, 26 Jun 2012 16:02:24 +0300 Message-ID: <20120626160224.40ba10a26e3dd3a56b1f312c@nvidia.com> References: <20120626105513.GA9552@avionic-0098.mockup.avionic-design.de> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120626105513.GA9552-RM9K5IK7kjIQXX3q8xo1gnVAuStQJXxyR5q1nwbD4aMs9pC9oP6+/A@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Thierry Reding Cc: "linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org" , "dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org" , iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Lucas Stach List-Id: dri-devel@lists.freedesktop.org Hi Thierry, On Tue, 26 Jun 2012 12:55:13 +0200 Thierry Reding wrote: > * PGP Signed by an unknown key > > Hi, > > while I haven't got much time to work on the actual code right now, I > think it might still be useful if we could get the device tree binding > to a point where everybody is happy with it. That'll also save me some > time once I get to writing the code because I won't have to redo it over > again. =) > > So here's the current proposal: > > host1x { > compatible = "nvidia,tegra20-host1x", "simple-bus"; > reg = <0x50000000 0x00024000>; > interrupts = <0 64 0x04 /* cop syncpt */ > 0 65 0x04 /* mpcore syncpt */ > 0 66 0x04 /* cop general */ > 0 67 0x04>; /* mpcore general */ > > #address-cells = <1>; > #size-cells = <1>; > > ranges = <0x54000000 0x54000000 0x04000000>; > > status = "disabled"; > > gart = <&gart>; ... > output and hooks up a static EDID block with the LVDS output. There is > also a carveout property which might be a better replacement for the > "crippled" GART on Tegra20. Alternatively the CMA might work just as > well instead. > > The Plutux can be described like this: > > host1x { > carveout = <0x0e000000 0x02000000>; As discussed in the following ML thread previously, the necessary info related to the "gart" would be got from the standard IOMMU API(or something above layers, DMABUF or TTM?). So I don't think that we need to refer to "gart" and "carveout" here in the end. http://lists.linuxfoundation.org/pipermail/iommu/2012-June/004266.html