Thread (1 message) 1 message, 1 author, 2012-05-21

Re: [RFC v2 5/5] drm: Add NVIDIA Tegra support

From: Thierry Reding <hidden>
Date: 2012-05-21 11:05:14
Also in: dri-devel, linux-i2c, linux-iommu, linux-tegra

* Stephen Warren wrote:
On 05/07/2012 02:50 AM, Terje Bergström wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help