From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Subject: Re: [RFC v2 5/5] drm: Add NVIDIA Tegra support Date: Mon, 21 May 2012 13:05:14 +0200 Message-ID: <20120521110514.GC27686@avionic-0098.mockup.avionic-design.de> References: <1335347102-14905-1-git-send-email-thierry.reding@avionic-design.de> <1335347102-14905-6-git-send-email-thierry.reding@avionic-design.de> <4FA78CBD.5010606@nvidia.com> <4FA7F80F.5090002@wwwdotorg.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7121798164827834064==" Return-path: In-Reply-To: <4FA7F80F.5090002-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Stephen Warren Cc: Lucas Stach , David Airlie , Joerg Roedel , "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org" , Mark Brown , Wolfram Sang , "dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org" , "iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org" , "linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Rob Herring , Ben Dooks , Colin Cross , "linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Terje =?utf-8?Q?Bergstr=C3=B6m?= , Jon Mayo , Liam Girdwood , Hiroshi Doyu List-Id: dri-devel@lists.freedesktop.org --===============7121798164827834064== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i7F3eY7HS/tUJxUd" Content-Disposition: inline --i7F3eY7HS/tUJxUd Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Stephen Warren wrote: > On 05/07/2012 02:50 AM, Terje Bergstr=C3=B6m wrote: > > Hi Thierry, > >=20 > > I have still lots of questions regarding how device trees work. I'm now > > just trying to match the device tree structure with hardware - let me > > know if that goes wrong. > >=20 > > There's a hierarchy in the hardware, which should be represented in the > > device trees. All of the hardware are client modules for host1x - with > > the exception of host1x obviously. CPU has two methods for accessing the > > hardware: clients' register aperture and host1x channels. Both of these > > operate via host1x hardware. > >=20 > > We should define host1x bus in the device tree, and move all nodes > > except host1x under that bus. >=20 > I think the host1x node /is/ that bus. I agree. It's really just a "simple-bus" kind of bus. Except that it'll need another compatible value to make the host1x driver bind to it. But we should be able to make it work without creating a completely new bus. I guess the "ranges" property could specify 0x54000000 as the base address and child nodes could use offsets relative to that. Maybe even that is overkill, though. Thierry --i7F3eY7HS/tUJxUd Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAk+6IWoACgkQZ+BJyKLjJp8BbwCfVioYzcE0ie1e7A6klkGV7u5J s10An2kQQvqRcUZ5RpkOwfy4TeSXWQXp =RkOd -----END PGP SIGNATURE----- --i7F3eY7HS/tUJxUd-- --===============7121798164827834064== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ devicetree-discuss mailing list devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org https://lists.ozlabs.org/listinfo/devicetree-discuss --===============7121798164827834064==--