Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf594a89 authored by Alexandre Courbot's avatar Alexandre Courbot Committed by Thierry Reding
Browse files

dt-bindings: Add documentation for GP10B GPU



GP10B's definition is mostly similar to GK20A's and GM20B's. The only
noticeable difference is the use of power domains instead of a regulator
for power supply.

Signed-off-by: default avatarAlexandre Courbot <acourbot@nvidia.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 0e84ac6c
Loading
Loading
Loading
Loading
+24 −1
Original line number Original line Diff line number Diff line
@@ -5,6 +5,7 @@ Required properties:
  Currently recognized values:
  Currently recognized values:
  - nvidia,gk20a
  - nvidia,gk20a
  - nvidia,gm20b
  - nvidia,gm20b
  - nvidia,gp10b
- reg: Physical base address and length of the controller's registers.
- reg: Physical base address and length of the controller's registers.
  Must contain two entries:
  Must contain two entries:
  - first entry for bar0
  - first entry for bar0
@@ -14,7 +15,8 @@ Required properties:
- interrupt-names: Must include the following entries:
- interrupt-names: Must include the following entries:
  - stall
  - stall
  - nonstall
  - nonstall
- vdd-supply: regulator for supply voltage.
- vdd-supply: regulator for supply voltage. Only required for GPUs not using
  power domains.
- clocks: Must contain an entry for each entry in clock-names.
- clocks: Must contain an entry for each entry in clock-names.
  See ../clocks/clock-bindings.txt for details.
  See ../clocks/clock-bindings.txt for details.
- clock-names: Must include the following entries:
- clock-names: Must include the following entries:
@@ -27,6 +29,8 @@ is also required:
  See ../reset/reset.txt for details.
  See ../reset/reset.txt for details.
- reset-names: Must include the following entries:
- reset-names: Must include the following entries:
  - gpu
  - gpu
- power-domains: GPUs that make use of power domains can define this property
  instead of vdd-supply. Currently "nvidia,gp10b" makes use of this.


Optional properties:
Optional properties:
- iommus: A reference to the IOMMU. See ../iommu/iommu.txt for details.
- iommus: A reference to the IOMMU. See ../iommu/iommu.txt for details.
@@ -68,3 +72,22 @@ Example for GM20B:
		iommus = <&mc TEGRA_SWGROUP_GPU>;
		iommus = <&mc TEGRA_SWGROUP_GPU>;
		status = "disabled";
		status = "disabled";
	};
	};

Example for GP10B:

	gpu@17000000 {
		compatible = "nvidia,gp10b";
		reg = <0x0 0x17000000 0x0 0x1000000>,
		      <0x0 0x18000000 0x0 0x1000000>;
		interrupts = <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH
			      GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
		interrupt-names = "stall", "nonstall";
		clocks = <&bpmp TEGRA186_CLK_GPCCLK>,
			 <&bpmp TEGRA186_CLK_GPU>;
		clock-names = "gpu", "pwr";
		resets = <&bpmp TEGRA186_RESET_GPU>;
		reset-names = "gpu";
		power-domains = <&bpmp TEGRA186_POWER_DOMAIN_GPU>;
		iommus = <&smmu TEGRA186_SID_GPU>;
		status = "disabled";
	};