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

Re: [PATCH v2] ARM: dt: tegra20: Add GART device

From: Stephen Warren <hidden>
Date: 2012-05-03 18:58:39
Also in: linux-iommu, linux-tegra

Possibly related (same subject, not in this thread)

On 05/03/2012 12:28 PM, Stephen Warren wrote:
On 04/16/2012 09:04 AM, Thierry Reding wrote:
quoted
This commit adds the device node required to probe NVIDIA Tegra 20 GART
hardware from the device tree.
quoted
diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi
quoted
+	gart: gart@7000f000 {
+		compatible = "nvidia,tegra20-gart";
+		reg = < 0x7000f000 0x00000100    /* controller registers */
+		        0x58000000 0x02000000 >; /* GART aperture */
+	};
...
As such, I think this node should be more like:

mc: mc@7000f000 {
    compatible = "nvidia,tegra20-mc";
    reg = <0x7000f000 0x00000100>;
};

Then, one of following options can be taken:
[to represent the fact that MC and GART are essentially the same HW module]
...

Yet another option is to explicitly use the MFD subsystem for this; I
guess options 1 and 3 that I gave were essentially open-coding MFD anyway.

Offline, Hiroshi mentioned that he had looked at MFD, and ended up
thinking it was a rather heavy-weight solution in this case though.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help