-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'tegra-for-3.19-dt' of git://git.kernel.org/pub/scm/linux/k…
…ernel/git/tegra/linux into next/dt2 Pull "ARM: tegra: Device tree changes for v3.19" from Thierry Reding: The bulk of these changes add memory controller nodes for Tegra30, Tegra114 and Tegra124. The memory controller implements an IOMMU that the display controllers are attached to. This allows them to scan out physically non-contiguous framebuffers and removes one of the primary users of CMA. The only other change adds a new MIPI pad control bank to the pin controller on Tegra124. The corresponding driver patch for this went into v3.18 as: 3ccc11f pinctrl: tegra: Add MIPI pad control * tag 'tegra-for-3.19-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux: ARM: tegra: Enable IOMMU for display controllers on Tegra124 ARM: tegra: Enable IOMMU for display controllers on Tegra114 ARM: tegra: Enable IOMMU for display controllers on Tegra30 ARM: tegra: Add memory controller support for Tegra124 ARM: tegra: Add memory controller support for Tegra114 ARM: tegra: Add memory controller support for Tegra30 ARM: tegra: Add APB_MISC_GP as a MIPI pad control bank These additional commits are merged as dependencies: 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>
- Loading branch information
Showing
48 changed files
with
4,232 additions
and
1,551 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
Documentation/devicetree/bindings/memory-controllers/nvidia,tegra-mc.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
NVIDIA Tegra Memory Controller device tree bindings | ||
=================================================== | ||
|
||
Required properties: | ||
- compatible: Should be "nvidia,tegra<chip>-mc" | ||
- reg: Physical base address and length of the controller's registers. | ||
- clocks: Must contain an entry for each entry in clock-names. | ||
See ../clocks/clock-bindings.txt for details. | ||
- clock-names: Must include the following entries: | ||
- mc: the module's clock input | ||
- interrupts: The interrupt outputs from the controller. | ||
- #iommu-cells: Should be 1. The single cell of the IOMMU specifier defines | ||
the SWGROUP of the master. | ||
|
||
This device implements an IOMMU that complies with the generic IOMMU binding. | ||
See ../iommu/iommu.txt for details. | ||
|
||
Example: | ||
-------- | ||
|
||
mc: memory-controller@0,70019000 { | ||
compatible = "nvidia,tegra124-mc"; | ||
reg = <0x0 0x70019000 0x0 0x1000>; | ||
clocks = <&tegra_car TEGRA124_CLK_MC>; | ||
clock-names = "mc"; | ||
|
||
interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>; | ||
|
||
#iommu-cells = <1>; | ||
}; | ||
|
||
sdhci@0,700b0000 { | ||
compatible = "nvidia,tegra124-sdhci"; | ||
... | ||
iommus = <&mc TEGRA_SWGROUP_SDMMC1A>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1259,9 +1259,6 @@ source "arch/arm/common/Kconfig" | |
|
||
menu "Bus support" | ||
|
||
config ARM_AMBA | ||
bool | ||
|
||
config ISA | ||
bool | ||
help | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -166,9 +166,6 @@ endmenu | |
|
||
menu "Bus support" | ||
|
||
config ARM_AMBA | ||
bool | ||
|
||
config PCI | ||
bool "PCI support" | ||
help | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
menu "Device Drivers" | ||
|
||
source "drivers/amba/Kconfig" | ||
|
||
source "drivers/base/Kconfig" | ||
|
||
source "drivers/bus/Kconfig" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
config ARM_AMBA | ||
bool | ||
|
||
if ARM_AMBA | ||
|
||
config TEGRA_AHB | ||
bool "Enable AHB driver for NVIDIA Tegra SoCs" | ||
default y if ARCH_TEGRA | ||
help | ||
Adds AHB configuration functionality for NVIDIA Tegra SoCs, | ||
which controls AHB bus master arbitration and some performance | ||
parameters (priority, prefetch size). | ||
|
||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.