diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-12-04 11:20:02 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-12-04 11:20:02 -0500 |
commit | e58e501a9b3e0db722263b02d6c06f1656a5dee7 (patch) | |
tree | ba828148967f084f3301016d7215e0338cec1445 /Documentation/devicetree | |
parent | a8afa2645ccf3525409c749c1dc4ec1cf95ff3f5 (diff) | |
parent | 8918465163171322c77a19d5258a95f56d89d2e4 (diff) |
Merge tag 'tegra-for-3.19-iommu' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into next/drivers
Pull "ARM: tegra: IOMMU support for v3.19" from Thierry Reding:
This adds the driver pieces required for IOMMU support on Tegra30,
Tegra114 and Tegra124.
* tag 'tegra-for-3.19-iommu' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
memory: Add NVIDIA Tegra memory controller support
of: Add NVIDIA Tegra memory controller binding
ARM: tegra: Move AHB Kconfig to drivers/amba
amba: Add Kconfig file
clk: tegra: Implement memory-controller clock
powerpc/iommu: Rename iommu_[un]map_sg functions
iommu: Improve error handling when setting bus iommu
iommu: Do more input validation in iommu_map_sg()
iommu: Add iommu_map_sg() function
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/memory-controllers/nvidia,tegra-mc.txt | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra-mc.txt b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra-mc.txt new file mode 100644 index 000000000000..f3db93c85eea --- /dev/null +++ b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra-mc.txt | |||
@@ -0,0 +1,36 @@ | |||
1 | NVIDIA Tegra Memory Controller device tree bindings | ||
2 | =================================================== | ||
3 | |||
4 | Required properties: | ||
5 | - compatible: Should be "nvidia,tegra<chip>-mc" | ||
6 | - reg: Physical base address and length of the controller's registers. | ||
7 | - clocks: Must contain an entry for each entry in clock-names. | ||
8 | See ../clocks/clock-bindings.txt for details. | ||
9 | - clock-names: Must include the following entries: | ||
10 | - mc: the module's clock input | ||
11 | - interrupts: The interrupt outputs from the controller. | ||
12 | - #iommu-cells: Should be 1. The single cell of the IOMMU specifier defines | ||
13 | the SWGROUP of the master. | ||
14 | |||
15 | This device implements an IOMMU that complies with the generic IOMMU binding. | ||
16 | See ../iommu/iommu.txt for details. | ||
17 | |||
18 | Example: | ||
19 | -------- | ||
20 | |||
21 | mc: memory-controller@0,70019000 { | ||
22 | compatible = "nvidia,tegra124-mc"; | ||
23 | reg = <0x0 0x70019000 0x0 0x1000>; | ||
24 | clocks = <&tegra_car TEGRA124_CLK_MC>; | ||
25 | clock-names = "mc"; | ||
26 | |||
27 | interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>; | ||
28 | |||
29 | #iommu-cells = <1>; | ||
30 | }; | ||
31 | |||
32 | sdhci@0,700b0000 { | ||
33 | compatible = "nvidia,tegra124-sdhci"; | ||
34 | ... | ||
35 | iommus = <&mc TEGRA_SWGROUP_SDMMC1A>; | ||
36 | }; | ||