Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: memory: tegra: Document #reset-cells property of the Tegra30 MC

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>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Dmitry Osipenko and committed by
Thierry Reding
ca545e6c cce5819b

+5
+5
Documentation/devicetree/bindings/memory-controllers/nvidia,tegra30-mc.txt
··· 12 12 - clock-names: Must include the following entries: 13 13 - mc: the module's clock input 14 14 - interrupts: The interrupt outputs from the controller. 15 + - #reset-cells : Should be 1. This cell represents memory client module ID. 16 + The assignments may be found in header file <dt-bindings/memory/tegra30-mc.h> 17 + or in the TRM documentation. 15 18 16 19 Required properties for Tegra30, Tegra114, Tegra124, Tegra132 and Tegra210: 17 20 - #iommu-cells: Should be 1. The single cell of the IOMMU specifier defines ··· 75 72 interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>; 76 73 77 74 #iommu-cells = <1>; 75 + #reset-cells = <1>; 78 76 }; 79 77 80 78 sdhci@700b0000 { 81 79 compatible = "nvidia,tegra124-sdhci"; 82 80 ... 83 81 iommus = <&mc TEGRA_SWGROUP_SDMMC1A>; 82 + resets = <&mc TEGRA124_MC_RESET_SDMMC1>; 84 83 }; 85 84 }; 86 85