* Stephen Warren wrote: > On 05/07/2012 02:50 AM, Terje Bergström wrote: > > Hi Thierry, > > > > 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. > > > > 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. > > > > We should define host1x bus in the device tree, and move all nodes > > except host1x under that bus. > > 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
Attachment:
pgpc8BuTahhfR.pgp
Description: PGP signature
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel