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

ARM: tegra: of: add GK20A device tree binding

Add the device tree binding documentation for the GK20A GPU used in
Tegra K1 SoCs.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>

authored by

Alexandre Courbot and committed by
Thierry Reding
2b372f56 49f2747b

+43
+43
Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt
··· 1 + NVIDIA GK20A Graphics Processing Unit 2 + 3 + Required properties: 4 + - compatible: "nvidia,<chip>-<gpu>" 5 + Currently recognized values: 6 + - nvidia,tegra124-gk20a 7 + - reg: Physical base address and length of the controller's registers. 8 + Must contain two entries: 9 + - first entry for bar0 10 + - second entry for bar1 11 + - interrupts: Must contain an entry for each entry in interrupt-names. 12 + See ../interrupt-controller/interrupts.txt for details. 13 + - interrupt-names: Must include the following entries: 14 + - stall 15 + - nonstall 16 + - vdd-supply: regulator for supply voltage. 17 + - clocks: Must contain an entry for each entry in clock-names. 18 + See ../clocks/clock-bindings.txt for details. 19 + - clock-names: Must include the following entries: 20 + - gpu 21 + - pwr 22 + - resets: Must contain an entry for each entry in reset-names. 23 + See ../reset/reset.txt for details. 24 + - reset-names: Must include the following entries: 25 + - gpu 26 + 27 + Example: 28 + 29 + gpu@0,57000000 { 30 + compatible = "nvidia,gk20a"; 31 + reg = <0x0 0x57000000 0x0 0x01000000>, 32 + <0x0 0x58000000 0x0 0x01000000>; 33 + interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>, 34 + <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>; 35 + interrupt-names = "stall", "nonstall"; 36 + vdd-supply = <&vdd_gpu>; 37 + clocks = <&tegra_car TEGRA124_CLK_GPU>, 38 + <&tegra_car TEGRA124_CLK_PLL_P_OUT5>; 39 + clock-names = "gpu", "pwr"; 40 + resets = <&tegra_car 184>; 41 + reset-names = "gpu"; 42 + status = "disabled"; 43 + };