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

dt-bindings: Add documentation for GV11B GPU

The GV11B's device tree bindings are the same as for GP10B, though the
GPU is not completely compatible, so all that is needed is a different
compatible string.

Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

+25
+25
Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt
··· 6 6 - nvidia,gk20a 7 7 - nvidia,gm20b 8 8 - nvidia,gp10b 9 + - nvidia,gv11b 9 10 - reg: Physical base address and length of the controller's registers. 10 11 Must contain two entries: 11 12 - first entry for bar0 ··· 26 25 If the compatible string is "nvidia,gm20b", then the following clock 27 26 is also required: 28 27 - ref 28 + If the compatible string is "nvidia,gv11b", then the following clock is also 29 + required: 30 + - fuse 29 31 - resets: Must contain an entry for each entry in reset-names. 30 32 See ../reset/reset.txt for details. 31 33 - reset-names: Must include the following entries: ··· 91 87 reset-names = "gpu"; 92 88 power-domains = <&bpmp TEGRA186_POWER_DOMAIN_GPU>; 93 89 iommus = <&smmu TEGRA186_SID_GPU>; 90 + }; 91 + 92 + Example for GV11B: 93 + 94 + gpu@17000000 { 95 + compatible = "nvidia,gv11b"; 96 + reg = <0x17000000 0x10000000>, 97 + <0x18000000 0x10000000>; 98 + interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, 99 + <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; 100 + interrupt-names = "stall", "nonstall"; 101 + clocks = <&bpmp TEGRA194_CLK_GPCCLK>, 102 + <&bpmp TEGRA194_CLK_GPU_PWR>, 103 + <&bpmp TEGRA194_CLK_FUSE>; 104 + clock-names = "gpu", "pwr", "fuse"; 105 + resets = <&bpmp TEGRA194_RESET_GPU>; 106 + reset-names = "gpu"; 107 + dma-coherent; 108 + 109 + power-domains = <&bpmp TEGRA194_POWER_DOMAIN_GPU>; 110 + iommus = <&smmu TEGRA194_SID_GPU>; 94 111 };