Re: [RFC v2 5/5] drm: Add NVIDIA Tegra support |
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [RFC v2 5/5] drm: Add NVIDIA Tegra support
- From: Stephen Warren <swarren@xxxxxxxxxxxxx>
- Date: Mon, 07 May 2012 10:27:59 -0600
- Cc: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>, Joerg Roedel <joerg.roedel@xxxxxxx>, "devicetree-discuss@xxxxxxxxxxxxxxxx" <devicetree-discuss@xxxxxxxxxxxxxxxx>, Wolfram Sang <w.sang@xxxxxxxxxxxxxx>, "dri-devel@xxxxxxxxxxxxxxxxxxxxx" <dri-devel@xxxxxxxxxxxxxxxxxxxxx>, Grant Likely <grant.likely@xxxxxxxxxxxx>, "iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx" <iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx>, "linux-i2c@xxxxxxxxxxxxxxx" <linux-i2c@xxxxxxxxxxxxxxx>, Rob Herring <rob.herring@xxxxxxxxxxx>, Ben Dooks <ben-linux@xxxxxxxxx>, Colin Cross <ccross@xxxxxxxxxxx>, "linux-tegra@xxxxxxxxxxxxxxx" <linux-tegra@xxxxxxxxxxxxxxx>, Jon Mayo <jmayo@xxxxxxxxxx>, Liam Girdwood <lrg@xxxxxx>, Hiroshi Doyu <hdoyu@xxxxxxxxxx>
- Delivered-to: dri-devel@xxxxxxxxxxxxxxxxxxxxx
- In-reply-to: <4FA78CBD.5010606@nvidia.com>
- 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>
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20
On 05/07/2012 02:50 AM, Terje Bergström wrote:
> On 25.04.2012 12:45, Thierry Reding wrote:
>
>> +/ {
>> + ...
>> +
>> + /* host1x */
>> + host1x: host1x@50000000 {
>> + compatible = "nvidia,tegra20-host1x";
>> + reg = <0x50000000 0x00024000>;
>> + interrupts = <0 64 0x04 /* cop syncpt */
>> + 0 65 0x04 /* mpcore syncpt */
>> + 0 66 0x04 /* cop general */
>> + 0 67 0x04>; /* mpcore general */
>> + };
>> +
>> + /* video-encoding/decoding */
>> + mpe@54040000 {
>> + reg = <0x54040000 0x00040000>;
>> + interrupts = <0 68 0x04>;
>> + };
>> +
>
> (...)
>
> 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.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Home]
[Linux USB Devel]
[Video for Linux]
[Linux Audio Users]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Video Projectors]
[PDAs]
[Free Online Dating]
[Hacking TiVo]
[Linux Kernel]
[Linux SCSI]
[XFree86]
[Devices]
[Big List of Linux Books]
[16.7MP]