Message ID | 9efb02bebbb192696d2833eb78c920d774faa2f9.1523301400.git.digetx@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | Memory controller hot reset | expand |
On Mon, Apr 09, 2018 at 10:28:24PM +0300, Dmitry Osipenko wrote: > Memory Controller has a memory client "hot reset" functionality, which > resets the DMA interface of a memory client. So MC is a reset controller > in addition to IOMMU. > > Signed-off-by: Dmitry Osipenko <digetx@gmail.com> > Reviewed-by: Rob Herring <robh@kernel.org> > --- > .../devicetree/bindings/memory-controllers/nvidia,tegra30-mc.txt | 5 +++++ > 1 file changed, 5 insertions(+) Applied, thanks. Thierry
diff --git a/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra30-mc.txt b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra30-mc.txt index 14968b048cd3..a878b5908a4d 100644 --- a/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra30-mc.txt +++ b/Documentation/devicetree/bindings/memory-controllers/nvidia,tegra30-mc.txt @@ -12,6 +12,9 @@ Required properties: - clock-names: Must include the following entries: - mc: the module's clock input - interrupts: The interrupt outputs from the controller. +- #reset-cells : Should be 1. This cell represents memory client module ID. + The assignments may be found in header file <dt-bindings/memory/tegra30-mc.h> + or in the TRM documentation. Required properties for Tegra30, Tegra114, Tegra124, Tegra132 and Tegra210: - #iommu-cells: Should be 1. The single cell of the IOMMU specifier defines @@ -72,12 +75,14 @@ Example SoC include file: interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>; #iommu-cells = <1>; + #reset-cells = <1>; }; sdhci@700b0000 { compatible = "nvidia,tegra124-sdhci"; ... iommus = <&mc TEGRA_SWGROUP_SDMMC1A>; + resets = <&mc TEGRA124_MC_RESET_SDMMC1>; }; };