Thierry Reding <thierry.reding@xxxxxxxxx> wrote @ Wed, 26 Jun 2013 12:18:17 +0200: > > diff --git a/Documentation/devicetree/bindings/iommu/nvidia,tegra30-smmu.txt b/Documentation/devicetree/bindings/iommu/nvidia,tegra30-smmu.txt > [...] > > @@ -23,3 +24,13 @@ Example: > > nvidia,swgroups = <0x00000000 0x000779ff>; > > nvidia,ahb = <&ahb>; > > }; > > + > > + host1x { > > + compatible = "nvidia,tegra30-host1x", "simple-bus"; > > + nvidia,memory-clients = <SWGID_HC>; > > And this could use the SWGID(HC) to match up with how GPIOs are > referenced in the DTS files. Though I see that the clocks don't use a > parameterized version either, so things are inconsistent anyway. But if > SWGID() isn't used then maybe it shouldn't be provided by the header > file in the first place. I think that the above SWGID_* is still easier to understand which swgroup a device belongs to rather than raw number intuitively. > Oh, one other thing: both GPIO and CAR use the TEGRA_ prefix, perhaps > this should use it as well? Sounds quite reasonable to me. -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html